Win32-KeyState is a project mainly written in ..., it's free.
Get the status of "virtual" keys in your Perl program
Win32::KeyStates was created out of curiousity. I was curious how one would go about polling the state of the "sticky" keys: CapsLock, NumLock, and ScrollLock. This module is the result of that curiosity.
Microsoft has defined a set of "virtual" keys that can be polled. This modules allows you to do that.
INSTALLATION
To install this module type the following:
perl Makefile.PL make make test make install
DEPENDENCIES
This module requires these other modules and libraries:
Win32::API 0.41
COPYRIGHT AND LICENCE
Put the correct copyright and licence information here.
Copyright (C) 2003 Matthew S. Musgrove
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.