erebus
diff liberebus/src/erebus.h @ 9:d38e13d6063c
foo
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Sat, 24 May 2014 17:22:53 +0300 |
parents | e2d9bf168a41 |
children | b1fc96c71bcc |
line diff
1.1 --- a/liberebus/src/erebus.h Sat May 24 06:12:57 2014 +0300 1.2 +++ b/liberebus/src/erebus.h Sat May 24 17:22:53 2014 +0300 1.3 @@ -39,6 +39,12 @@ 1.4 1.5 int erb_load_scene(struct erebus *ctx, const char *fname); 1.6 1.7 +bool erb_input_keyboard(struct erebus *ctx, int key, bool pressed); 1.8 +bool erb_input_mouse_button(struct erebus *ctx, int bn, bool pressed, int x, int y); 1.9 +bool erb_input_mouse_motion(struct erebus *ctx, int x, int y); 1.10 +bool erb_input_6dof_button(struct erebus *ctx, int bn, bool pressed); 1.11 +bool erb_input_6dof_motion(struct erebus *ctx, float x, float y, float z); 1.12 + 1.13 #ifdef __cplusplus 1.14 } 1.15 #endif