summaryrefslogtreecommitdiffstats
path: root/src/target/firmware/board/compal/keymap.h
blob: ce8f9c246551a1648124f7c48a06fd2f27fba9f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/* keymap for the Compal C1xx phones */

static const uint8_t keymap[] = {
	[KEY_0]		= 13,
	[KEY_1]		= 15,
	[KEY_2]		= 10,
	[KEY_3]		= 5,
	[KEY_4]		= 16,
	[KEY_5]		= 11,
	[KEY_6]		= 6,
	[KEY_7]		= 17,
	[KEY_8]		= 12,
	[KEY_9]		= 7,
	[KEY_STAR]	= 18,
	[KEY_HASH]	= 8,
	[KEY_MENU]	= 14,
	[KEY_LEFT_SB]	= 19,
	[KEY_RIGHT_SB]	= 9,
	[KEY_UP]	= 1,
	[KEY_DOWN]	= 2,
	[KEY_LEFT]	= 3,
	[KEY_RIGHT]	= 4,
	[KEY_OK]	= 0,
	[KEY_POWER]	= 24,
	[KEY_MINUS]	= 30,	/* not existent */
	[KEY_PLUS]	= 31,	/* not existent */
};