Change dota key mapping
This is how to change dota key mapping , for accessing inventory faster.
F2 = keypad 2
etc.
xmodmap -e "keycode 0x43 = KP_1"
xmodmap -e "keycode 0x44 = KP_2"
xmodmap -e "keycode 0x45 = KP_4"
xmodmap -e "keycode 0x46 = KP_5"
xmodmap -e "keycode 0x47 = KP_7"
xmodmap -e "keycode 0x48 = KP_8"
#key 1 and 2 only:
xmodmap -e "keycode 0x0A = KP_1 exclam KP_1 exclam"
xmodmap -e "keycode 0x0B = KP_2 at KP_2 at"
Use xkeycaps to help determine keys
F1 = keypad 1
F2 = keypad 2
etc.
xmodmap -e "keycode 0x43 = KP_1"
xmodmap -e "keycode 0x44 = KP_2"
xmodmap -e "keycode 0x45 = KP_4"
xmodmap -e "keycode 0x46 = KP_5"
xmodmap -e "keycode 0x47 = KP_7"
xmodmap -e "keycode 0x48 = KP_8"
#key 1 and 2 only:
xmodmap -e "keycode 0x0A = KP_1 exclam KP_1 exclam"
xmodmap -e "keycode 0x0B = KP_2 at KP_2 at"
Comments