add devterm_keyboard_mini init code

This commit is contained in:
cuu
2022-10-07 19:40:58 +08:00
parent 24d160c64b
commit 54a9333747
37 changed files with 15161 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
#ifndef KEYS_H
#define KEYS_H
/*
* keys include the joystick and mouse left/mid/right keys
*/
#include "devterm.h"
#include "keys_io_map.h"
#include <stdint.h>
#include <stdbool.h>
#include <string.h>
#ifndef KEY_DEBOUNCE
# define KEY_DEBOUNCE 5
#endif
#define KEYS_NUM 17
void keys_task(DEVTERM*);
void keys_init(DEVTERM*);
#endif