Hi all I'm writing a kernel module, and a particular function I'm using takes keycodes and shiftstate as parameters. First of all, is there a list of keycodes I can use? I used showkey to get most of the common ones - but is this reliable on all systems? Next, there is an integer representing the shiftstate, which indicates whether control, alt, shift, or any combination of these was pressed. Can anyone point me to something to indicate which bits represent what? The comments above the function prototype said to look at loadkeys and dumpeys manpages, but I didn't find anything there. Thanks, Saqib -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/