X-Git-Url: http://git.rohieb.name/hackover2013-badge-firmware.git/blobdiff_plain/3c932d305715878e01a77659a30a3e4d967fc244..ead4a16614e0b46cf7e4f00feec1411067c1c6f4:/badge/ui/event.h diff --git a/badge/ui/event.h b/badge/ui/event.h index 5871207..920df40 100644 --- a/badge/ui/event.h +++ b/badge/ui/event.h @@ -28,6 +28,7 @@ extern "C" { static inline uint8_t badge_event_old_input_state(badge_event_t event) { return (uint8_t) (event >> 2 & 0x7f); } static inline uint8_t badge_event_new_input_state(badge_event_t event) { return (uint8_t) (event >> 9 ); } + uint8_t badge_input_raw(void); uint8_t badge_event_current_input_state(void); static inline badge_event_t badge_event_new(uint8_t type, uint8_t old_input_state, uint8_t new_input_state) {