Difference between revisions of "Tablet Hardware Buttons"
(+link to X61 "what button is that?" resource.) |
(+See also section. +link "How to get special keys to work".) |
||
Line 70: | Line 70: | ||
==Models featuring this Device== | ==Models featuring this Device== | ||
* {{X41_Tablet}}, {{X60t}}, {{X61_Tablet}}, {{X200_Tablet}} | * {{X41_Tablet}}, {{X60t}}, {{X61_Tablet}}, {{X200_Tablet}} | ||
+ | |||
+ | ==See also== | ||
+ | *[[How to get special keys to work]] | ||
[[Category:Components]] | [[Category:Components]] |
Revision as of 07:16, 15 December 2008
ContentsTablet Hardware ButtonsThe Thinkpad tablets includes hardware buttons located on the LCD screen bezel. They are designed to be used when the ThinkPad is converted to the tablet configuration (though they are still accessible when in the laptop configuration). |
Buttons
The X41 Tablet hardware buttons include:
- Power (with sliding lock)
- Cltr-Alt-Del [sic]
- Page up
- Page down
- Enter
- Escape
- Screen Rotation
- Tablet shortcut menu
X61 Tablet: picture from here.
X200 Tablet: see below.
Linux Support
The hardware buttons (except power) are recognized by the standard atkbd kernel driver which emits the following scancodes:
Key | X41 Scancode | X60 Tablet Scancode | X61 Tablet Scancode | X200 Tablet Scancode |
---|---|---|---|---|
Page up | 0x6D | NA | NA | NA |
Page down | 0x6E | NA | NA | NA |
Enter | 0x69 | 0x69 | 0x69 | NA |
Esc | 0x6B | 0x6B | 0x6b | NA |
Toolbox | 0x68 | 0x68 | 0x68 | 0x66 |
Rotate | 0x6C | 0x6c | 0x6c | 0x6b |
(Unlabeled) | 0x67 | NA | 0x67 | 0xe0 0x12 |
Right | NA | 0x6D | 0x6d | NA |
Left | NA | 0x6E | 0x6e | NA |
Up | NA | 0x71 | 0x71 | NA |
Down | NA | 0x6F | 0x6f | NA |
Notes:
- X200 Tablet
- Layout: power (with sliding lock); clockwise-arrow (formerly unlabeled); rotate (two boxes and an arrow); Toolbox (the icon is now a menu); padlock.
- The padlock button seems to do nothing. It generates no scancode, and has no effect on the other buttons.
- The clockwise-arrow button returns a scancode pair. So you say
$ setkeycodes e012 whatever
.
The utility setkeycodes can be used to map these scancodes to keycodes. Read $ man setkeycodes
for usage.
For example, the following command will map the page up and page down buttons to their respective keys:
# setkeycodes 6e 109 6d 104