sezanzeb / input-remapper

🎮 ⌨ An easy to use tool to change the behaviour of your input devices.
GNU General Public License v3.0
3.75k stars 155 forks source link

Logitech MX Master 3S: can't map via logi bolt adapter #814

Closed Flashwalker closed 2 weeks ago

Flashwalker commented 10 months ago

Issue:

Can't bind anything on Logitech MX Master 3S mouse if i plug it via Logi Bolt adapter. Input Remaper doesn't show the mouse.

image

But evtest does and events fires.

mx-master-3s-logibolt-connection.png image

Some logs:

  1. input-remapper-control --version

    input-remapper 2.0.0 9e04df79ca4dca77516a9864d740b9b2d4aef788 https://github.com/sezanzeb/input-remapper
    python-evdev 1.4.0
  2. If a button on your device doesn't show up in the GUI, verify that the button is reporting an event via sudo evtest. If not, input-remapper won't be able to map that button.

Yes Events have been logged

  1. If yes, please run input-remapper-gtk -d, reproduce the problem and then share the logs.

Log: https://fars.ee/aQ17.html

Additional info:

If I connect this mouse via Bluetooth, I am able to successfully bind the keys Here is screenshot with Bluetooth connected mouse:

mx-master-3s-bluetooth-connection.jpg 2023-11-27_02-59-12

UPD: But not all of buttons i'm able to remap via bluetooth connection.

mx-master-3s-bluetooth-connection.jpg mx-master-3s-bluetooth-connection

Can't remap gesture button, Input-remaper gui doesn't detect the event:

gesture button evtest:
Event: time 1701059531.047656, type 4 (EV_MSC), code 4 (MSC_SCAN), value 90006
Event: time 1701059531.047656, type 1 (EV_KEY), code 277 (BTN_FORWARD), value 1
Event: time 1701059531.047656, -------------- SYN_REPORT ------------
Event: time 1701059531.243785, type 4 (EV_MSC), code 4 (MSC_SCAN), value 90006
Event: time 1701059531.243785, type 1 (EV_KEY), code 277 (BTN_FORWARD), value 0
Event: time 1701059531.243785, -------------- SYN_REPORT ------------

And also can't remap the wheel, Input-remaper gui doesn't detect the event:

wheel up evtest:
Event: time 1701059569.375815, type 2 (EV_REL), code 11 (REL_WHEEL_HI_RES), value 16
Event: time 1701059569.375815, -------------- SYN_REPORT ------------
Event: time 1701059569.411753, type 2 (EV_REL), code 11 (REL_WHEEL_HI_RES), value 16
Event: time 1701059569.411753, -------------- SYN_REPORT ------------
Event: time 1701059569.419736, type 2 (EV_REL), code 11 (REL_WHEEL_HI_RES), value 24
Event: time 1701059569.419736, -------------- SYN_REPORT ------------
Event: time 1701059569.431772, type 2 (EV_REL), code 11 (REL_WHEEL_HI_RES), value 40
Event: time 1701059569.431772, type 2 (EV_REL), code 8 (REL_WHEEL), value 1
Event: time 1701059569.431772, -------------- SYN_REPORT ------------
Event: time 1701059569.443787, type 2 (EV_REL), code 11 (REL_WHEEL_HI_RES), value 24
Event: time 1701059569.443787, -------------- SYN_REPORT ------------
Event: time 1701059569.707779, type 2 (EV_REL), code 11 (REL_WHEEL_HI_RES), value 16
Event: time 1701059569.707779, -------------- SYN_REPORT ------------
Event: time 1701059569.773203, type 2 (EV_REL), code 11 (REL_WHEEL_HI_RES), value 16
Event: time 1701059569.773203, -------------- SYN_REPORT ------------
Event: time 1701059569.779791, type 2 (EV_REL), code 11 (REL_WHEEL_HI_RES), value 24
Event: time 1701059569.779791, -------------- SYN_REPORT ------------
Event: time 1701059569.795743, type 2 (EV_REL), code 11 (REL_WHEEL_HI_RES), value 16
Event: time 1701059569.795743, type 2 (EV_REL), code 8 (REL_WHEEL), value 1
Event: time 1701059569.795743, -------------- SYN_REPORT ------------
Event: time 1701059569.803837, type 2 (EV_REL), code 11 (REL_WHEEL_HI_RES), value 40
Event: time 1701059569.803837, -------------- SYN_REPORT ------------
Event: time 1701059570.015854, type 2 (EV_REL), code 11 (REL_WHEEL_HI_RES), value 16
Event: time 1701059570.015854, -------------- SYN_REPORT ------------
Event: time 1701059570.759777, type 2 (EV_REL), code 11 (REL_WHEEL_HI_RES), value 16
Event: time 1701059570.759777, -------------- SYN_REPORT ------------
Event: time 1701059570.791735, type 2 (EV_REL), code 11 (REL_WHEEL_HI_RES), value 24
Event: time 1701059570.791735, -------------- SYN_REPORT ------------
Event: time 1701059570.831686, type 2 (EV_REL), code 11 (REL_WHEEL_HI_RES), value 16
Event: time 1701059570.831686, type 2 (EV_REL), code 8 (REL_WHEEL), value 1
Event: time 1701059570.831686, -------------- SYN_REPORT ------------
Event: time 1701059570.839721, type 2 (EV_REL), code 11 (REL_WHEEL_HI_RES), value 24
Event: time 1701059570.839721, -------------- SYN_REPORT ------------
Event: time 1701059570.851700, type 2 (EV_REL), code 11 (REL_WHEEL_HI_RES), value 16
Event: time 1701059570.851700, -------------- SYN_REPORT ------------
Event: time 1701059570.983820, type 2 (EV_REL), code 11 (REL_WHEEL_HI_RES), value 16
Event: time 1701059570.983820, -------------- SYN_REPORT ------------
Event: time 1701059571.343771, type 2 (EV_REL), code 11 (REL_WHEEL_HI_RES), value 16
Event: time 1701059571.343771, -------------- SYN_REPORT ------------
Event: time 1701059571.379776, type 2 (EV_REL), code 11 (REL_WHEEL_HI_RES), value 24
Event: time 1701059571.379776, -------------- SYN_REPORT ------------
Event: time 1701059571.391769, type 2 (EV_REL), code 11 (REL_WHEEL_HI_RES), value 16
Event: time 1701059571.391769, -------------- SYN_REPORT ------------
Event: time 1701059571.399718, type 2 (EV_REL), code 11 (REL_WHEEL_HI_RES), value 24
Event: time 1701059571.399718, type 2 (EV_REL), code 8 (REL_WHEEL), value 1
Event: time 1701059571.399718, -------------- SYN_REPORT ------------
Event: time 1701059571.411780, type 2 (EV_REL), code 11 (REL_WHEEL_HI_RES), value 24
Event: time 1701059571.411780, -------------- SYN_REPORT ------------
Event: time 1701059571.455743, type 2 (EV_REL), code 11 (REL_WHEEL_HI_RES), value 16
Event: time 1701059571.455743, -------------- SYN_REPORT ------------

wheel down evtest:
Event: time 1701059608.087807, type 2 (EV_REL), code 11 (REL_WHEEL_HI_RES), value -16
Event: time 1701059608.087807, -------------- SYN_REPORT ------------
Event: time 1701059608.135816, type 2 (EV_REL), code 11 (REL_WHEEL_HI_RES), value -16
Event: time 1701059608.135816, -------------- SYN_REPORT ------------
Event: time 1701059608.147731, type 2 (EV_REL), code 11 (REL_WHEEL_HI_RES), value -24
Event: time 1701059608.147731, -------------- SYN_REPORT ------------
Event: time 1701059608.167789, type 2 (EV_REL), code 11 (REL_WHEEL_HI_RES), value -48
Event: time 1701059608.167789, type 2 (EV_REL), code 8 (REL_WHEEL), value -1
Event: time 1701059608.167789, -------------- SYN_REPORT ------------
Event: time 1701059608.211722, type 2 (EV_REL), code 11 (REL_WHEEL_HI_RES), value -16
Event: time 1701059608.211722, -------------- SYN_REPORT ------------
Event: time 1701059608.503779, type 2 (EV_REL), code 11 (REL_WHEEL_HI_RES), value -16
Event: time 1701059608.503779, -------------- SYN_REPORT ------------
Event: time 1701059608.539758, type 2 (EV_REL), code 11 (REL_WHEEL_HI_RES), value -24
Event: time 1701059608.539758, -------------- SYN_REPORT ------------
Event: time 1701059608.571824, type 2 (EV_REL), code 11 (REL_WHEEL_HI_RES), value -24
Event: time 1701059608.571824, type 2 (EV_REL), code 8 (REL_WHEEL), value -1
Event: time 1701059608.571824, -------------- SYN_REPORT ------------
Event: time 1701059608.583692, type 2 (EV_REL), code 11 (REL_WHEEL_HI_RES), value -32
Event: time 1701059608.583692, -------------- SYN_REPORT ------------
Event: time 1701059608.595743, type 2 (EV_REL), code 11 (REL_WHEEL_HI_RES), value -16
Event: time 1701059608.595743, -------------- SYN_REPORT ------------
Event: time 1701059608.727907, type 2 (EV_REL), code 11 (REL_WHEEL_HI_RES), value -16
Event: time 1701059608.727907, -------------- SYN_REPORT ------------
Event: time 1701059608.839842, type 2 (EV_REL), code 11 (REL_WHEEL_HI_RES), value -16
Event: time 1701059608.839842, -------------- SYN_REPORT ------------
Event: time 1701059608.875737, type 2 (EV_REL), code 11 (REL_WHEEL_HI_RES), value -24
Event: time 1701059608.875737, -------------- SYN_REPORT ------------
Event: time 1701059608.891806, type 2 (EV_REL), code 11 (REL_WHEEL_HI_RES), value -24
Event: time 1701059608.891806, type 2 (EV_REL), code 8 (REL_WHEEL), value -1
Event: time 1701059608.891806, -------------- SYN_REPORT ------------
Event: time 1701059608.899731, type 2 (EV_REL), code 11 (REL_WHEEL_HI_RES), value -24
Event: time 1701059608.899731, -------------- SYN_REPORT ------------
Event: time 1701059608.911739, type 2 (EV_REL), code 11 (REL_WHEEL_HI_RES), value -24
Event: time 1701059608.911739, -------------- SYN_REPORT ------------

MX-Master-options02

Flashwalker commented 9 months ago

Today I was able to remap the side buttons on another Logitech MX master 3S mouse, which was plugged via LogiBolt USB receiver.

Logitech-MX-Master-3S-second-mouse-screen1

Logitech-MX-Master-3S-second-mouse-screen2

Logitech-MX-Master-3S-second-mouse-screen3