summaryrefslogtreecommitdiff
path: root/src/input.h
diff options
context:
space:
mode:
authorepoch <epoch@hack.thebackupbox.net>2020-04-14 11:50:30 +0000
committerepoch <epoch@hack.thebackupbox.net>2020-04-14 11:50:30 +0000
commit459bff40e078a3979573000a903b288bcc9a8d3f (patch)
treecd8e75a66129042803729924352de80d7a5f5041 /src/input.h
parentede4c08f4f15a516a748f8ed89b4f6b06b845c2a (diff)
parent9f5c79eff1a3fae473bbdd12afcb77875d8548af (diff)
downloadhackvr-459bff40e078a3979573000a903b288bcc9a8d3f.tar.gz
hackvr-459bff40e078a3979573000a903b288bcc9a8d3f.zip
Merge branch 'master' of /var/git/hackvr
Diffstat (limited to 'src/input.h')
-rw-r--r--src/input.h14
1 files changed, 10 insertions, 4 deletions
diff --git a/src/input.h b/src/input.h
index 15b28f4..0c878e6 100644
--- a/src/input.h
+++ b/src/input.h
@@ -1,11 +1,17 @@
#ifndef _HV_MOUSE_H_
#define _HV_MOUSE_H_
+//these might as well be in keyboard.h and mouse.h
+//but I don't have separate files for those yet.
+//all keyboard and mouse drivers will need to implement these functions
+
#include <idc.h>
-int input_init();
-void input_event_handler(struct shit *me,char *line);
-int mouse_event_handler();
-int keyboard_event_handler();
+//these *_init() will return the fd that will have the keyboard and mouse events
+int mouse_init();
+int keyboard_init();
+//these two functions are libidc handlers
+void mouse_event_handler(struct shit *,char *);
+void keyboard_event_handler(struct shit *,char *);
#endif