diff --git a/inputs.py b/inputs.py index 7778ece..12562f7 100644 --- a/inputs.py +++ b/inputs.py @@ -1233,7 +1233,7 @@ def iter_unpack(raw): EVENT_MAP = ( ('types', EVENT_TYPES), - ('type_codes', ((value, key) for key, value in EVENT_TYPES)), + ('type_codes', list((value, key) for key, value in EVENT_TYPES)), ('wincodes', WINCODES), ('specials', SPECIAL_DEVICES), ('xpad', XINPUT_MAPPING),