You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
244 B

/*
key.h
*/
#ifndef _KEY_H
#define KEY_H
#define KEY_NONE 0
#define KEY_SELECT 1
#define KEY_NEXT 2
int key_add(uint8_t key);
uint8_t key_get(void);
extern volatile uint8_t key_queue_start;
extern volatile uint8_t key_queue_end;
#endif