分页: 1 / 1

罗技G1鼠标的快捷按钮

发表于 : 2007-05-11 13:32
peter1123
G1有个按钮是可以后退,用起来很方便,ubuntu好像不支持,有什么办法么?

发表于 : 2007-05-11 13:33
一木
我都从来没有用过

发表于 : 2007-05-11 13:59
eexpress
后退?指浏览器?
你那个G1的按钮,用xev测试下,看有键值没。就是有名称没。

发表于 : 2007-05-11 14:17
antonym55
还不知道有这个东东可以测试Event

代码: 全选

左键
ButtonPress event, serial 29, synthetic NO, window 0x3400001,
    root 0x5d, subw 0x0, time 5572849, (68,132), root:(809,417),
    state 0x0, button 1, same_screen YES

ButtonRelease event, serial 29, synthetic NO, window 0x3400001,
    root 0x5d, subw 0x0, time 5573007, (68,132), root:(809,417),
    state 0x100, button 1, same_screen YES

后退键
ButtonPress event, serial 29, synthetic NO, window 0x3400001,
    root 0x5d, subw 0x0, time 5582751, (68,132), root:(809,417),
    state 0x0, button 2, same_screen YES

ButtonRelease event, serial 29, synthetic NO, window 0x3400001,
    root 0x5d, subw 0x0, time 5582911, (68,132), root:(809,417),
    state 0x200, button 2, same_screen YES
右键
ButtonPress event, serial 29, synthetic NO, window 0x3400001,
    root 0x5d, subw 0x0, time 5587938, (68,132), root:(809,417),
    state 0x0, button 3, same_screen YES

ButtonRelease event, serial 29, synthetic NO, window 0x3400001,
    root 0x5d, subw 0x0, time 5588031, (68,132), root:(809,417),
    state 0x400, button 3, same_screen YES
滚轮单击
ButtonPress event, serial 29, synthetic NO, window 0x3400001,
    root 0x5d, subw 0x0, time 5739004, (73,132), root:(814,417),
    state 0x0, button 2, same_screen YES

ButtonRelease event, serial 29, synthetic NO, window 0x3400001,
    root 0x5d, subw 0x0, time 5739172, (73,132), root:(814,417),
    state 0x200, button 2, same_screen YES

滚轮前
ButtonPress event, serial 29, synthetic NO, window 0x3400001,
    root 0x5d, subw 0x0, time 5908082, (68,114), root:(809,399),
    state 0x0, button 4, same_screen YES

ButtonRelease event, serial 29, synthetic NO, window 0x3400001,
    root 0x5d, subw 0x0, time 5908082, (68,114), root:(809,399),
    state 0x800, button 4, same_screen YES
滚轮后
ButtonPress event, serial 29, synthetic NO, window 0x3400001,
    root 0x5d, subw 0x0, time 5990932, (71,133), root:(812,418),
    state 0x0, button 5, same_screen YES

ButtonRelease event, serial 29, synthetic NO, window 0x3400001,
    root 0x5d, subw 0x0, time 5990932, (71,133), root:(812,418),
    state 0x1000, button 5, same_screen YES

发表于 : 2007-05-11 14:21
eexpress
后退键
ButtonPress event, serial 29, synthetic NO, window 0x3400001,
root 0x5d, subw 0x0, time 5582751, (68,132), root:(809,417),
state 0x0, button 2, same_screen YES

这不是中键吗

发表于 : 2007-05-11 14:51
antonym55
确实有点奇怪

跟滚轮单击 一样都是button 2