diff options
author | epoch <epoch@hack.thebackupbox.net> | 2020-04-14 11:50:30 +0000 |
---|---|---|
committer | epoch <epoch@hack.thebackupbox.net> | 2020-04-14 11:50:30 +0000 |
commit | 459bff40e078a3979573000a903b288bcc9a8d3f (patch) | |
tree | cd8e75a66129042803729924352de80d7a5f5041 /src/input.h | |
parent | ede4c08f4f15a516a748f8ed89b4f6b06b845c2a (diff) | |
parent | 9f5c79eff1a3fae473bbdd12afcb77875d8548af (diff) | |
download | hackvr-459bff40e078a3979573000a903b288bcc9a8d3f.tar.gz hackvr-459bff40e078a3979573000a903b288bcc9a8d3f.zip |
Merge branch 'master' of /var/git/hackvr
Diffstat (limited to 'src/input.h')
-rw-r--r-- | src/input.h | 14 |
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 |