projects
/
profile
/
mobile
/
platform
/
kernel
/
u-boot-tm1.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
i2c: i2c_hal: remove the unnecessary debug message
[profile/mobile/platform/kernel/u-boot-tm1.git]
/
board
/
spreadtrum
/
sp8825ea
/
key_map.h
1
#ifndef _KEY_MAP_H_
2
#define _KEY_MAP_H_
3
4
#include <linux/key_code.h>
5
6
static unsigned char board_key_map[]={
7
#if 0
8
0x27, KEY_HOME,
9
0x42, KEY_BACK,
10
0x41, KEY_VOLUMEUP,
11
#else
12
0x00, KEY_BACK,//DOWN
13
0x01, KEY_HOME,//CAM
14
0x10, KEY_MENU,//UP
15
#endif
16
};
17
18
#define CONFIG_KEYPAD_ROW_CNT 5
19
#define CONFIG_KEYPAD_COL_CNT 5
20
#define CONFIG_KEYPAD_LONG_CNT 0xc
21
#define CONFIG_KEYPAD_DEBOUNCE_CNT 0x5
22
#endif //_KEY_MAP_H_