LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 756|回复: 1

有什么方法可以将键盘组合绑定成鼠标按键??

[复制链接]
发表于 2007-2-26 00:15:11 | 显示全部楼层 |阅读模式
比如在macosx上的ctrl+左键=鼠标右键。win键盘上有一个右键菜单键,ubuntu for ppc上按f12也可以叫出右键菜单。请问这个是如何实现的??

咱现在是用debian for ppc,单键鼠标,用着郁闷
 楼主| 发表于 2007-2-26 02:10:39 | 显示全部楼层
现在知道怎么把单键设置成右键了:

<code>
当您的鼠标只有一个按键的时候,流行的内核具有模拟三健鼠标的能力。只需将下面行加入 /etc/sysctl.conf 文件。

# 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.

来自http://www.debian.org/releases/s ... tml.zh_CN#id2533748
</code>

但是怎么把键盘加鼠标键组合还是不知道
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表