Tablet Hardware Buttons
The X41 Tablet hardware buttons include:
- Power (with sliding lock)
- Cltr-Alt-Del [sic]
- Page up
- Page down
- Screen Rotation
- Tablet shortcut menu
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|
- 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