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

Re: How do I get F12 button to be mouse button 2 on a Ti Powerbook



On Sun, 13 Jul 2003 emorfin@caracol.red.cinvestav.mx wrote:

> in /etc/sysctl.conf:
> 
> dev/mac_hid/mouse_button_emulation = 1
> dev/mac_hid/mouse_button2_keycode = number_for_f12
> dev/mac_hid/mouse_button3_keycode = number_for_button_you want
> 
> the numbers you can obtain from a console (ttyn) with showkey
> 
> then you restart.
> 
> P.S. sorry, i dont have my tibook right now, it is with my wife in a 
> a conference, if you wait until monday i give you the numbers.
>
My tibook is back (also my wife), so in /etc/sysctl.conf:

dev.mac_hid.keyboard_sends_linux_keycodes=1

dev/mac_hid/mouse_button_emulation=1
dev/mac_hid/mouse_button2_keycode=87 #f11
dev/mac_hid/mouse_button3_keycode=88 #f12

you can change it for your needs.

 
> 
> 
> On 11 Jul 2003, Menaka Lashitha Bandara wrote:
> 
> > On Fri, 2003-07-11 at 15:22, Michael Lake wrote:
> > > But if I echo 108 to mouse_button2_keycode nothing happens when I click 
> > > F12 and text is highlighted. I want F12 to 'paste' text under X as that 
> > > key is the fastest and most acurate key to hit.
> > 
> > I think you have to press Fn + F12. F12 is eject by default on
> > ibook/powerbook.
> > 
> > Why don't you use the default keys. I used to have F12 as middle mouse,
> > but I find the default Fn+Ctrl and Fn+Alt for middle and left
> > respectively to be more accessible.
> > 
> > \LaShI
> > 
> > 
> 
> 
> 



Reply to: