MSP device support complete. NOT TESTED YET! Preliminary python host lib
[cerebrum.git] / avr / input.h
blob748935f1378974fd990c325e7dd71e37c37fed39
2 #ifndef __INPUTS_H__
3 #define __INPUTS_H__
4 #include <avr/io.h>
5 #include "config.h"
6 #include "util.h"
7 #include "uart.h"
9 void input_setup(void);
10 void input_loop(void);
12 #ifdef HAS_INPUT_SUPPORT
14 extern uint8_t debounce_timeouts[INPUT_COUNT];
15 extern uint8_t switch_states[INPUT_COUNT];
16 void input_scan_inputs(void);
17 void input_callback(uint8_t input, uint8_t state);
19 #endif//HAS_INPUT_SUPPORT
20 #endif//__INPUTS_H__