Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^2: Keys beside keys on keyboards

by Smaug (Pilgrim)
on Nov 06, 2006 at 14:25 UTC ( [id://582438] : note . print w/replies, xml ) Need Help??


in reply to Re: Keys beside keys on keyboards
in thread Keys beside keys on keyboards

Hi wjw,

I had thought of that, and also wondered if perhaps the hex was sequential in which case it would be as easy as adding 1 or subtracting 1 to get the keys on either side. Granted the diagonal keys are still a problem.....

Update:
I went on to check my xmodmap file and found the following:

keycode 54 = c C 0xbd 0xbc keycode 55 = v V 0xc9 0xc8 keycode 56 = b B 0xf9 0xf8 keycode 57 = n N 0xcb 0xca keycode 58 = m M 0xdf 0xde keycode 59 = comma less 0xab 0xa7 keycode 60 = period greater 0xa9 0xa6 keycode 61 = slash question 0xb1 0xa1
The "keycode" is in the exact order of the keys on my keyboard and but the only other ordering I can see is the upper and lower cases being offset by 1.

Replies are listed 'Best First'.
Re^3: Keys beside keys on keyboards
by Anonymous Monk on Nov 07, 2006 at 09:15 UTC
    On my keyboard, the backquote/tilde key is next to the one/exclaimation mark key. The former has keycode 49, the latter keycode 10. On the other hand, keycode 51 is the backslash/pipe key, the key on the right end of the second row. Keycode 52 is the z key, which is the second key from the left on the fourth row.