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

Re: Binding a click to a key



On Tue, 2002-06-25 at 01:16, Peter Downs wrote:
> On Mon, Jun 24, 2002 at 08:50:28PM -0400, enkript wrote:
> > the lines in sysctl.conf do the same as editing the files in /proc
> > but none of these seem to work for me. im thinking that there is some
> > other problem somewhere, or some other configuration that im not aware
> > of.
> > -john
> > 
> > 
> > On Mon, Jun 24, 2002 at 06:50:13PM -0400, K Clark wrote:
> > > i edited my /ets/sysctl.conf (syntax?)
> 
> I was able to use xev on my pmac 3400c to determine the keycodes for
> F11 and F12.
> 
> On this system, adding the following lines to /etc/sysctl.conf maps 
> F11 to the "middle" button and F12 to the "right" button.
> 
> notice mouse_button_emulation is set to 1
> 
> -- begin cut from /etc/sysctl.conf --
> dev/mac_hid/mouse_button_emulation=1
> dev/mac_hid/mouse_button2_keycode=87
> dev/mac_hid/mouse_button3_keycode=88
> --- end cut from /etc/sysctl.conf ---

console keycodes != X keycodes afaik, or did I miss something ?

(In fact I would love is those two were the same, as it would mean that
one could setup the keys under X, easy peezy).

Cheers

-- 
/Bastien Nocera
http://hadess.net

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: