Difference between revisions of "Tablet Hardware Buttons"

From ThinkWiki
Jump to: navigation, search
(Added X61 Tablet (includung unlabeled button))
(+X200 Tablet scancodes. Generalized intro. -broken link.)
Line 4: Line 4:
 
<div style="margin: 0; margin-right:10px; border: 1px solid #dfdfdf; padding: 0em 1em 1em 1em; background-color:#F8F8FF; align:right;">
 
<div style="margin: 0; margin-right:10px; border: 1px solid #dfdfdf; padding: 0em 1em 1em 1em; background-color:#F8F8FF; align:right;">
 
===Tablet Hardware Buttons===
 
===Tablet Hardware Buttons===
The X41 Tablet includes hardware buttons located on the
+
The Thinkpad tablets includes hardware buttons located on the
 
LCD screen bezel. They are designed to be used when the ThinkPad is
 
LCD screen bezel. They are designed to be used when the ThinkPad is
 
converted to the tablet configuration (though they are still
 
converted to the tablet configuration (though they are still
 
accessible when in the laptop configuration).
 
accessible when in the laptop configuration).
 +
</div>
 +
|}
  
The X41 Tablet hardware buttons include{{footnote|1}}:
+
The X41 Tablet hardware buttons include:
 
*Power (with sliding lock)
 
*Power (with sliding lock)
 
*Cltr-Alt-Del [sic]
 
*Cltr-Alt-Del [sic]
 
*Page up
 
*Page up
*Page down,
+
*Page down
 
*Enter
 
*Enter
 
*Escape
 
*Escape
 
*Screen Rotation
 
*Screen Rotation
 
*Tablet shortcut menu
 
*Tablet shortcut menu
</div>
+
 
|}
+
 
  
 
==Linux Support==
 
==Linux Support==
Line 25: Line 27:
  
 
{| border="1" cellpadding="5" cellspacing="0"
 
{| border="1" cellpadding="5" cellspacing="0"
! Key !! X41 Scancode || {{X60t}} Scancode || {{X61_Tablet}} Scancode
+
! Key !! X41 Scancode || {{X60t}} Scancode || {{X61_Tablet}} Scancode || {{X200_Tablet}} Scancode
 
|-
 
|-
| Page up  || 0x6D || NA || NA
+
| Page up  || 0x6D || NA || NA || NA
 
|-
 
|-
| Page down || 0x6E || NA || NA
+
| Page down || 0x6E || NA || NA || NA
 
|-
 
|-
| Enter || 0x69 || 0x69 || 0x69
+
| Enter || 0x69 || 0x69 || 0x69 || NA
 
|-
 
|-
| Esc || 0x6B || 0x6B || 0x6b
+
| Esc || 0x6B || 0x6B || 0x6b || NA
 
|-
 
|-
| Toolbox || 0x68 || 0x68 || 0x68
+
| Toolbox || 0x68 || 0x68 || 0x68 || 0x66
 
|-
 
|-
| Rotate || 0x6C || 0x6c || 0x6c
+
| Rotate || 0x6C || 0x6c || 0x6c || 0x6b
 
|-
 
|-
| (Unlabeled) || 0x67 || NA || 0x67
+
| (Unlabeled) || 0x67 || NA || 0x67 || 0xe0 0x12
 
|-
 
|-
| Right || NA || 0x6D || 0x6d
+
| Right || NA || 0x6D || 0x6d || NA
 
|-
 
|-
| Left || NA || 0x6E || 0x6e
+
| Left || NA || 0x6E || 0x6e || NA
 
|-
 
|-
| Up || NA || 0x71 || 0x71
+
| Up || NA || 0x71 || 0x71 || NA
 
|-
 
|-
| Down || NA || 0x6F || 0x6f
+
| 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 {{cmduser|setkeycodes e012 ''whatever''}}.
  
 
The utility setkeycodes can be used to map these scancodes to keycodes. Read {{cmduser|man setkeycodes}} for usage.
 
The utility setkeycodes can be used to map these scancodes to keycodes. Read {{cmduser|man setkeycodes}} for usage.
Line 58: Line 66:
  
 
==Models featuring this Device==
 
==Models featuring this Device==
* {{X41_Tablet}}, {{X60t}}, {{X61_Tablet}}
+
* {{X41_Tablet}}, {{X60t}}, {{X61_Tablet}}, {{X200_Tablet}}
 
 
{{footnotes|
 
#According to the IBM/Lenovo X41 Tablet [http://www.pc.ibm.com/us/thinkpad/xseries/tablet/ website].
 
}}
 
  
 
[[Category:Components]]
 
[[Category:Components]]

Revision as of 06:01, 15 December 2008

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).

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


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

Models featuring this Device