マウスでスクロールしながら右ボタンを押します。

マウスでスクロールしながら右ボタンを押します。

ボタン(右)を押しながらページを下/上にドラッグして、スクロールホイールのようにページをスクロールするようにマウスを設定しようとしています。
このフォーラムで、私が探しているものを正確に説明する次の質問/回答を見つけました。
中央ボタンを押しながらマウス移動スクロールを作成する

したがって、私はVMWare ESXi 5.0.0がホストしている仮想マシンでCentOS 6.6を実行しています。 Gillesが提供した答えに従って、CentOSで次の出力を見つけました。


$ xinput --list
    - Virtual core pointer                          id=2    [master pointer  (3)]
    -   - Virtual core XTEST pointer                id=4    [slave  pointer  (2)]
    -   - ImPS/2 Generic Wheel Mouse                id=6    [slave  pointer  (2)]
    -   - Macintosh mouse button emulation          id=9    [slave  pointer  (2)]
    - Virtual core keyboard                         id=3    [master keyboard (2)]
        - Virtual core XTEST keyboard               id=5    [slave  keyboard (3)]
        - AT Translated Set 2 keyboard              id=7    [slave  keyboard (3)]
        - Power Button                              id=8    [slave  keyboard (3)]

したがって、最初の違いは、元の答えに記載されている「ユニバーサルUSBマウス」の代わりに「ImPS / 2ユニバーサルホイールマウス」があることです。


$ xinput --list-props 'ImPS/2 Generic Wheel Mouse'
Device 'ImPS/2 Generic Wheel Mouse':
        Device Enabled (112):   1
        Coordinate Transformation Matrix (114): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
        Device Accel Profile (232):     0
        Device Accel Constant Deceleration (233):       1.000000
        Device Accel Adaptive Deceleration (234):       1.000000
        Device Accel Velocity Scaling (235):    10.000000

したがって、プロパティがないため、修正する方法は元の答えであるEmulateWheel、EmulateWheelButtonに記載されています。

xorg.confを追加するなど、いくつかの可能性を試しました。


Section "InputClass"
    Identifier "Wheel Emulation"
    MatchProduct "ImPS/2 Generic Wheel Mouse"
    Option "EmulateWheel" "on"
    Option "EmulateWheelButton" "2"
    Option "XAxisMapping" "6 7"
    Option "YAxisMapping" "4 5"
EndSection

しかし、次のことがわかりません。
1.私のマウスデバイス「ImPS / 2 Universal Wheel Mouse」にこれらのEmulateWheel、EmulateWheelButton Xプロパティがないのはなぜですか?
2. EmulateWheel、EmulateWheelButton設定を持つ他のデバイスプロパティを設定できますか?

ベストアンサー1

おすすめ記事