Login Page - Create Account

Support Board


Date/Time: Thu, 28 Nov 2024 13:52:28 +0000



Post From: Can I detect arrows are pressed with ACSIL

[2023-05-01 16:03:44]
JohnR - User831573 - Posts: 306
Tony,

ACSIL Interface Members - Variables and Arrays: sc.KeyboardKeyEventCode

sc.KeyboardKeyEventCode

Type: Read integer variable.

The sc.KeyboardKeyEventCode variable is set to the standard Windows virtual key code when there is a keyboard keypress event and the study has requested these events by setting sc.ReceiveKeyboardKeyEvents.

Also refer to sc.SupportKeyboardModifierStates and sc.CharacterEventCode.

Hope this helps,
JohnR