So I've got a USB keypad that has ( , ) and = keys on it. In Word/Notepad they type exactly that - however, in another piece of software I use, if I try and set them as shortcuts, all three register as Alt+NUM 0.
They seem to work by simulating holding Alt and typing in the ASCII code - so '(' is ALT+4+0 (which is 18 + 100 + 96) - but they register the keys really strangely. I wrote a script to print out what's happening, and it shows this for '(':
So 18 (Alt) is never registered as being pressed.
I've managed to script as far as recognising when the sequence has happened (96 + 100 + 96, then 18 being released), but because it's only registering the release of the last key, I can't map what that combination presses - and if I just remap the presses, I get Alt being released at the end, which opens the menu bar.
Is there any way to make this work?
Thanks in advance!
2 posts • Page 1 of 1