Back to index

The keyboard lets you easily accept number or string input from users.



Keyboard:SetColor( color1, color2 )

Changes the keyboard's colors.

color1 is the main color of the keyboard. 0 = blue, 1 = red, 2 = green.
color2 is the color of a key when it is pressed. 0 = blue, 1 = red, 2 = green.





Keyboard:CheckKeyboard()

Returns the letter that is being currently pressed on the keyboard.





Keyboard:ScrollXY( x, y )

Positions the keyboard.

x, y are the coordinates you want the top-left pixel of the keyboard to be at.





Keyboard:In( x, y )

Scrolls in the keyboard from the bottom of the screen.

x, y is the coordinates of the top-left pixel of the keyboard that you want to scroll to (from the bottom of the screen.)





Keyboard:Out()

Scrolls the keyboard off the screen towards the bottom.


Back to index