![]() |
|
Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re: Remapping Keyboard on Win32by gryphon (Abbot) |
on Mar 24, 2006 at 17:22 UTC ( #539067=note: print w/replies, xml ) | Need Help?? |
Greetings all,
The bad news is that I haven't been able to solve this problem yet. The good news is that my wrist is healing much faster than expected, and I'm now in a smaller splint that frees up my right hand for typing. So I'm abandoning this effort; however, just in case someone else wants to work on this in the future, here's the code I ended up with:
I primarily used this codefetch.com example along with Win32::API. Although I'm not seeing any errors, I don't think I'm getting the keyboard hook set correctly because $n never increments no matter how many keys I hit while the script runs. The $get_key_state call works just fine, but I can't seem get $callback to get called on keypress. Oh well. gryphon
In Section
Seekers of Perl Wisdom
|
|