Change/Customize Tablet Keys

Asked by Alcasa MZ


as the Tablet Keys on the X220 are swapped, I would like to change the default key mapped to rotation. Is this somehow possible? Thanks in advance.

Question information

English Edit question
Magick Rotation Edit question
No assignee Edit question
Solved by:
Last query:
Last reply:
Revision history for this message
Best Favux (favux-is) said :

Don't know for sure.

I guess I would look at lenovo-thinkpad_x200_tablet in /lib/udev/keymaps and see if swapping the key assignments does the trick. So instead of 'direction' assigned to 0x6c move it to the key code you want. I'm assuming the X220t is also using lenovo-thinkpad_x200_tablet.

Appendix 2 on the Rotation HOW TO has a little information on doing that if you don't find anything on See:

Revision history for this message
Alcasa MZ (alcasa-mz) said :

Thanks Favux, that solved my question.

Revision history for this message
Alcasa MZ (alcasa-mz) said :

It seems that the mapping for direction and cyclewindows had to be swapped on the X220. Just for information for others.