This function gets the simultaneous pressing status of multiple keys.

Syntax

int IsMultiplekeyPressed(
  char key1, 
  char key2, 
  char key3
);

Parameters

key1
[in] Specify the key.
ValueDescription
0 Do not specify the key.
Key Specify the key.
key2
[in] Specify the key.
ValueDescription
0 Do not specify the key.
Key Specify the key.
key3
[in] Specify the key.
ValueDescription
0 Do not specify the key.
Key Specify the key.

Return value

Returns the simultaneous press status of the specified multiple keys.
ValueDescription
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:
ValueDescription
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.h
Library file:
libSTARTUPOPH5000.a

Last updated: 2021/06/30