The software for the Logitech G300s is what people might call sub-optimal to phrase it kindly.
Adding to the pain I couldn’t get the Logitech software to detect my mouse on Mac and on Win10 it doesn’t look better.
Unfortunately there is not much choice when looking for an ambidextrous mouse with more than 3 buttons (there seems to be even less choice for left-handed mouses with more than 3 buttons).
Fortunately there is this fantastic project named ratslap which allows configuring all the buttons in any way one would want, as long its HID compliant.
Combos, eg. a
+ b
+ c
, are not supported, but that seems to be a restriction of the hardware, not the project.
What might be interesting is that one can combine modifiers on the mouse with keys on the keyboard or the mouse and vice versa.
For instance changing one button to Ctrl
and holding it while using the mouse wheel to change the font size / zoom factor.
Or one button could be set to Super
and while holding it one could use the cursor keys to change the desktop / windows placement.
Changing the mouse configuration is CLI based and requires root
or at least sudo
permissions to execute the binary.
Resets all the button mappings and sets up some defaults. Most OS won’t do anything with buttons higher than Button3. But at least these could be remappd using software such as Karabiner (MacOs), AutoHotKey (Windows). On Linux the tool depends a bit on desktop environment used and if using X11 or Wayland…
Notable settings:
-
DPI ist set to 1000
-
Button8: Cycle through profiles
for profile in F{3-5}; do \
ratslap --modify "$profile" \
--rate 1000 \
--D1 250 \
--D2 500 \
--D3 750 \
--D4 1000 \
--default-dpi 4 \
-1 Button1 \
-2 Button2 \
-3 Button3 \
-4 Button6 \
-5 Button7 \
-6 Button8 \
-7 Button9 \
-8 ModeSwitch \
-9 Button11
Configuration:
Left | Middle | Right |
---|---|---|
Button1: |
Button3: |
Button2: |
Button5: |
Button9: |
Button7: |
Button4: |
Button8: |
Button6: |
ratslap --modify F3 \
-4 LeftCtrl \
-5 LeftAlt+Left \
-6 Super_L \
-7 LeftAlt+Right \
-9 LeftCtrl+LeftShift+t
Configuration:
Left | Middle | Right |
---|---|---|
Button1: |
Button3: |
Button2: |
Button5: |
Button9: |
Button7: |
Button4: |
Button8: |
Button6: |
ratslap --modify F4 \
-4 LeftCtrl \
-5 Super_L+Left \
-6 LeftCtrl+Up \
-7 Super_L+Right \
-9 Super_L+LeftShift+t