23 lines
287 B
C
23 lines
287 B
C
#ifndef __MATRIXKEY_H
|
|
#define __MATRIXKEY_H
|
|
|
|
|
|
#include<stdint.h>
|
|
#include "directkey.h"
|
|
// enum {State0=0, State1, State2};
|
|
#define NO_KEY 0xFF
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
|
|
uint8_t MatrixKeyScan(void);
|
|
extern uint8_t const KeyTable[16];
|
|
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif |