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

Re: 2nd and 3rd mouse key with modifiers



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 ;-)

Elimar


-- 
  On the keyboard of life you have always
  to keep a finger at the escape key;-)

Attachment: signature.asc
Description: Digital signature


Reply to: