Having trouble binding right-click to keyboard on my ibook g4 running Debian..
Here is what I have tried.
added the following to
/etc/sysctl.conf:
Code:
dev/mac_hid/mouse_button3_keycode = 125
dev/mac_hid/mouse_button2_keycode = 126
dev/mac_hid/mouse_button_emulation = 1
There values correspond to the ones found in /usr/src/linux/include/linux/input.h:
Code:
#define KEY_RIGHTMETA 126
#define KEY_LEFTMETA 125
Aren't these keys the "apple" key on apple keyboards?
Or is there something else I did wrong?
I seem to remember doing something similar and it working not too long ago on this same ibook...