tizen 2.4 release
[profile/mobile/platform/kernel/u-boot-tm1.git] / board / spreadtrum / sp7730gga_lc / 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    0x10, KEY_VOLUMEUP,//DOWN
16    0x01, KEY_HOME,//CAM
17    0x00, KEY_VOLUMEDOWN,//UP
18 #endif
19 };
20
21 #define CONFIG_KEYPAD_ROW_CNT 5
22 #define CONFIG_KEYPAD_COL_CNT 5
23 #define CONFIG_KEYPAD_LONG_CNT 0xc
24 #define CONFIG_KEYPAD_DEBOUNCE_CNT 0x5
25 #endif //_KEY_MAP_H_