summaryrefslogtreecommitdiff
path: root/constants.py
diff options
context:
space:
mode:
authorGilles Castel <66gilles99@gmail.com>2019-03-08 14:16:01 +0100
committerGilles Castel <66gilles99@gmail.com>2019-03-08 14:16:01 +0100
commit278de2d7f69898b07bdd69edba7d84f9ddf2acab (patch)
tree0639b63d64ffe24b8835498e44d0adc9656e0fbe /constants.py
Initial commit
Diffstat (limited to 'constants.py')
-rw-r--r--constants.py61
1 files changed, 61 insertions, 0 deletions
diff --git a/constants.py b/constants.py
new file mode 100644
index 0000000..ae9ad52
--- /dev/null
+++ b/constants.py
@@ -0,0 +1,61 @@
+KEYSYM_MAP = {
+ 65307: "ESC",
+ 32: "SPACE",
+ 39: "'",
+ 44: ",",
+ 45: "-",
+ 46: ".",
+ 47: "/",
+ 48: "0",
+ 49: "1",
+ 50: "2",
+ 51: "3",
+ 52: "4",
+ 53: "5",
+ 54: "6",
+ 55: "7",
+ 56: "8",
+ 57: "9",
+ 59: ";",
+ 61: "=",
+ 91: "[",
+ 92: "\\",
+ 93: "]",
+ 96: "`",
+ 97: "a",
+ 98: "b",
+ 99: "c",
+ 100: "d",
+ 101: "e",
+ 102: "f",
+ 103: "g",
+ 104: "h",
+ 105: "i",
+ 106: "j",
+ 107: "k",
+ 108: "l",
+ 109: "m",
+ 110: "n",
+ 111: "o",
+ 112: "p",
+ 113: "q",
+ 114: "r",
+ 115: "s",
+ 116: "t",
+ 117: "u",
+ 118: "v",
+ 119: "w",
+ 120: "x",
+ 121: "y",
+ 122: "z",
+}
+
+TARGET = 'image/x-inkscape-svg'
+
+NORMAL = ''
+VIM = 'Vim'
+STYLE = 'Style'
+SAVE_STYLE = 'Save style'
+OBJECT = 'Object'
+SAVE_OBJECT = 'Save object'
+DISABLED = 'Disabled'