39 lines
510 B
C
39 lines
510 B
C
|
/*
|
|||
|
* keys.h
|
|||
|
*
|
|||
|
* Created on: 26 <EFBFBD><EFBFBD><EFBFBD>. 2018 <EFBFBD>.
|
|||
|
* Author: toporov
|
|||
|
*/
|
|||
|
|
|||
|
#ifndef KEYS_H_
|
|||
|
#define KEYS_H_
|
|||
|
|
|||
|
//#include "my.h"
|
|||
|
|
|||
|
typedef enum
|
|||
|
{
|
|||
|
KEY_PW = 0x01,
|
|||
|
KEY_UP = 0x02,
|
|||
|
KEY_DN = 0x04,
|
|||
|
KEY_RT = 0x08,
|
|||
|
KEY_LT = 0x10,
|
|||
|
KEY_OK = 0x20,
|
|||
|
KEY_TMP = 0x40,
|
|||
|
|
|||
|
KEY_LONG_OK = 0x80
|
|||
|
} typeKeys;
|
|||
|
|
|||
|
/*
|
|||
|
#define KEY_TMP (0x40)
|
|||
|
#define KEY_OK (0x20)
|
|||
|
#define KEY_LT (0x10)
|
|||
|
#define KEY_RT (0x08)
|
|||
|
#define KEY_DN (0x04)
|
|||
|
#define KEY_UP (0x02)
|
|||
|
#define KEY_PW (0x01)
|
|||
|
*/
|
|||
|
|
|||
|
#define KEY_DBZ (2)//(200)
|
|||
|
|
|||
|
#endif /* KEYS_H_ */
|