Syntax
int IsMultiplekeyPressed(
char key1,
char key2,
char key3
);
Parameters
- key1
-
[in] Specify the key.
Value Description 0 Do not specify the key. Key Specify the key.
- key2
-
[in] Specify the key.
Value Description 0 Do not specify the key. Key Specify the key.
- key3
-
[in] Specify the key.
Value Description 0 Do not specify the key. Key Specify the key.
Return value
Returns the simultaneous press status of the specified multiple keys.
| Value | Description |
|---|---|
| TRUE | All the specified keys are pressed at the same time. |
| FALSE | All the specified keys are not pressed at the same time. |
Remarks
Key:| Value | Description |
|---|---|
| NUM0_KEY | [0] key |
| NUM1_KEY | [1] key |
| NUM2_KEY | [2] key |
| NUM3_KEY | [3] key |
| NUM4_KEY | [4] key |
| NUM5_KEY | [5] key |
| NUM6_KEY | [6] key |
| NUM7_KEY | [7] key |
| NUM8_KEY | [8] key |
| NUM9_KEY | [9] key |
| TRIGGER_KEY SCAN_KEY |
[SCAN] key |
| Q1_KEY | [Q1] key |
| Q2_KEY | [Q2] key |
| BS_KEY | [BS] key |
| CLR_KEY | [CLEAR] key |
| ENT_KEY | [ENT] key |
| SHIFT_KEY | [SHIFT] key |
| DOT_KEY | [.] key |
| F1_KEY | [F1] Key |
| F2_KEY | [F2] Key |
| F3_KEY | [F3] Key |
Requirements
Header file:
lib.hLibrary file:
libSTARTUPOPH5000.a
Last updated: 2021/06/30