On Sun, Mar 11, 2001 at 02:15:15PM -0600, Michael Hope wrote: > > I'm trying to get a 2nd and 3rd mouse button working in XFree 4.0.2. I'm > > running kernel 2.4.2-pre3 from bitkeeper's sources. I have the following > > relevant options in my kerenl conifg: > > > > CONFIG_USB=y > > CONFIG_USB_HID=y > > CONFIG_INPUT_KEYBDEV=y > > CONFIG_INPUT_MOUSEDEV=y > > CONFIG_INPUT_EVDEV=y > > CONFIG_INPUT_ADBHID=y > > > > > > /etc/sysctl.conf: > > > > dev.mac_hid.mouse_button2_keycode = 101 > > dev.mac_hid.mouse_button3_keycode = 109 > > dev.mac_hid.mouse_button_emulation = 1 > > I did a grep for 101 and 109 across linux/include/input.h - 101 > is the lineffed key (?) and 109 is the pagedown key. Personally I use > > 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 >
I tried those numbers and 67 (F9) and 68 (F10) and that didn't work. I press on those keys and I don't get a response from X. I ran xev (X event viewer) and there were no events reported when I pressed on F9 or F10. --Grant Miller grant at unixguru dot org I don't have to take this abuse from you -- I've got hundreds of people waiting to abuse me. -- Bill Murray, "Ghostbusters"