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

Re: 2nd and 3rd mouse key with modifiers



On Thu, 2004-08-19 at 13:03, Elimar Riesebieter wrote:
> On Tue, 17 Aug 2004 the mental interface of
> Guido Guenther told:
> 
> > On Tue, Aug 17, 2004 at 02:53:46AM -0700, Adam Done wrote:
> > > I have read the mails on the list and I am wondering if I can get
> > > mouseemu to work on the tty terminal?  So far none of the buttons in X
> > > work here.
> > Sure, you have to read from /dev/input/mice (gpm.conf):
> > device=/dev/input/mice
> > type=imps2
> > 
> > I'm using (/etc/default/mouseemu):
> > -middle 125 272       # Opt key (right of space) + Click
> > -right 96 272         # Enter (right of opt key) + Click
> > as modifiers.
> 
> Why not:
> 
> $ cat /etc/sysctl.conf
> 
> #
> # /etc/sysctl.conf - Configuration file for setting system variables
> # See sysctl.conf (5) for information.
> #
> #kernel.domainname = example.com
> #net/ipv4/icmp_echo_ignore_broadcasts=1
> dev/mac_hid/mouse_button_emulation = 1
> dev/mac_hid/mouse_button2_keycode = 87
> dev/mac_hid/mouse_button3_keycode = 88
> 
> $ /sbin/sysctl -a
> 
> Then you'll find mmb on <F11> and rmb on <F12>
> 
> No mousemu needed ;-)

I did get mouseemu to work on the tty using the modifire keys I wanted
to use and are close to the touchpad then the f-keys.  All is good now
and the powerbook is ready.  Thanks :)

-adam



Reply to: