How do Thinkpad tablet buttons rotate the screen?

asked 2015-03-08 09:01:51 -0600

Squilliam gravatar image

On my Lenovo X220T, there is a button on the LCD bezel with two boxes and an arrow that rotates the screen anti-clockwise out of the box in Fedora. However, I can't seem to find how and where this key is mapped to its respective action. Using "showkey" in the terminal, I can see that this button maps to scancode 0x6b and keycode 153 on press and scancode 0xeb and keycode 153 on release. However, this keycode maps to XF86Send which is obviously not right.

Thus, my question is, how does this button rotates the screen?

edit retag flag offensive close merge delete