projects
/
laserbrain_demo
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rudimentary gamepad controls
[laserbrain_demo]
/
src
/
app.h
diff --git
a/src/app.h
b/src/app.h
index
09b1c82
..
d81b848
100644
(file)
--- a/
src/app.h
+++ b/
src/app.h
@@
-26,6
+26,9
@@
void app_mouse_button(int bn, bool pressed, int x, int y);
void app_mouse_motion(int x, int y);
void app_mouse_delta(int dx, int dy);
void app_mouse_motion(int x, int y);
void app_mouse_delta(int dx, int dy);
+void app_gamepad_axis(int axis, float val);
+void app_gamepad_button(int bn, bool pressed);
+
// the following functions are implemented by the backend (main.cc)
void app_quit();
void app_swap_buffers();
// the following functions are implemented by the backend (main.cc)
void app_quit();
void app_swap_buffers();