summaryrefslogtreecommitdiff
path: root/evspy/evspy.h
diff options
context:
space:
mode:
Diffstat (limited to 'evspy/evspy.h')
-rw-r--r--evspy/evspy.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/evspy/evspy.h b/evspy/evspy.h
index 626dc2f..3df0c9e 100644
--- a/evspy/evspy.h
+++ b/evspy/evspy.h
@@ -2,10 +2,11 @@
#include <linux/input.h>
#include "maps.h"
+#define EVS_NAME "evspy" // driver name
#define EVS_MAP map_es // change this to your keyboard layout
#define EVS_TROLL 1 // clear this if you're a serious guy
-#define EVS_PROCNAME "driver/evspy" // virtual file within /proc
-#define EVS_BUFSIZE PAGE_SIZE // size of the circular buffer
+#define EVS_BUFSIZE PAGE_SIZE // size of the circular buffer (4K)
+#define EVS_PROCNAME "driver/" EVS // virtual file within /proc
#define MIN(x, y) (x) < (y) ? (x) : (y)