RosettaCodeData/Task/Keyboard-input-Keypress-check/AutoHotkey/keyboard-input-keypress-check-3.ahk
2023-07-01 13:44:08 -04:00

2 lines
131 B
AutoHotkey

; KeyIsDown := GetKeyState("KeyName" [, "Mode"])
State := GetKeyState("RButton", "P") ; Right mouse button. P = Physical state.