When you want to accept content from the user, you instantiate and interact with wiiKeyboard. Utilizing its method, you can specify layouts and options for input that best fit your content.
var keyboard =newwiiKeyboard();
Note that wiiKeyboard will only function on pages loading over HTTPS. You will need to modify the Wii Shop Channel to load your content. Opera (and IOS via EC) only has SSLv3/TLS 1.0 available, so additional modifications to various trust levels may be necessary.
Members
Unlike other objects, wiiKeyboard only exposes one member. Its usefulness is instead via its parameters variants.
Invokes a keyboard of type with a limit of the amount of rows available for typing.
An example of a row limit when invoked as keyboard.call(1, 1). As the text (highlighted red to designate the error) exceeds the first row, it is deleted upon entry.
keyboard.call(type, rowLimit, isPassword)
Instantiates a keyboard of type with rowLimit and whether the entered text isPassword. If true, entered text becomes asterisks after entry or space bar, as pictured beneath.
An example ofkeyboard.call(1, 3, true). Note that "text", highlighted red, has not yet converted to asterisks.
keyboard.call(type, rowLimit, isPassword, hint)
Instantiates a keyboard of type with rowLimit, whether the entered text isPassword, and a background text of hint.
An example ofkeyboard.call(1, 3, false, 'Text Hint').
Keyboard Types
There are 11 variants of keyboards available. For all examples, the used code to invoke was similar to the following: