Saturday, 21 June 2008

U810 Tablet Buttons

I've settled on some keyboard events for the tablet buttons (Fn is Sticky):

Down/Left: KEY_PAGEDOWN (rewind in MythTV)
Fn-Down/Left: KEY_HOME (previous track in MythTV)
Up/Right: KEY_PAGEUP (ffwd in MythTV)
Fn-Up/Right: KEY_END (next track in MythTV)

C-Alt-D: KEY_ESC (previous screen in MythTV)
Fn-C-Alt-D: ?? Hibernate

/: ??
Fn-/: ?? Keyboard LED toggle
//: KEY_MEDIA (play/pause in MythTV?)
Fn-//: ?? (Menu in MuyhTV?)
Screen: ??
Fn-Screen: ?? Invert Screen toggle (since XRandR-Intel-compiz combo fails on rotate +/- 90)

There are a number of KEY_* events in the linux source but not all of them seem to make it though to keyboard mappings in console or X mode - some experimentation required, obviously.

No comments: