git.ucc.asn.au
/
uccvend-snackrom.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
TIDYUP: Remove scans about original CokeBrain new board never implemented
[uccvend-snackrom.git]
/
ROM2
/
keypad.h
1
#ifndef _KEYPAD_H_
2
#define _KEYPAD_H_
3
4
#define KEY_1 1
5
#define KEY_2 2
6
#define KEY_3 3
7
#define KEY_4 4
8
#define KEY_5 5
9
#define KEY_6 6
10
#define KEY_7 7
11
#define KEY_8 8
12
#define KEY_9 9
13
#define KEY_0 10
14
#define KEY_RESET 11
15
16
extern volatile u8 last_key;
17
18
/* returns true if a key has been pressed since the last call */
19
bool keypad_pressed();
20
void keypad_read();
21
u8 keypad_getkey();
22
void keypad_init();
23
24
#endif /* _KEYPAD_H_ */
UCC
git Repository :: git.ucc.asn.au