
128
RabbitCore RCM3209/RCM3229
keyConfig
void keyConfig(char cRaw, char cPress, char cRelease,
char cCntHold, char cSpdLo, char cCntLo, char cSpdHi);
DESCRIPTION
Assigns each key with keypress and release codes, and hold and repeat ticks for auto
repeat and debouncing.
PARAMETERS
cRaw
a raw key code index.
1 × 7 keypad matrix with raw key code index assignments (in brackets):
User Keypad Interface
cPress
a keypress code
An 8-bit value is returned when a key is pressed.
0 = Unused.
See
keypadDef()
for default press codes.
cRelease
a key release code.
An 8-bit value is returned when a key is pressed.
0 = Unused.
cCntHold
a hold tick, which is approximately one debounce period or 5 µs.
How long to hold before repeating.
0 = No Repeat.
cSpdLo
a low-speed repeat tick, which is approximately one debounce
period or 5 µs.
How many times to repeat.
0 = None.
cCntLo
a low-speed hold tick, which is approximately one debounce period
or 5 µs.
How long to hold before going to high-speed repeat.
0 = Slow Only.
cSpdHi
a high-speed repeat tick, which is approximately one debounce
period or 5 µs.
How many times to repeat after low speed repeat.
0 = None.
[0]
[1]
[2]
[3]
[4]
[5]
[6]
Summary of Contents for RabbitCore RCM3209
Page 1: ...RabbitCore RCM3209 RCM3229 C Programmable Module with Ethernet User s Manual 019 0165 080528 D...
Page 6: ...RabbitCore RCM3209 RCM3229...
Page 20: ...14 RabbitCore RCM3209 RCM3229...
Page 58: ...52 RabbitCore RCM3209 RCM3229...
Page 84: ...78 RabbitCore RCM3200...
Page 135: ...User s Manual 129 keyConfig continued RETURN VALUE None SEE ALSO keyProcess keyGet keypadDef...
Page 140: ...134 RabbitCore RCM3209 RCM3229...
Page 144: ...138 RabbitCore RCM3209 RCM3229...
Page 158: ...152 RabbitCore RCM3209 RCM3229...
Page 160: ......