extern bool opt_gear_wireframe;
extern bool fb_srgb;
+extern unsigned int sdr_ltmap, sdr_ltmap_notex;
+
enum {
MOD_SHIFT = 1,
MOD_ALT = 2,
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();