Difference between revisions of "Tablet Hardware Buttons"
(→Linux Support) |
(→Linux Support) |
||
Line 42: | Line 42: | ||
|} | |} | ||
− | The utility setkeycodes can be used to map these scancodes to keycodes. Read {{ | + | The utility setkeycodes can be used to map these scancodes to keycodes. Read {{cmduser|man setkeycodes}} for usage. |
For example, the following command will map the page up and page down buttons to their respective keys: | For example, the following command will map the page up and page down buttons to their respective keys: | ||
Revision as of 11:07, 14 October 2005
Tablet Hardware ButtonsThe X41 Tablet 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). The X41 Tablet hardware buttons include1:
|
Linux Support
The hardware buttons (except power) are recognized by the standard atkbd kernel driver which emits the following scancodes:
Key | Scancode |
---|---|
Page up | 0x6D |
Page down | 0x6E |
Enter | 0x69 |
Esc | 0x6B |
Toolbox | 0x68 |
Rotate | 0x6C |
(Unlabeled) | 0x67 |
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
Models featuring this Device
- ThinkPad X41 Tablet
FOOTNOTES [Δ] |
- According to the IBM/Lenovo X41 Tablet website.