|
|
| Line 68: |
Line 68: |
| {| class="mtx-class-macrotable wikitable" | | {| class="mtx-class-macrotable wikitable" |
| |- | | |- |
| | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] |
| | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''GetAscii''' | | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''GetAscii''' |
| |- | | |- |
| Line 82: |
Line 82: |
| {| class="mtx-class-macrotable wikitable" | | {| class="mtx-class-macrotable wikitable" |
| |- | | |- |
| | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] |
| | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''GetIndex''' | | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''GetIndex''' |
| |- | | |- |
| Line 96: |
Line 96: |
| {| class="mtx-class-macrotable wikitable" | | {| class="mtx-class-macrotable wikitable" |
| |- | | |- |
| | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] |
| | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''GetNumber''' | | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''GetNumber''' |
| |- | | |- |
| Line 110: |
Line 110: |
| {| class="mtx-class-macrotable wikitable" | | {| class="mtx-class-macrotable wikitable" |
| |- | | |- |
| | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] |
| | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''GetString''' | | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''GetString''' |
| |- | | |- |
| Line 124: |
Line 124: |
| {| class="mtx-class-macrotable wikitable" | | {| class="mtx-class-macrotable wikitable" |
| |- | | |- |
| | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] |
| | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''WaitPressed''' | | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''WaitPressed''' |
| |- | | |- |
| Line 138: |
Line 138: |
| {| class="mtx-class-macrotable wikitable" | | {| class="mtx-class-macrotable wikitable" |
| |- | | |- |
| | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] |
| | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''WaitReleased''' | | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''WaitReleased''' |
| |- | | |- |
| Author
|
Matrix TSL
|
| Version
|
1.0
|
| Category
|
Keypad
|
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.
|
- BYTE
|
Return
|
GetIndex
|
GetIndex
|
| Gets the index value for the current keypress. If no key pressed then the macro returns the value 255.
|
- BYTE
|
Return
|
GetNumber
|
GetNumber
|
| Gets the numeric value for the current keypress. If no key pressed then the macro returns the value 255.
|
- BYTE
|
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.
|
- STRING
|
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.
|
- BYTE
|
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.
|
- VOID
|
Return
|
Property reference
|
Properties
|
|
Connections
|
|
Output Mode
|
|
|
|
Port
|
|
|
|
Appearance
|
|
Backplate Colour
|
|
|
|
Button 1
|
|
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.
|
|
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.
|
|
Button 2
|
|
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.
|
|
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.
|
|
Button 3
|
|
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.
|
|
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.
|
|
Button 4
|
|
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.
|
|
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.
|
|
Button 5
|
|
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.
|
|
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.
|
|
Button 6
|
|
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.
|
|
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.
|
|
Button 7
|
|
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.
|
|
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.
|
|
Button 8
|
|
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.
|
|
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.
|
|
Button 9
|
|
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.
|
|
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.
|
|
Button 10
|
|
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.
|
|
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.
|
|
Button 11
|
|
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.
|
|
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.
|
|
Button 12
|
|
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.
|
|
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.
|
|
Button 13
|
|
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.
|
|
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.
|
|
Button 14
|
|
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.
|
|
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.
|
|
Button 15
|
|
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.
|
|
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.
|
|
Button 16
|
|
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.
|
|
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.
|
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