#1 TSM40 hack for hotkeys

Latest SVN
open
nobody
None
5
2007-01-25
2007-01-25
Matteo Zandi
No

this is little hack will add a new feature for toshiba satellite m40 and compatible notebooks. The new feature is called lastfn and gives

$ cat /proc/omnibook/lastfn
last fn pressed: 64

at every cat the key event is sent to kbd so that it can be bind through your normal application (in my case, gnome-keybinding-properties).

This little script completes the hack

$ cat watch_proc-omnibook-lastfn
watch --interval 0.1 'cat /proc/omnibook/lastfn'

watch will take care that cat is being processed quite often so that no keys are missed.

Discussion

  • Matteo Zandi
    Matteo Zandi
    2007-01-25

    patch to latest svn