about summary refs log tree commit diff stats
path: root/src/teliva.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/teliva.h')
-rw-r--r--src/teliva.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/teliva.h b/src/teliva.h
new file mode 100644
index 0000000..dfe322d
--- /dev/null
+++ b/src/teliva.h
@@ -0,0 +1,24 @@
+#ifndef __TELIVA_H__
+#define __TELIVA_H__
+
+enum KEY_ACTION {
+  KEY_NULL = 0,
+  CTRL_B = 2,
+  CTRL_C = 3,
+  CTRL_D = 4,
+  CTRL_E = 5,
+  CTRL_F = 6,
+  CTRL_G = 7,
+  CTRL_H = 8,
+  TAB = 9,
+  ENTER = 10,
+  CTRL_L = 12,
+  CTRL_Q = 17,
+  CTRL_R = 18,
+  CTRL_S = 19,
+  CTRL_U = 21,
+  CTRL_X = 24,
+  ESC = 27,
+};
+
+#endif