Difference between revisions of "Component: Keypad (4x4) (Keypad)"
From Flowcode Help
Jump to navigationJump to search| Line 14: | Line 14: | ||
==Keypad component== | ==Keypad component== | ||
Preset keypad based around the 4 * 4 unit. | Preset keypad based around the 4 * 4 unit. | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
==Detailed description== | ==Detailed description== | ||
| Line 410: | Line 404: | ||
| colspan="2" | Set the colour for the default 'ASCII' text label on the key-cap. This setting will be ignored if a bitmap is set for the key label. | | colspan="2" | Set the colour for the default 'ASCII' text label on the key-cap. This setting will be ignored if a bitmap is set for the key label. | ||
|} | |} | ||
| + | |||
| + | ==Component Source Code== | ||
| + | |||
| + | Please click here to download the component source project: [https://www.flowcode.co.uk/wiki/componentsource/FC_Comp_Source_Keypad_4x4.fcfx FC_Comp_Source_Keypad_4x4.fcfx] | ||
| + | |||
| + | Please click here to view the component source code (Beta): [https://www.flowcode.co.uk/FlowchartView/?wfile=componentsource/FC_Comp_Source_Keypad_4x4.fcfx FC_Comp_Source_Keypad_4x4.fcfx] | ||
Latest revision as of 16:45, 25 June 2026
| Author | Matrix TSL |
| Version | 1.0 |
| Category | Keypad |
Contents
Keypad component
Preset keypad based around the 4 * 4 unit.
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Macro reference
GetAscii
| GetAscii | |
| Gets the ASCII value for the current keypress. If no key is pressed then the macro returns the value 255. | |
| Return | |
GetIndex
| GetIndex | |
| Gets the index value for the current keypress. If no key pressed then the macro returns the value 255. | |
| Return | |
GetNumber
| GetNumber | |
| Gets the numeric value for the current keypress. If no key pressed then the macro returns the value 255. | |
| Return | |
GetString
| GetString | |
| Gets the ASCII value for the current keypress and returns in the form of a string. If no key pressed then the macro returns the value 255. | |
| Return | |
WaitPressed
| WaitPressed | |
| Blocking call that waits for one of the keys on the keypad to be pressed. The index of the key that was pressed is passed back to the user. | |
| Return | |
WaitReleased
| WaitReleased | |
| Blocking call that waits for the keys on the keypad to be released. If no key is pressed then the function will return immediatley. | |
| Return | |
Property reference
Component Source Code
Please click here to download the component source project: FC_Comp_Source_Keypad_4x4.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_Keypad_4x4.fcfx