dokutan / mouse_m908

Control various Redragon gaming mice from Linux, BSD and Haiku
GNU General Public License v3.0
204 stars 36 forks source link

Possible to assign other mouse functions to m908? #49

Closed amper5and closed 1 year ago

amper5and commented 1 year ago

I would like to assign mouse right/left tilt click function to a key on the m908 (tilt click is when the scroll wheel tilts to the right/left on some mice and actually registers a click - usually for scrolling horizontally). The m908 doesn't actually have native tilt click functionality but is it possible to use this to program the m908 to send a tilt click when pressing a key?

dokutan commented 1 year ago

is it possible to use this to program the m908 to send a tilt click when pressing a key?

Unfortunately not, as the functionality is limited by the firmware.

I suggest mapping the keys to some unused keyboard keys (e.g. F13-F24 or some media controls) on the mouse, then using any of the uinput based tools to remap those to your desired events in userspace.

amper5and commented 1 year ago

That's what I suspected. Thank you for the reply and for this project.