mike@flyn.org wrote: > Laptops made by Apple have only one mouse button. In order to get > around this limitation, the Linux kernel can simulate mouse clicks > using certain keyboard keys. However, this must be configured using > the kernel's sysctl interface. > > Base-config should generate entries in /etc/sysctl.conf for mouse > button emulation. The following is an example /etc/sysctl.conf > fragment: > > # Activate Mouse Buttons; see <linux/input.h> > dev.mac_hid.mouse_button_emulation=1 > dev.mac_hid.mouse_button3_keycode=96 # KEY_KPENTER > dev.mac_hid.mouse_button2_keycode=87 # KEY_F11 > > This example maps the keypad enter key to a mouse's right-click and > the F11 key to a mouse's middle-click. Ideally, a script would prompt > the user to set these values, depending on his preferences. > > This would allow mouse button emulation to work out of the box when > using Debian. I would prefer to add this to base-config only if there is really nowhere else in Debian it can go. Perhaps it would make more sense to add it to the X configurator, unless there are non-X apps using the mouse on macs that demand more than one button. Or perhaps it should be set up as part of the console-tools configuration. -- see shy jo
Attachment:
pgpHzrxXZndGH.pgp
Description: PGP signature