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
change source file mode to 0644 instead of 0755
[profile/mobile/platform/kernel/u-boot-tm1.git]
/
board
/
spreadtrum
/
sc8810_openphone
/
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
0x27, KEY_HOME,
8
0x42, KEY_BACK,
9
0x41, KEY_VOLUMEUP,
10
0x30, KEY_MENU,
11
};
12
13
#define CONFIG_KEYPAD_ROW_CNT 8
14
#define CONFIG_KEYPAD_COL_CNT 8
15
#define CONFIG_KEYPAD_LONG_CNT 0xc
16
#define CONFIG_KEYPAD_DEBOUNCE_CNT 0x5
17
#endif //_KEY_MAP_H_