LAST MODIFIED DATE: November 16, 2006
VERSION: This applies to Exceed version 9.0+
PROBLEM:
You would like to modify an Exceed keyboard file to send a different keycode when a key is pressed. For example, currently, when keypad number 4 is pressed, it will send out keycode 82 and keysym 0xff51. You would like to send keycode 99 and keysym 0xff51 when keypad number 4 is pressed.
SOLUTION:
To find out the current keycode for keypad number 4, you can launch an xterm from any host and run "xmodmap -pk" from this xterm. In the result, find the keycode assigned to 0xff51 which is 82 in this case.
Make a copy of the current keyboard file, eg test.kbf and edit it in notepad. Move the line "4B=R FF51@Left FFB4@KP_4 0@NoSymbol 0@NoSymbol" down below the entry 147 (that skips 99-82=17 entries), then save test.kbf.
Now when you open an xterm with the new test.kbf file and run "xmodmap -pk" again, the keycode for FF51/KP_4 has changed from 82 to 99.


Print View
Contact Me