From 84b9ddcc2905f5d8667cfef1359b724c23d27365 Mon Sep 17 00:00:00 2001 From: xengineering Date: Thu, 29 Oct 2020 12:11:32 +0100 Subject: Setup basic Systemd Units --- iot_barcode/static.py | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 iot_barcode/static.py (limited to 'iot_barcode/static.py') diff --git a/iot_barcode/static.py b/iot_barcode/static.py new file mode 100644 index 0000000..638f017 --- /dev/null +++ b/iot_barcode/static.py @@ -0,0 +1,20 @@ + + +"""Module to store static Data for the whole Package""" + + +CONFIG_PATH = "/etc/iot_barcode/config.json" + +KEYMAP = { + "KEY_0": "0", + "KEY_1": "1", + "KEY_2": "2", + "KEY_3": "3", + "KEY_4": "4", + "KEY_5": "5", + "KEY_6": "6", + "KEY_7": "7", + "KEY_8": "8", + "KEY_9": "9", + "KEY_ENTER": "\n", +} -- cgit v1.2.3-70-g09d2