Hello everyone,
I have a Logitech G300S mouse, that the system recognizes but it won’t recognize clicks. I am able to move the cursor freely, but all buttons do not respond.
yes disable the keyboard and FOLLOW the instructions in the archwiki as described !!!
We have to disable the G300 keyboard to make it work correctly as follows:
#!/bin/sh
DEVICE_ID=$(xinput list | grep "Logitech Gaming Mouse G300" | grep keyboard | sed 's/.*id=\([0-9]*\).*/\1/')
if xinput -list-props $DEVICE_ID | grep "Device Enabled" | grep "1$" > /dev/null
then
xinput set-int-prop $DEVICE_ID "Device Enabled" 8 0
fi
Make this executable and run it to see if everything is working. You can also put it into your xinitrc.d to make it load automatically.
Another shorter version:
You’ve probably figured this out by now. It’s a composite device, a mouse and a keyboard, because it’s a programmable mouse. If you disable the keyboard you won’t be able to bind keyboard keys or combos.
The above script works as intended but it also disables the buttons, since we disabled the keyboard function of the G300. To make this mouse working as a mouse and being able to use the buttons, we can use ratslapAUR for customization (colors and buttons). - Archwiki linked above.
If that’s correct then the mouse is sending keyboard keys instead of mouse buttons. Maybe you just need to configure it correctly instead of disabling the keyboard, having said that the mouse should already be configured properly. Alas I don’t have one to test.
If you click on your link it takes you to https://archwiki/ which is invalid.