Difference between revisions of "Tablet Hardware Buttons"

From ThinkWiki
Jump to: navigation, search
(Fix scan code for "Left" button)
(Added X61 Tablet (includung unlabeled button))
Line 25: Line 25:
  
 
{| border="1" cellpadding="5" cellspacing="0"
 
{| border="1" cellpadding="5" cellspacing="0"
! Key !! X41 Scancode || {{X60t}} Scancode
+
! Key !! X41 Scancode || {{X60t}} Scancode || {{X61_Tablet}} Scancode
 
|-
 
|-
| Page up  || 0x6D || NA
+
| Page up  || 0x6D || NA || NA
 
|-
 
|-
| Page down || 0x6E || NA
+
| Page down || 0x6E || NA || NA
 
|-
 
|-
| Enter || 0x69 || 0x69
+
| Enter || 0x69 || 0x69 || 0x69
 
|-
 
|-
| Esc || 0x6B || 0x6B
+
| Esc || 0x6B || 0x6B || 0x6b
 
|-
 
|-
| Toolbox || 0x68 || 0x68
+
| Toolbox || 0x68 || 0x68 || 0x68
 
|-
 
|-
| Rotate || 0x6C || 0x6c
+
| Rotate || 0x6C || 0x6c || 0x6c
 
|-
 
|-
| (Unlabeled) || 0x67 || NA
+
| (Unlabeled) || 0x67 || NA || 0x67
 
|-
 
|-
| Right || NA || 0x6D  
+
| Right || NA || 0x6D || 0x6d
 
|-
 
|-
| Left || NA || 0x6E  
+
| Left || NA || 0x6E || 0x6e
 
|-
 
|-
| Up || NA || 0x71  
+
| Up || NA || 0x71 || 0x71
 
|-
 
|-
| Down || NA || 0x6F  
+
| Down || NA || 0x6F || 0x6f
 
|-
 
|-
  

Revision as of 20:38, 1 September 2008

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 X41 Scancode X60 Tablet Scancode X61 Tablet Scancode
Page up 0x6D NA NA
Page down 0x6E NA NA
Enter 0x69 0x69 0x69
Esc 0x6B 0x6B 0x6b
Toolbox 0x68 0x68 0x68
Rotate 0x6C 0x6c 0x6c
(Unlabeled) 0x67 NA 0x67
Right NA 0x6D 0x6d
Left NA 0x6E 0x6e
Up NA 0x71 0x71
Down NA 0x6F 0x6f

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


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