Device/Mouse
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
検索
|
最終更新
|
ヘルプ
]
開始行:
#topicpath();
/////////////////////////////////////////////////////////...
* 目次 [#jadc1c94]
#contents();
/////////////////////////////////////////////////////////...
* マウスボタンの機能割り当て変更 [#h196c84e]
- マウスボタンの機能割り当て変更には、以下を使用出来る
|~command |~package (Debian) |~descript...
|[[xmodmap>Device/xmodmap]] |x11-xserver-utils |割り当て...
|xinput |xinput |ボタンに...
//=======================================================...
** xmodmap [#w5226539]
//=======================================================...
** xinput [#v965c0b4]
+ 現在のデバイス一覧を確認する
$ xinput
⎡ Virtual core pointer id=2 [master ...
⎜ ↳ Virtual core XTEST pointer id=4 [sla...
⎜ ↳ Logitech Unifying Device. Wireless PID:101b id=9 [...
⎜ ↳ TPPS/2 IBM TrackPoint id=12 [sl...
⎣ Virtual core keyboard id=3 [master ...
↳ Virtual core XTEST keyboard id=5 [sla...
↳ Power Button id=6 [sla...
↳ Video Bus id=7 [sla...
↳ Sleep Button id=8 [sla...
↳ Integrated Camera id=10 [sl...
↳ AT Translated Set 2 keyboard id=11 [sl...
↳ ThinkPad Extra Buttons id=13 [sl...
~
+ 上記の一覧中、マウス(Logitech製無線マウス)は "Logitec...
$ xinput list "Logitech Unifying Device. Wireless PID:10...
Logitech Unifying Device. Wireless PID:101b id=9 [slave ...
Reporting 7 classes:
Class originated from: 9. Type: XIButtonClass
Buttons supported: 24
Button labels: "Button Left" "Button Middle" "Button R...
Button state:
Class originated from: 9. Type: XIValuatorClass
Detail for Valuator 0:
Label: Rel X
Range: -1.000000 - -1.000000
Resolution: 1 units/m
Mode: relative
Class originated from: 9. Type: XIValuatorClass
Detail for Valuator 1:
Label: Rel Y
Range: -1.000000 - -1.000000
Resolution: 1 units/m
Mode: relative
Class originated from: 9. Type: XIValuatorClass
Detail for Valuator 2:
Label: Rel Horiz Wheel
Range: -1.000000 - -1.000000
Resolution: 1 units/m
Mode: relative
Class originated from: 9. Type: XIValuatorClass
Detail for Valuator 3:
Label: Rel Vert Wheel
Range: -1.000000 - -1.000000
Resolution: 1 units/m
Mode: relative
Class originated from: 9. Type: XIScrollClass
Scroll info for Valuator 2
type: 2 (horizontal)
increment: 1.000000
flags: 0x0
Class originated from: 9. Type: XIScrollClass
Scroll info for Valuator 3
type: 1 (vertical)
increment: -1.000000
flags: 0x2 ( preferred )
//=======================================================...
** 参考リンク [#t3a78dab]
- [[LinuxのX Window Systemでマウスボタンの割り当てを変更...
終了行:
#topicpath();
/////////////////////////////////////////////////////////...
* 目次 [#jadc1c94]
#contents();
/////////////////////////////////////////////////////////...
* マウスボタンの機能割り当て変更 [#h196c84e]
- マウスボタンの機能割り当て変更には、以下を使用出来る
|~command |~package (Debian) |~descript...
|[[xmodmap>Device/xmodmap]] |x11-xserver-utils |割り当て...
|xinput |xinput |ボタンに...
//=======================================================...
** xmodmap [#w5226539]
//=======================================================...
** xinput [#v965c0b4]
+ 現在のデバイス一覧を確認する
$ xinput
⎡ Virtual core pointer id=2 [master ...
⎜ ↳ Virtual core XTEST pointer id=4 [sla...
⎜ ↳ Logitech Unifying Device. Wireless PID:101b id=9 [...
⎜ ↳ TPPS/2 IBM TrackPoint id=12 [sl...
⎣ Virtual core keyboard id=3 [master ...
↳ Virtual core XTEST keyboard id=5 [sla...
↳ Power Button id=6 [sla...
↳ Video Bus id=7 [sla...
↳ Sleep Button id=8 [sla...
↳ Integrated Camera id=10 [sl...
↳ AT Translated Set 2 keyboard id=11 [sl...
↳ ThinkPad Extra Buttons id=13 [sl...
~
+ 上記の一覧中、マウス(Logitech製無線マウス)は "Logitec...
$ xinput list "Logitech Unifying Device. Wireless PID:10...
Logitech Unifying Device. Wireless PID:101b id=9 [slave ...
Reporting 7 classes:
Class originated from: 9. Type: XIButtonClass
Buttons supported: 24
Button labels: "Button Left" "Button Middle" "Button R...
Button state:
Class originated from: 9. Type: XIValuatorClass
Detail for Valuator 0:
Label: Rel X
Range: -1.000000 - -1.000000
Resolution: 1 units/m
Mode: relative
Class originated from: 9. Type: XIValuatorClass
Detail for Valuator 1:
Label: Rel Y
Range: -1.000000 - -1.000000
Resolution: 1 units/m
Mode: relative
Class originated from: 9. Type: XIValuatorClass
Detail for Valuator 2:
Label: Rel Horiz Wheel
Range: -1.000000 - -1.000000
Resolution: 1 units/m
Mode: relative
Class originated from: 9. Type: XIValuatorClass
Detail for Valuator 3:
Label: Rel Vert Wheel
Range: -1.000000 - -1.000000
Resolution: 1 units/m
Mode: relative
Class originated from: 9. Type: XIScrollClass
Scroll info for Valuator 2
type: 2 (horizontal)
increment: 1.000000
flags: 0x0
Class originated from: 9. Type: XIScrollClass
Scroll info for Valuator 3
type: 1 (vertical)
increment: -1.000000
flags: 0x2 ( preferred )
//=======================================================...
** 参考リンク [#t3a78dab]
- [[LinuxのX Window Systemでマウスボタンの割り当てを変更...
ページ名: