# start: # changes by ewanuno@gmail.com to support BENQ Joybook 7000 # tested with ubuntu 5.10 # you need to have the package "hotkey-setup" installed # in my system this file replaces the default bindings for /usr/share/hotkey-setup/default.hk # maybe in the future it could be integrated into hotkey-setup # the keycodes used here are the hex values from syslog. # if you have a diferent keyboard i can't garuntee that they are the same. # my keyboard is italian. # but probably they are the same for all languages # the remote control appears to generate keycodes too, but i haven'tfigured out whats going on here yet. # if you figure it out first i'd like to know. # the programable function keys: # the "web" and "email" keys already generate keycodes so we don't need to do anything for them here. #P1 key setkeycodes e074 236 #P2 key setkeycodes e073 239 # the function (Fn) key combinations: # some of these generate key codes in unconventional ways, so be aware of this before you assign them to do things. # fn + f1 "?" # works like a normal key setkeycodes e02b 168 # fn + f2 "Zz" no keycode # fn + f3 "lcd / ext monitor switch" no keycode #fn + f4/f5 "screen brightness up / down" # these two keys both produce the same code, the brightness control works anyway so it dosent realy matter. i'm not sure what you could use it for. setkeycodes e06e 241 # fn + f6 "trackpad enable/disable" # another key that switches between two keycodes on alternate keypresses # the enable/disable functionality works with linux. setkeycodes e071 242 setkeycodes e072 243 # fn + f7 "sound mute/unmute" # already works. # fn + f8 "sound down" # already works # fn + f9 "sound up" # already works #fn + f10 "power symbol" # works like a normal key setkeycodes e031 237 #fn + f11 "ir on/off" # # this key is alternates between e059 and e05a each keypress setkeycodes e059 235 setkeycodes e05a 234 #fn + f12 "wifi/bluetooth" # this key generates two codes on each keypress. # maybe they need to be treated as a sequence so use with care. setkeycodes e040 238 setkeycodes e02a 240 #end.