From 533986a83e40120327f891d3c6aac7599c163cd6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-Fran=C3=A7ois=20Verdon?= Date: Fri, 19 Aug 2016 10:31:49 +0200 Subject: [PATCH] Resolving issue zeth/inputs#2 --- inputs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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),