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

Re: using caps_lock as control in iBook G4



On Fri, Nov 12, 2004 at 01:14:01AM +0100, Jose A. Ortega Ruiz wrote:
> 
> hi again. just a quick note to let you know that the patch Jesus sent
> works like a charm with kernel 2.6.9. thanks again.
> 
> oh, and while i'm at it: next problem :) i've compiled the kernel with
> support for three-button mouse emulation via sysctl. that is, i put
> 
>  dev/mac_hid/mouse_button2_keycode=94
>  dev/mac_hid/mouse_button3_keycode=108
>  dev/mac_hid/mouse_button_emulation=1

Try

echo 0x61 > /proc/sys/dev/mac_hid/mouse_button2_keycode 
echo 0x64 > /proc/sys/dev/mac_hid/mouse_button3_keycode
echo 1 > /proc/sys/dev/mac_hid/mouse_button_emulation



-- 
Jesus Climent                                      info:www.pumuki.org
Unix SysAdm|Linux User #66350|Debian Developer|2.4.27|Helsinki Finland
GPG: 1024D/86946D69 BB64 2339 1CAA 7064 E429  7E18 66FC 1D7F 8694 6D69

Wait Master, it might be dangerous... you go first.
		--Igor (Young Frankenstein)



Reply to: