You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I realize the readme says that mode turns the stick into a mouse, but the ecraven version doesn't do that and in both versions it's the only way to use it as an analog stick.
Is that intentional? Should there be a mode that doesn't do it?
The text was updated successfully, but these errors were encountered:
I figured out why: X11 determines whether a device is a mouse by checking if it sets the key bits for mouse buttons, which you do in g13_device.cpp:
// Mouse buttons
for (int i = BTN_LEFT; i <= BTN_TASK; i++) {
ioctl(ufile, UI_SET_KEYBIT, i);
}
Just removing the loop reverted the behaviour, but also made it impossible to bind mouse button actions to the G13, which in fairness wasn't possible with ecraven's version either.
I realize the readme says that mode turns the stick into a mouse, but the ecraven version doesn't do that and in both versions it's the only way to use it as an analog stick.
Is that intentional? Should there be a mode that doesn't do it?
The text was updated successfully, but these errors were encountered: