Logitech Marble 마우스 - KDE

Logitech Marble 마우스 - KDE

나는 새로운 Debian 12 시스템(Wayland가 아닌 X11의 KDE)과 Logitech Marble 마우스를 가지고 있습니다. 오른쪽에 있는 작은 버튼과 공을 사용하여 스크롤할 수 있도록 설정하는 데 도움이 필요합니다.https://wiki.archlinux.org/title/Logitech_Marble_Mouse

다음과 같은 오래되고 안정적인 구성은 아무런 효과가 없는 것 같습니다.

cat /etc/X11/xorg.conf.d/10-evdev.conf 
# REFER: https://wiki.archlinux.org/title/Logitech_Marble_Mouse
#       - - - Logitech Marble Mouse Settings - - -
#
#       The Logitech Marble Mouse buttons are mapped [A-D] from left to right: 
#       A (large); B (small) |  C (small); D (large). 
#
#       Preferred options for right-handed usage:
#       A = normal click [1]  
#       B = middle-click [2] 
#       C = middle-click [2]
#       D = right-click [3]
#       Hold button B while rolling trackball to emulate wheel-scrolling. 
#       Pressing both large buttons simultaneously (b) produces a "back" action.

# Ids for actions.
# 1     Large button left       normal click
#  2    Both large buttons      middle-click  †
#  3    Large button right      right-click
#  4    (not a button)  -
#  5    (not a button)  -
#  6    (not a button)  -
#  7    (not a button)  -
#  8    Small button left       browser back
#  9    Small button right      browser forward

Section "InputClass"
        Identifier  "Marble Mouse"
        MatchProduct "Logitech USB Trackball"
        MatchIsPointer "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"

#       Physical button #s:     A b D - - - - B C    
#       Option "ButtonMapping" "1 8 3 4 5 6 7 2 2"   right-hand placement
#       Option "ButtonMapping" "3 8 1 4 5 6 7 2 2"   left-hand placement
#       b = A & D 
        Option "ButtonMapping" "1 2 3 4 5 6 7 8 10"

#       EmulateWheel: Use Marble Mouse trackball as mouse wheel 
#       Factory Default: 8; Use 9 for right side small button
        Option "EmulateWheel" "true"
        Option "EmulateWheelButton" "9"
        Option        "MiddleEmulation"     "true"
        # Option        "HorizontalScrolling" "false"
#       EmulateWheelInertia: How far (in pixels) the pointer must move to
#       generate button press/release events in wheel emulation mode.
#       Factory Default: 50
        Option "EmulateWheelInertia" "10"

#       Axis Mapping: Enable vertical [ZAxis] and horizontal [XAxis] scrolling
        Option "ZAxisMapping" "4 5"
        Option "XAxisMapping" "6 7"

#       Emulate3Buttons: Required to interpret simultaneous press of two large
#       buttons, A & D, as a seperate command, b.
#       Factory Default: true
        Option "Emulate3Buttons" "true"
EndSection

어떻게 해결할 수 있나요?

답변1

것 같다libinput 드라이버사용되고 있으며 다른 구성(또한 https://wiki.archlinux.org/title/Logitech_Marble_Mouse) 따라서 필요합니다.

연결된 단계는 다음과 같습니다.

  1. xf86-input-libinput 설치
  2. /etc/X11/xorg.conf.d/10-libinput.conf를 편집합니다. 다음을 추가하세요.
Section "InputClass"
  Identifier   "Marble Mouse"
  MatchProduct "Logitech USB Trackball"
  Driver       "libinput"
  Option       "ScrollMethod"    "button"
  Option       "ScrollButton"    "8"
  Option       "MiddleEmulation" "true"
EndSection

관련 정보