summaryrefslogtreecommitdiff
path: root/firmware/target/hosted
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/hosted')
-rw-r--r--firmware/target/hosted/sdl/button-sdl.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/firmware/target/hosted/sdl/button-sdl.h b/firmware/target/hosted/sdl/button-sdl.h
index e61920cc04..e6fcb9ea83 100644
--- a/firmware/target/hosted/sdl/button-sdl.h
+++ b/firmware/target/hosted/sdl/button-sdl.h
@@ -29,6 +29,10 @@
29bool button_hold(void); 29bool button_hold(void);
30#undef button_init_device 30#undef button_init_device
31void button_init_device(void); 31void button_init_device(void);
32#ifdef HAVE_BUTTON_DATA
33int button_read_device(int *data);
34#else
32int button_read_device(void); 35int button_read_device(void);
36#endif
33 37
34#endif /* __BUTTON_SDL_H__ */ 38#endif /* __BUTTON_SDL_H__ */