[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: 2nd and 3rd mouse buttons in XF4.0.2



On Thu, Mar 15, 2001 at 02:11:10AM +0100, Michel Dänzer wrote:
> Grant Miller wrote:
> 
> > root@dune:~% echo 1 > /proc/sys/dev/mac_hid/mouse_button_emulation
> > root@dune:~% echo 67 > /proc/sys/dev/mac_hid/mouse_button2_keycode
> > root@dune:~% echo 68 > /proc/sys/dev/mac_hid/mouse_button3_keycode
> > root@dune:~%
> > root@dune:~% cat /proc/sys/dev/mac_hid/mouse_button_emulation
> > 1
> > root@dune:~% cat /proc/sys/dev/mac_hid/mouse_button2_keycode
> > 67
> > root@dune:~% cat /proc/sys/dev/mac_hid/mouse_button3_keycode
> > 68
> > 
> > Still no 2nd or 3rd mouse button in X.
> 
> Have you set it up to use /dev/input/mice and have three buttons?
> 
> 


Well I feel stoopid   :)

That works.


Previously I had the trackpad set to /dev/input/mouse0.  What makes
/dev/input/mice work with the mouse button emulation and not
/dev/input/mouse0?



--Grant Miller   grant at unixguru dot org



Reply to: