On Thu, Apr 19, 2001 at 12:33:19AM +0200, Philipp von Weitershausen wrote: > > I have this in a startup script to get the middle button on F11 and the > > right one on F12 : > > > > echo 1 > /proc/sys/dev/mac_hid/mouse_button_emulation > > echo 87 > /proc/sys/dev/mac_hid/mouse_button2_keycode > > echo 88 > /proc/sys/dev/mac_hid/mouse_button3_keycode >
rather then adding a custom boot script its simpler to just add these to /etc/sysctl.conf dev/mac_hid/mouse_button_emulation = 1 dev/mac_hid/mouse_button2_keycode = 87 dev/mac_hid/mouse_button3_keycode = 88 make sure you have an extra empty line at the end of /etc/sysctl.conf so it doesn't bitch. > Oh, that's pretty straight forward. Where can I get a description of those > numbers matching the keys on my keyboard? they are i386 keycodes, so look in an i386 keymap. (/usr/share/keymaps/i386) -- Ethan Benson http://www.alaska.net/~erbenson/
pgpRAZndFGGVS.pgp
Description: PGP signature