Tablet Hardware Buttons

From ThinkWiki
Revision as of 18:33, 28 July 2010 by Direstraits (Talk | contribs) (added x201 to device list)

Jump to: navigation, search

Tablet Hardware Buttons

The 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 X201 Tablet Scancode
Page up 0x6D NA NA NA NA
Page down 0x6E NA NA NA NA
Enter 0x69 0x69 0x69 NA NA
Esc 0x6B 0x6B 0x6b NA NA
Toolbox 0x68 0x68 0x68 0x66 0x68
Rotate 0x6C 0x6c 0x6c 0x6b 0x6c
(Unlabeled) 0x67 NA 0x67 0xe0 0x12 0x67
Padlock NA NA NA (nothing?) 0x66
Right NA 0x6D 0x6d NA NA
Left NA 0x6E 0x6e NA NA
Up NA 0x71 0x71 NA NA
Down NA 0x6F 0x6f NA 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.
  • X201 Tablet
    Layout: as X200 Tablet

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

See also