Kekun / gnome-games

Moving to gnome.org — A game manager application for GNOME
https://git.gnome.org/browse/gnome-games/
GNU General Public License v3.0
21 stars 4 forks source link

gamepads: A wrong mapping can make the application crash #313

Closed Kekun closed 7 years ago

Kekun commented 7 years ago

I encountered a crash caused by a wrong gamepad mapping. When trying to access an axis mapping with GamepadMapping.get_axis_mapping(), the program crashed on event.type = axes_type[axis_number]: axis_number was a valid vallue but out of the bounds of axes_type because of the wrong mapping.