LFS system - customizing keyboard - what scan codes..?
Finally got a stable version out...
I'm trying to figure out how to figure out the scan codes for all the extra buttons that come on these pre-built computers.. 2-system I am playing with at the moment: IBM Thinkpad and Dell Inspiron. I have noticed that the Thinkpad and Inspiron both have specific keyboard support in Xorg6.8.1. Heres the questions: 1) I have extra buttons on my keyboards, how do I figure out what scan codes they send when pressed? 2) Once past that, is there a way to customize what they do when they are pressed. (I can also program so if that is the case, could you point me in the correct direction??) I am using something loosely near LFS-5.1.1, only a little closer to bleeding edge. |
If you open a shell and run xev it should tell you something about what key was pressed. Read man xev
I don't know how to make use of the information. Try reading man setkeycodes |
After also searching through LQ's forums for this problem. (and your help..) I came to this conclusion:
1) showkey fails to show my keycodes (only non-standard) 2) passing showkey -s revealed the following (touched up for easier reading): Code:
kb mode was XLATE 4) I am currently looking at this as a possile solution, further testing to come: http://hocwp.free.fr/xbindkeys/xbindkeys.html#download |
All times are GMT -5. The time now is 03:02 AM. |