cursor key mapping

If it doesn't fit in another category, ask it here.
Post Reply
Talonted
Posts: 1
Joined: 2012/03/16 18:01:18

cursor key mapping

Post by Talonted » 2012/03/16 18:18:52

I recently successfully created a keymap for remapping regular, shift, and control function keys. I tried to create a keymap for cursor keys but when I load it receive the message "19: 'Up' is not a funciton key symbol." I'm not sure what I'm doing wrong, but here is my keymap:

# Keymap for command keys
#
strings as usual
# keycodes
keycode 103 = Up
keycode 105 = Left
keycode 106 = Right
keycode 108 = Down
keycode 110 = Insert
keycode 102 = Home
keycode 104 = PageUp
keycode 111 = Remove
keycode 107 = End
keycode 109 = PageDown
# symbols
string Up = "\002[1~"
string Left = "\002[2~"
string Right = "\002[3~"
string Down = "\002[4~"
string Home = "\002[5~"
string End = "\002[6~"
string Insert = "\002[7~"
string Remove = "\002[8~"
string PageUp = "\002[9~"
string PageDown = "\002[A~"

Any suggestions?

Post Reply