Here is what I have so far and all it gives me are zeros:
Where am I missing the boat?$pressed = <STDIN>; $Key = Win32::API ("user32", "GetAsyncKeyState", [P], "N"); $key = $Key->Call($pressed); print "$key";
Edited by dws to add <code> tags
In reply to GetAsyncKeyState API Question by alkaloid
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |