Reading Keyboard Scan Codes

Gabriel Cooper gabriel.cooper at mediapulse.com
Wed Jul 23 17:02:56 EDT 2003


Michael Bendzick wrote:

>Is there a simple way in python to read a keyboard scan code?  I'm
>working on a shell script that interfaces with a proprietary keyboard
>device (extra buttons) and need to be able to distinguish between
>those keys.
>
>Thank you
>
(In theory) the extra buttons shouldn't be any different than reading 
any other
keyboard input. Simply find out what value is being sent by the keyboard
when you hit those keys and program around those values.






More information about the Python-list mailing list