Gentooのマウスに問題があります。通常のボタン(左/右/スクロールホイールと前/次)は機能しますが、他のボタンはxでは認識されません。私はそれを試しましたが、xev
それらを使用することはうまくいきませんでした。
私はGnome Shell 3.6を実行しています。
デバイスを追加するために/etc/X11/xorg.conf.d/10-evdev.confを設定してみました。
Section "InputDevice"
Identifier "GamingMouse"
Driver "evdev"
Option "Name" "SteelSeries World of Warcraft: Cataclysm MMO Gaming Mouse"
Option "Protocol" "ExplorerPS/2"
Option "Buttons" "16"
Option "ZAxisMapping" "4 5"
Option "ButtonMapping" "1 2 3 6 7 8 9 10 11 12 13 14 15 16"
EndSection
しかし、それは何も変えません。また、入力クラスに次のオプションを追加してみました。
Section "InputClass"
Identifier "evdev pointer catchall"
MatchIsPointer "on"
MatchDevicePath "/dev/input/event*"
Driver "evdev"
Option "Protocol" "ExplorerPS/2"
Option "Buttons" "16"
Option "ZAxisMapping" "4 5"
Option "ButtonMapping" "1 2 3 6 7 8 9 10 11 12 13 14 15 16"
EndSection
しかし、再び動作しませんでした。
このボタンを操作する方法がある人はいますか?
編集#1
に関連する追加情報xinput
。xinput
私が一度収集した追加情報は次のとおりです。
$ xinput -list
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ SteelSeries World of Warcraft: Cataclysm MMO Gaming Mouse id=8 [slave pointer (2)]
⎜ ↳ SteelSeries World of Warcraft: Cataclysm MMO Gaming Mouse id=10 [slave pointer (2)]
⎣ Virtual core keyboard id=3 [master keyboard (2)]
↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
↳ Power Button id=6 [slave keyboard (3)]
↳ Power Button id=7 [slave keyboard (3)]
↳ SteelSeries World of Warcraft: Cataclysm MMO Gaming Mouse id=9 [slave keyboard (3)]
↳ G15 Gaming Keyboard id=11 [slave keyboard (3)]
↳ G15 Gaming Keyboard id=12 [slave keyboard (3)]
↳ G15 GamePanel LCD id=13 [slave keyboard (3)]
↳ Logitech Logitech G930 Headset id=14 [slave keyboard (3)]
ボタンマッピングのインポート
$ xinput get-button-map 8
1 2 3 4 5 6 7 8 9 10 11 12 13
$ xinput get-button-map 10
1 2 3 4 5 6 7
$ xinput get-button-map 4
1 2 3 4 5 6 7 8 9 10
$ xinput get-button-map 9
device has no buttons
リスト小道具
$ xinput list-props 8
Device 'SteelSeries World of Warcraft: Cataclysm MMO Gaming Mouse':
Device Enabled (139): 1
Coordinate Transformation Matrix (141): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
Device Accel Profile (263): 0
Device Accel Constant Deceleration (264): 1.000000
Device Accel Adaptive Deceleration (265): 1.000000
Device Accel Velocity Scaling (266): 10.000000
Device Product ID (256): 4152, 4896
Device Node (257): "/dev/input/event2"
Evdev Axis Inversion (267): 0, 0
Evdev Axes Swap (269): 0
Axis Labels (270): "Rel X" (149), "Rel Y" (150), "Rel Vert Wheel" (262)
Button Labels (271): "Button Left" (142), "Button Middle" (143), "Button Right" (144), "Button Wheel Up" (145), "Button Wheel Down" (146), "Button Horiz Wheel Left" (147), "Button Horiz Wheel Right" (148), "Button Side" (260), "Button Extra" (261), "Button Unknown" (259), "Button Unknown" (259), "Button Unknown" (259), "Button Unknown" (259)
Evdev Middle Button Emulation (272): 0
Evdev Middle Button Timeout (273): 50
Evdev Third Button Emulation (274): 0
Evdev Third Button Emulation Timeout (275): 1000
Evdev Third Button Emulation Button (276): 3
Evdev Third Button Emulation Threshold (277): 20
Evdev Wheel Emulation (278): 0
Evdev Wheel Emulation Axes (279): 0, 0, 4, 5
Evdev Wheel Emulation Inertia (280): 10
Evdev Wheel Emulation Timeout (281): 200
Evdev Wheel Emulation Button (282): 4
Evdev Drag Lock Buttons (283): 0
$ xinput list-props 10
Device 'SteelSeries World of Warcraft: Cataclysm MMO Gaming Mouse':
Device Enabled (139): 1
Coordinate Transformation Matrix (141): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
Device Accel Profile (263): 0
Device Accel Constant Deceleration (264): 1.000000
Device Accel Adaptive Deceleration (265): 1.000000
Device Accel Velocity Scaling (266): 10.000000
Device Product ID (256): 4152, 4896
Device Node (257): "/dev/input/event4"
Evdev Axis Inversion (267): 0, 0
Evdev Axes Swap (269): 0
Axis Labels (270): "Rel X" (149), "Rel Y" (150), "Rel Horiz Wheel" (285)
Button Labels (271): "Button 0" (284), "Button Unknown" (259), "Button Unknown" (259), "Button Wheel Up" (145), "Button Wheel Down" (146), "Button Horiz Wheel Left" (147), "Button Horiz Wheel Right" (148)
Evdev Middle Button Emulation (272): 0
Evdev Middle Button Timeout (273): 50
Evdev Third Button Emulation (274): 0
Evdev Third Button Emulation Timeout (275): 1000
Evdev Third Button Emulation Button (276): 3
Evdev Third Button Emulation Threshold (277): 20
Evdev Wheel Emulation (278): 0
Evdev Wheel Emulation Axes (279): 0, 0, 4, 5
Evdev Wheel Emulation Inertia (280): 10
Evdev Wheel Emulation Timeout (281): 200
Evdev Wheel Emulation Button (282): 4
Evdev Drag Lock Buttons (283): 0
id 8では7つ以上のボタンを認識できるようですが、良い兆しのようですね。では、どのようにこれだけを使用して他のものをフィルタリングできますか?
ベストアンサー1
問題はXレベルではありません。 USBマウス仕様でも、左右のスクロールホイールのみが許可されています。
Catclysmゲーミングマウスには、マウスとキーボードの両方のためのUSBポートがあります。デフォルトでは、どのボタンとどのキーストロークを一致させるかをマウスに知らせる必要があります。
正式にサポートされている唯一の方法は、Windows仮想マシンを実行し、正式にサポートされているSteelSeriesドライバを使用して構成をマウスのオンボードメモリにアップロードしてロードすることです。
彼らが使用するプロトコルをリバースエンジニアリングするのに時間を費やした後、独自のドライバを作成しました。多くの機能を扱うことはありませんが、コンピュータゲームをプレイしてWindowsシステムを管理したいと思います。そしてうまくいきます。バラよりhttps://github.com/owenRiddy/cataclysm-mouse