rivalcfg icon indicating copy to clipboard operation
rivalcfg copied to clipboard

Request: Sensei

Open herrwusel opened this issue 4 years ago • 4 comments

Thanks for this project. Would it be possible to add support for the Sensei mouse? I don't know how to help you but here is the xinput:

$ xinput --list-props 13
Device 'La-VIEW Technology SteelSeries  ':
        Device Enabled (148):   1
        Coordinate Transformation Matrix (150): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
        libinput Natural Scrolling Enabled (286):       0
        libinput Natural Scrolling Enabled Default (287):       0
        libinput Scroll Methods Available (290):        0, 0, 1
        libinput Scroll Method Enabled (291):   0, 0, 0
        libinput Scroll Method Enabled Default (292):   0, 0, 0
        libinput Button Scrolling Button (293): 2
        libinput Button Scrolling Button Default (294): 2
        libinput Middle Emulation Enabled (295):        0
        libinput Middle Emulation Enabled Default (296):        0
        libinput Accel Speed (297):     0.200000
        libinput Accel Speed Default (298):     0.000000
        libinput Accel Profiles Available (299):        1, 1
        libinput Accel Profile Enabled (300):   0, 1
        libinput Accel Profile Enabled Default (301):   1, 0
        libinput Left Handed Enabled (302):     0
        libinput Left Handed Enabled Default (303):     0
        libinput Send Events Modes Available (271):     1, 0
        libinput Send Events Mode Enabled (272):        0, 0
        libinput Send Events Mode Enabled Default (273):        0, 0
        Device Node (274):      "/dev/input/event8"
        Device Product ID (275):        4152, 4961
        libinput Drag Lock Buttons (288):       <no items>
        libinput Horizontal Scroll Enabled (289):       1

herrwusel avatar Mar 09 '20 16:03 herrwusel

Hello,

of course it is possible to support this mouse. But you will have to do some reverse engineering on it. See this post for more information: https://github.com/flozz/rivalcfg/pull/94#issuecomment-590305672

🙂️

flozz avatar Mar 09 '20 16:03 flozz

Will have a look on the weekend - thanks!

herrwusel avatar Mar 09 '20 16:03 herrwusel

I got it working so far. When I enable the mouse via USB in virtualbox, I'm not able to use it outside of the VM. Any idea how I can change this behaviour? In Wireshark I have multiple usbmon entries - any idea how to find out what's the correct one?

herrwusel avatar Mar 10 '20 12:03 herrwusel

  • You cannot use the mouse outside the VM when it is connected to the VM: you will need an other pointing device (other mouse, trackpad,...)

  • To know which usbmon entry to use, you have to look at which USB bus your mouse is connected to. Just type

    lsusb
    

    and you will have something like this:

    Bus 003 Device 003: ID 1038:1702 SteelSeries ApS SteelSeries Rival 100 Gaming Mouse
    

    here my mouse is on the bus 3, so I will have to use usbmon3

🙂️

flozz avatar Mar 10 '20 13:03 flozz