summaryrefslogtreecommitdiff
path: root/keyboardpython
diff options
context:
space:
mode:
authorWilliam Holland <william.holland@codethink.co.uk>2015-05-30 17:49:53 +0100
committerWilliam Holland <william.holland@codethink.co.uk>2015-05-30 17:49:53 +0100
commit85c981e5122bcb53e5e4c9e822b3496313da16af (patch)
treef0ece25d36185c1268aa6cb22c70bbfd323e9376 /keyboardpython
parent6eada2a74f2fa175c658a36c55c8488cdbf04381 (diff)
downloadkeyboard-python-85c981e5122bcb53e5e4c9e822b3496313da16af.tar.bz2
Add more special character names
Diffstat (limited to 'keyboardpython')
-rw-r--r--keyboardpython/key.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/keyboardpython/key.py b/keyboardpython/key.py
index 237d92a..89372af 100644
--- a/keyboardpython/key.py
+++ b/keyboardpython/key.py
@@ -1,4 +1,11 @@
ESC = '\x1b'
+Erase = '\x7f'
+Backspace = '\b'
+Alert = '\a'
+Tab = '\t'
+vTab = '\v'
+NL = '\n'
+CR = '\r'
def _assert_type(thing,_type):
''' if thing is not of type _type raise an exception '''