Skip to content

event-mapping: Fix the mapping to button pression definition

Adrien Plazas requested to merge wip/aplazas/axis-dpad into master

Use the whole range and not just half of it to decide whether an axis mapped as a button is pressed or not. This prevents negative analog axes mapped to buttons from never being pressed.

This sits on top of https://gitlab.gnome.org/aplazas/libmanette/merge_requests/9

Merge request reports