mouse button emulation


Subject: mouse button emulation
From: Mark Brethen (marbre@dhcp-159-66)
Date: Fri Nov 09 2001 - 17:07:55 MST


Ok, in /etc/rc.d/rc.sysinit I find:

# Enable mouse button emulation if it is configured
if [ -f /etc/sysconfig/mouse ]; then
 . /etc/sysconfig/mouse
 if [ "$EMULATION" = "yes" -a -d /proc/sys/dev/mac_hid/ ]; then
  action "Enabling mouse button emulation: " sysctl -w \
     dev.mac_hid.mouse_button_emulation=1

  if [ -n "$EMU_BUT2" ]; then
   action "Configuring mouse emulation button 2: " sysctl -w \
      dev.mac_hid.mouse_button2_keycode=$EMU_BUT2
  fi
  if [ -n "$EMU_BUT3" ]; then
   action "Configuring mouse emulation button 3: " sysctl -w \
      dev.mac_hid.mouse_button3_keycode=$EMU_BUT3
  fi
 fi
fi

and in /etc/sysconfig/mouse I have:

# Mouse Setup
# Run yimouse to re-configure this file
TYPE=adb
DESC="Apple Desktop Bus (ADB)"
GPM=imps2
X11=IMPS/2
DEV=/dev/input/mice
EMULATION=yes
EMU_BUT2=87
EMU_BUT3=88
TRACKPAD_OPT=notap

what do I have to change in order for my two-button mouse to emulate a three
button mouse? BTW I can't find yimouse.

-- 

Mark Brethen mbrethen@rochester.rr.com



This archive was generated by hypermail 2a24 : Fri Nov 09 2001 - 17:15:03 MST