diff --git a/inputs.py b/inputs.py index b1f8fb1..e5cbe4b 100644 --- a/inputs.py +++ b/inputs.py @@ -1299,7 +1299,7 @@ def convert_timeval(seconds_since_epoch): EVENT_MAP = ( ('types', EVENT_TYPES), - ('type_codes', ((value, key) for key, value in EVENT_TYPES)), + ('type_codes', tuple((value, key) for key, value in EVENT_TYPES)), ('wincodes', WINCODES), ('specials', SPECIAL_DEVICES), ('xpad', XINPUT_MAPPING),