Difference between revisions of "Tablet Hardware Buttons"

From ThinkWiki
Jump to: navigation, search
(Tablet Hardware Buttons)
(Linux Support)
Line 42: Line 42:
 
|}
 
|}
  
The utility setkeycodes(8) can be used to map these scancodes to keycodes. For example, the following command will map the page up and page down buttons to their respective keys:
+
The utility setkeycodes can be used to map these scancodes to keycodes. Read {{cmd|man setkeycodes}} for usage.
 +
For example, the following command will map the page up and page down buttons to their respective keys:
  
 
{{cmdroot|setkeycodes 6e 109 6d 104}}
 
{{cmdroot|setkeycodes 6e 109 6d 104}}

Revision as of 12:12, 30 August 2005

Tablet Hardware Buttons

The 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:

  • Power (with sliding lock)
  • Cltr-Alt-Del [sic]
  • Page up
  • Page down,
  • Enter
  • Escape
  • Screen Rotation
  • Tablet shortcut menu

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 {{{2}}} 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


FOOTNOTES [Δ]
  1. According to the IBM/Lenovo X41 Tablet website.