Re: trackpad / keyboard
At 12:29 pm +0100 5/12/02, kate23@freenet.de wrote:
hello
can anybody tell me how to map a key on the HID keyboard in an apple
g3 wallstreet to a (virtual) mouse button
X needs at least 2 buttons
benji
Try editing sysctl.conf as follows:
#
# /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
# 3-button mouse emulation
# turn on emulation
/dev/mac_hid/mouse_button_emulation = 1
# Send middle mouse button signal with the F11 key
/dev/mac_hid/mouse_button2_keycode = 87
# Send right mouse button signal with the F12 key
/dev/mac_hid/mouse_button3_keycode = 88
# For different keys, use showkey to tell you what the code is
Regards
Clive
--
Clive Menzies & Associates Limited
strategies for business
http://www.clivemenzies.co.uk
75 Priory Road, London N8 8LR
d/l: 020 8348 0996
fax: 087 0705 2066
Reply to: