Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Desktop Environments
  • Search

Can't get 3rd(middle) mouse button working, Roccat [solved]

Problems with GUI applications? Questions about X, KDE, Gnome, Fluxbox, etc.? Come on in. NOTE: For multimedia, go up one forum
Post Reply
Advanced search
5 posts • Page 1 of 1
Author
Message
MaDDeePee
Guru
Guru
User avatar
Posts: 428
Joined: Wed Aug 18, 2004 5:24 pm
Location: Germany
Contact:
Contact MaDDeePee
Website

Can't get 3rd(middle) mouse button working, Roccat [solved]

  • Quote

Post by MaDDeePee » Wed Mar 27, 2024 7:24 pm

Hi guys,

i am unable to get my middle mouse button working. should it work out of the box? Wheel is working as it should, though! KDE-Plasma recent and 6.6.21.

Code: Select all

~ $ lsusb 
Bus 009 Device 003: ID 1e7d:2de1 ROCCAT ROCCAT Burst Pro

Code: Select all

cat /etc/X11/xorg.conf
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 525.89.02

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
    Option         "Xinerama" "0"
EndSection

Section "Files"
EndSection

Section "InputDevice"
    # generated from data in "/etc/conf.d/gpm"
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol"
    Option         "Device" "/dev/input/mice"
    Option         "Buttons" "3"
    Option         "MatchIsPointer" "on"
    Option         "Emulate3Buttons" "on"
    Option         "ZAxisMapping" "4 5"
    Option         "MiddleEmulation" "true"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Ancor Communications Inc ASUS PB287Q"
    HorizSync       24.0 - 160.0
    VertRefresh     30.0 - 80.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "NVIDIA GeForce RTX 2080"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "Stereo" "0"
    Option         "nvidiaXineramaInfoOrder" "DFP-3"
    Option         "metamodes" "DP-2: nvidia-auto-select +3840+0, DP-4: nvidia-auto-select +0+0"
    Option         "SLI" "Off"
    Option         "MultiGPU" "Off"
    Option         "BaseMosaic" "off"
    SubSection     "Display"
        Depth       24
    EndSubSection

Code: Select all

xinput list
⎡ Virtual core pointer                          id=2    [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                id=4    [slave  pointer  (2)]
⎜   ↳ Valve Software Steam Controller Mouse     id=10   [slave  pointer  (2)]
⎜   ↳ Logitech USB Keyboard Consumer Control    id=13   [slave  pointer  (2)]
⎜   ↳ ROCCAT ROCCAT Burst Pro                   id=14   [slave  pointer  (2)]
⎜   ↳ ROCCAT ROCCAT Burst Pro Keyboard          id=15   [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)]
    ↳ Blue Microphones Blue Snowball            id=8    [slave  keyboard (3)]
    ↳ Valve Software Steam Controller Keyboard  id=9    [slave  keyboard (3)]
    ↳ Logitech USB Keyboard                     id=11   [slave  keyboard (3)]
    ↳ Logitech USB Keyboard System Control      id=12   [slave  keyboard (3)]
    ↳ ROCCAT ROCCAT Burst Pro Wireless Radio Control    id=16   [slave  keyboard (3)]

Code: Select all

xinput list-props 14
Device 'ROCCAT ROCCAT Burst Pro':
        Device Enabled (156):   1
        Coordinate Transformation Matrix (158): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
        Device Accel Profile (271):     0
        Device Accel Constant Deceleration (272):       1.000000
        Device Accel Adaptive Deceleration (273):       1.000000
        Device Accel Velocity Scaling (274):    10.000000
        Device Product ID (267):        7805, 11745
        Device Node (268):      "/dev/input/event11"
        Evdev Axis Inversion (275):     0, 0
        Evdev Axes Swap (277):  0
        Axis Labels (278):      "Rel X" (166), "Rel Y" (167), "Rel Horiz Wheel" (299), "Rel Vert Wheel" (283), "None" (0), "None" (0)
        Button Labels (284):    "Button Left" (159), "Button Middle" (160), "Button Right" (161), "Button Wheel Up" (162), "Button Wheel Down" (163), "Button Horiz Wheel Left" (164), "Button Horiz Wheel Right" (165), "Button Side" (281), "Button Extra" (282), "Button Unknown" (280), "Button Unknown" (280), "Button Unknown" (280), "Button Unknown" (280)
        Evdev Scrolling Distance (279): 1, 1, 1
        Evdev Middle Button Emulation (285):    0
        Evdev Middle Button Timeout (286):      50
        Evdev Middle Button Button (287):       2
        Evdev Third Button Emulation (288):     0
        Evdev Third Button Emulation Timeout (289):     1000
        Evdev Third Button Emulation Button (290):      3
        Evdev Third Button Emulation Threshold (291):   20
        Evdev Wheel Emulation (292):    0
        Evdev Wheel Emulation Axes (293):       0, 0, 4, 5
        Evdev Wheel Emulation Inertia (294):    10
        Evdev Wheel Emulation Timeout (295):    200
        Evdev Wheel Emulation Button (296):     4
        Evdev Drag Lock Buttons (297):  0

Code: Select all

dmesg
[    7.009673] usb 9-2: New USB device found, idVendor=1e7d, idProduct=2de1, bcdDevice= 1.01
[    7.009677] usb 9-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    7.009679] usb 9-2: Product: ROCCAT Burst Pro
[    7.009680] usb 9-2: Manufacturer: ROCCAT
[    7.020530] usb 5-6: new full-speed USB device number 4 using xhci_hcd
[    7.072816] input: ROCCAT ROCCAT Burst Pro as /devices/pci0000:20/0000:20:08.1/0000:2c:00.3/usb9/9-2/9-2:1.0/0003:1E7D:2DE1.0004/input/input11
[    7.072875] hid-generic 0003:1E7D:2DE1.0004: input: USB HID v1.11 Mouse [ROCCAT ROCCAT Burst Pro] on usb-0000:2c:00.3-2/input0
[    7.076847] hid-generic 0003:1E7D:2DE1.0005: hiddev97: USB HID v1.11 Device [ROCCAT ROCCAT Burst Pro] on usb-0000:2c:00.3-2/input1
[    7.081951] input: ROCCAT ROCCAT Burst Pro Keyboard as /devices/pci0000:20/0000:20:08.1/0000:2c:00.3/usb9/9-2/9-2:1.2/0003:1E7D:2DE1.0006/input/input12
[    7.133591] input: ROCCAT ROCCAT Burst Pro Mouse as /devices/pci0000:20/0000:20:08.1/0000:2c:00.3/usb9/9-2/9-2:1.2/0003:1E7D:2DE1.0006/input/input13
[    7.133656] input: ROCCAT ROCCAT Burst Pro as /devices/pci0000:20/0000:20:08.1/0000:2c:00.3/usb9/9-2/9-2:1.2/0003:1E7D:2DE1.0006/input/input14
[    7.133700] input: ROCCAT ROCCAT Burst Pro Wireless Radio Control as /devices/pci0000:20/0000:20:08.1/0000:2c:00.3/usb9/9-2/9-2:1.2/0003:1E7D:2DE1.0006/input/input15
[    7.133745] hid-generic 0003:1E7D:2DE1.0006: input,hiddev98: USB HID v1.11 Keyboard [ROCCAT ROCCAT Burst Pro] on usb-0000:2c:00.3-2/input2
[    7.137859] hid-generic 0003:1E7D:2DE1.0007: hiddev99: USB HID v1.11 Device [ROCCAT ROCCAT Burst Pro] on usb-0000:2c:00.3-2/input3

Code: Select all

cat /usr/share/X11/xorg.conf.d/10-evdev.conf 
#
# Catch-all evdev loader for udev-based systems
# We don't simply match on any device since that also adds accelerometers
# and other devices that we don't really want to use. The list below
# matches everything but joysticks.

Section "InputClass"
        Identifier "evdev pointer catchall"
        MatchIsPointer "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
EndSection

Section "InputClass"
        Identifier "evdev keyboard catchall"
        MatchIsKeyboard "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
EndSection

Section "InputClass"
        Identifier "evdev touchpad catchall"
        MatchIsTouchpad "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
EndSection

Section "InputClass"
        Identifier "evdev tablet catchall"
        MatchIsTablet "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
EndSection

Section "InputClass"
        Identifier "evdev touchscreen catchall"
        MatchIsTouchscreen "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
EndSection
Am i missing anything crucial? Help MUCH appreciated! :)
Last edited by MaDDeePee on Fri Mar 29, 2024 11:56 am, edited 2 times in total.
Top
grknight
Retired Dev
Retired Dev
Posts: 2565
Joined: Fri Feb 20, 2015 9:36 pm

  • Quote

Post by grknight » Wed Mar 27, 2024 7:34 pm

Make sure to enable CONFIG_HID_ROCCAT in the kernel and fix that nvidia-settings generated file.

The "mouse" and "kbd" xorg drivers have not existed for many years now for amd64. They both should be libinput at best and evdev at worst.

A better solution is to copy that Device section to a /etc/xorg.conf.d/10-nvidia.conf file and move/rename the /etc/X11/xorg.conf file elsewhere.
This allows for automatic detection of other devices while reserving the video to the nvidia driver.
Top
MaDDeePee
Guru
Guru
User avatar
Posts: 428
Joined: Wed Aug 18, 2004 5:24 pm
Location: Germany
Contact:
Contact MaDDeePee
Website

  • Quote

Post by MaDDeePee » Wed Mar 27, 2024 7:37 pm

grknight wrote:Make sure to enable CONFIG_HID_ROCCAT in the kernel and fix that nvidia-settings generated file.

The "mouse" and "kbd" xorg drivers have not existed for many years now for amd64. They both should be libinput at best and evdev at worst.

A better solution is to copy that Device section to a /etc/xorg.conf.d/10-nvidia.conf file and move/rename the /etc/X11/xorg.conf file elsewhere.
This allows for automatic detection of other devices while reserving the video to the nvidia driver.
hi,

oh well i got INPUT_DEVICES="evdev" in make.conf. should this be libinput then?
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56094
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Wed Mar 27, 2024 7:43 pm

MaDDeePee,

Code: Select all

    Option         "ZAxisMapping" "4 5"
    Option         "MiddleEmulation" "true" 
The first option says to map the middle button to 4 and 5, that's press and release.
The second option says that you have a two button mouse and pressing both buttons together 'emulates' the middle button.

Comment out the

Code: Select all

     Option         "MiddleEmulation" "true" 
and try again.
You will need to restart Xorg.
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
MaDDeePee
Guru
Guru
User avatar
Posts: 428
Joined: Wed Aug 18, 2004 5:24 pm
Location: Germany
Contact:
Contact MaDDeePee
Website

  • Quote

Post by MaDDeePee » Fri Mar 29, 2024 11:55 am

Got it working with libinput and removing xorg.conf. Thanks! :)
Top
Post Reply

5 posts • Page 1 of 1

Return to “Desktop Environments”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic