私はすでに unix.stackexchange でこれを尋ねましたが、今のところうまくいかないので、ここに投稿します。うまくいけば、誰かが答えを知っています。
Logitech t400 マウスを手に入れたばかりで、中央のマウスの「上部」部分を実際の中央のマウス機能に再マップしたいことを除いて、すべて正常に動作しています。
xev を実行してクリックをキャプチャすると、すべてのマウス ボタンが ButtonPress/ButtonRelease イベントを返しますが、中央のボタンの上部は KeyPress/KeyRelease イベントを次のように返します。
KeyPress event, serial 35, synthetic NO, window 0x5200001,
root 0x31d, subw 0x0, time 630089839, (80,128), root:(2871,588),
state 0x10, keycode 133 (keysym 0x31d, (no name)), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyRelease event, serial 36, synthetic NO, window 0x5200001,
root 0x31d, subw 0x0, time 630089983, (80,128), root:(2871,588),
state 0x50, keycode 133 (keysym 0x31d, (no name)), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
中央のボタンの下部は正常に機能し、以下を返します。
ButtonPress event, serial 37, synthetic NO, window 0x5200001,
root 0x31d, subw 0x0, time 630137726, (10,171), root:(2801,631),
state 0x10, button 2, same_screen YES
ButtonRelease event, serial 37, synthetic NO, window 0x5200001,
root 0x31d, subw 0x0, time 630138960, (10,171), root:(2801,631),
state 0x210, button 2, same_screen YES
下部と同じように上部を再マップしたいのですが、これは xmodmap で可能ですか?
ありがとう!