repo.or.cz
/
cerebrum.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Trying to clean up the config fuckup
[cerebrum.git]
/
input.h
blob
8f608c7c3acae553a47a9f3cf65159b0783e1778
1
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"
8
9
void
input_setup
(
void
);
10
void
input_loop
(
void
);
11
12
#ifdef HAS_INPUT_SUPPORT
13
14
extern
uint8_t
debounce_timeouts
[
INPUT_COUNT
];
15
extern
uint8_t
switch_states
[
INPUT_COUNT
];
16
void
input_scan_inputs
(
void
);
17
18
#endif
//HAS_INPUT_SUPPORT
19
#endif
//__INPUTS_H__