LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Laptop and Netbook (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/)
-   -   trouble binding right-click to keyboard ibook g4 (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/trouble-binding-right-click-to-keyboard-ibook-g4-624090/)

mkoco 02-26-2008 09:07 PM

trouble binding right-click to keyboard ibook g4
 
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...


All times are GMT -5. The time now is 06:01 AM.