Is there a way to read keyboard status without stopping to wait for keypress? Something similar to INKEY$ function in Basic?
Especially, I would need to read the status of Shift / Ctrl / Alt keys (on Mouse double-click event macro).
I tried the following:
#100 = 0x0200
Sys_Int(0x16)
if (#100 & 4) { // Ctrl key pressed
...
but it generates an error "INVALID COMMAND: Sys_Int(0x16)".
I guess Sys_Int does not work in Windows (XP)? Anyway, there is not mention of this in the documentation.
--
Pauli