-
Rafael Kitover authored
On joystick event notification, filter out axis values that are equal to their initial state. The reason for doing this is explained in 539027ca. Triggers on e.g. the 360 controller are an axis that are the max negative value in the depressed state, and for some reason a constant stream of events are generated for them, that's another issue that needs to be addressed. For the time being, this fixes the other half of the main issue in #88: users with an old config with the default special key bindings will now be able to use keyboard hotkeys as these spurious joystick events will be filtered out and will not block keyboard events. TODO: - stop generating events for depressed triggers in the first place - fix joystick events completely blocking keyboard events
e57beed8