Component: Keypad (4x4) (Keypad)

From Flowcode Help
Jump to navigationJump to search
Author Matrix TSL
Version 1.0
Category Keypad


Keypad component

Preset keypad based around the 4 * 4 unit.

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

Detailed description

No detailed description exists yet for this component

Examples

No additional examples







Macro reference

GetAscii

Fc9-comp-macro.png GetAscii
Gets the ASCII value for the current keypress. If no key is pressed then the macro returns the value 255. 
Fc9-u8-icon.png - BYTE Return


GetIndex

Fc9-comp-macro.png GetIndex
Gets the index value for the current keypress. If no key pressed then the macro returns the value 255. 
Fc9-u8-icon.png - BYTE Return


GetNumber

Fc9-comp-macro.png GetNumber
Gets the numeric value for the current keypress. If no key pressed then the macro returns the value 255. 
Fc9-u8-icon.png - BYTE Return


GetString

Fc9-comp-macro.png 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. 
Fc9-string-icon.png - STRING Return


WaitPressed

Fc9-comp-macro.png 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. 
Fc9-u8-icon.png - BYTE Return


WaitReleased

Fc9-comp-macro.png 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. 
Fc9-void-icon.png - VOID Return


Property reference

Fc9-prop-icon.png Properties
Fc9-conn-icon.png Connections
Fc9-type-16-icon.png Output Mode
 
Fc9-type-19-icon.png Port
 
Fc9-conn-icon.png Appearance
Fc9-type-1-icon.png Backplate Colour
 
Fc9-conn-icon.png Button 1
Fc9-type-1-icon.png Key colour
Set the colour of the key body here. This is applied to all objects making up a key, including the background colour of any text labels. 
Fc9-type-1-icon.png Label colour
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. 
Fc9-conn-icon.png Button 2
Fc9-type-1-icon.png Key colour
Set the colour of the key body here. This is applied to all objects making up a key, including the background colour of any text labels. 
Fc9-type-1-icon.png Label colour
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. 
Fc9-conn-icon.png Button 3
Fc9-type-1-icon.png Key colour
Set the colour of the key body here. This is applied to all objects making up a key, including the background colour of any text labels. 
Fc9-type-1-icon.png Label colour
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. 
Fc9-conn-icon.png Button 4
Fc9-type-1-icon.png Key colour
Set the colour of the key body here. This is applied to all objects making up a key, including the background colour of any text labels. 
Fc9-type-1-icon.png Label colour
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. 
Fc9-conn-icon.png Button 5
Fc9-type-1-icon.png Key colour
Set the colour of the key body here. This is applied to all objects making up a key, including the background colour of any text labels. 
Fc9-type-1-icon.png Label colour
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. 
Fc9-conn-icon.png Button 6
Fc9-type-1-icon.png Key colour
Set the colour of the key body here. This is applied to all objects making up a key, including the background colour of any text labels. 
Fc9-type-2-icon.png Label colour
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. 
Fc9-conn-icon.png Button 7
Fc9-type-1-icon.png Key colour
Set the colour of the key body here. This is applied to all objects making up a key, including the background colour of any text labels. 
Fc9-type-1-icon.png Label colour
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. 
Fc9-conn-icon.png Button 8
Fc9-type-1-icon.png Key colour
Set the colour of the key body here. This is applied to all objects making up a key, including the background colour of any text labels. 
Fc9-type-2-icon.png Label colour
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. 
Fc9-conn-icon.png Button 9
Fc9-type-1-icon.png Key colour
Set the colour of the key body here. This is applied to all objects making up a key, including the background colour of any text labels. 
Fc9-type-1-icon.png Label colour
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. 
Fc9-conn-icon.png Button 10
Fc9-type-1-icon.png Key colour
Set the colour of the key body here. This is applied to all objects making up a key, including the background colour of any text labels. 
Fc9-type-1-icon.png Label colour
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. 
Fc9-conn-icon.png Button 11
Fc9-type-1-icon.png Key colour
Set the colour of the key body here. This is applied to all objects making up a key, including the background colour of any text labels. 
Fc9-type-1-icon.png Label colour
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. 
Fc9-conn-icon.png Button 12
Fc9-type-1-icon.png Key colour
Set the colour of the key body here. This is applied to all objects making up a key, including the background colour of any text labels. 
Fc9-type-1-icon.png Label colour
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. 
Fc9-conn-icon.png Button 13
Fc9-type-1-icon.png Key colour
Set the colour of the key body here. This is applied to all objects making up a key, including the background colour of any text labels. 
Fc9-type-1-icon.png Label colour
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. 
Fc9-conn-icon.png Button 14
Fc9-type-1-icon.png Key colour
Set the colour of the key body here. This is applied to all objects making up a key, including the background colour of any text labels. 
Fc9-type-1-icon.png Label colour
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. 
Fc9-conn-icon.png Button 15
Fc9-type-1-icon.png Key colour
Set the colour of the key body here. This is applied to all objects making up a key, including the background colour of any text labels. 
Fc9-type-1-icon.png Label colour
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. 
Fc9-conn-icon.png Button 16
Fc9-type-1-icon.png Key colour
Set the colour of the key body here. This is applied to all objects making up a key, including the background colour of any text labels. 
Fc9-type-1-icon.png Label colour
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.