Change/Customize Tablet Keys

Asked by Alcasa MZ

Hello,

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

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

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 thinkwiki.org. See:
http://forums.linuxmint.com/viewtopic.php?f=42&t=110395
http://ubuntuforums.org/showthread.php?t=996830

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

Thanks Favux, that solved my question.

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

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