Re: 4.0.2 for pismo - open problems
Oops! :)
On Mon, Jan 29, 2001 at 05:20:37PM +0100, Olaf Grewe wrote:
> >Hi, thanks very much for the info, as it helped me greatly in making X
> >work on my pismo. Regarding 3 button emulation, I found the following info
> >very helpful, but I could not find the link from where I originally got the
> >content.
> >
> >Anyway, you can copy the file I attached at the end, save it as
> >/etc/init.d/mouse_buttons, make it executable and do ln -s
> >/etc/init.d/mouse_buttons /etc/rcS.d/mouse_buttons. Now ftn-11 and ftn-12
> >emulate the 2nd and 3rd mouse buttons, respectively.
> >
> Hi,
>
> the only thing still missing is the file... ;)
>
> Es grüßt
> Olaf
>
--
Joongul Lee
jlee@mpim-bonn.mpg.de
#!/bin/sh
echo "Setting core-mouse button 2 to key F11"
echo "87" > /proc/sys/dev/mac_hid/mouse_button2_keycode
echo "Setting core-mouse button 3 to key F12"
echo "88" > /proc/sys/dev/mac_hid/mouse_button3_keycode
#echo "Activating core-mouse button emulation"
echo "1" > /proc/sys/dev/mac_hid/mouse_button_emulation
## The keys are defined in /usr/src/linux/include/linux/input.h
Reply to: