aboutsummaryrefslogtreecommitdiff
path: root/macropad.pyw
diff options
context:
space:
mode:
Diffstat (limited to 'macropad.pyw')
-rwxr-xr-xmacropad.pyw4
1 files changed, 3 insertions, 1 deletions
diff --git a/macropad.pyw b/macropad.pyw
index 2687065..55bb1cf 100755
--- a/macropad.pyw
+++ b/macropad.pyw
@@ -25,8 +25,10 @@ config_file = path.join(script_path, "config.ini")
config = configparser.ConfigParser(delimiters="=")
config.read(config_file)
+from collections import OrderedDict
+
init_mapping = config["mapping"]
-mapping = dict(init_mapping)
+mapping = OrderedDict(init_mapping)
from queue import Queue
q = Queue()