Keypad
A grid of buttons that can be used in a group.
Properties
A Keypad works similarly to a grid of Buttons, its properties are all multi-dimensional tables that correspond to each button in the Keypad. The tables should be addressed with [column][row].
ButtonsState {{boolean}} read only
A multi-dimensional table mapping the state of each button to a boolean value.
Returnstrueif the corresponding button is currently pressed,falseotherwise.
ButtonsDown {{boolean}} read only
A multi-dimensional table mapping boolean flags which will be true only in the time tick the corresponding button changes its state to pressed.
ButtonsUp {{boolean}} read only
A multi-dimensional table mapping boolean flags which will be true only in the time tick the corresponding button changes its state to released.
ButtonsInputSource {{InputSource}}
A multi-dimensional table mapping InputSources to each of the buttons in the Keypad.
Events
KeypadButtonEvent : { X number, Y number, ButtonDown boolean, ButtonUp boolean, Type string }
Triggered when a button is pressed or released.
*Xis the column of the button that triggered the event.
*Yis the row of the button that triggered the event.
*ButtonDownistrueif the button was just pressed.
*ButtonUpistrueis the button was just released.
*Typeis"KeypadButtonEvent".
In the Multitool
You can select different symbols to be printed on each one of the buttons of the keypad in the bottom screen of your Multitool.
Examples
See the Sound Board cookbook example for an example on how to play samples with keypad input.