List gamepads

This commit is contained in:
Marc Riera 2022-10-12 01:15:56 +02:00
parent 139875808a
commit 5a8522d05a
5 changed files with 69 additions and 48 deletions

View file

@ -20,7 +20,6 @@ class Gamepad:
self.name = name
""" cap = {
e.EV_KEY : [e.BTN_NORTH, e.BTN_SOUTH, e.BTN_EAST, e.BTN_WEST, e.BTN_SELECT, e.BTN_START],
e.EV_ABS : [(e.ABS_X, AbsInfo(0, 0, 255, 0, 0, 0)), (e.ABS_Y, AbsInfo(0, 0, 255, 0, 0, 0))]