added keyboard mappings for ENTER, CANCL, and EXIT

Wed, 16 Apr 2014 02:07:24 -0600

author
andrew@localhost
date
Wed, 16 Apr 2014 02:07:24 -0600
changeset 146
fb6a37a266da
parent 139
d91346487fe9
child 147
ad888290cdff

added keyboard mappings for ENTER, CANCL, and EXIT

src/keyboard.c file | annotate | diff | revisions
     1.1 --- a/src/keyboard.c	Thu Apr 11 09:37:25 2013 +0100
     1.2 +++ b/src/keyboard.c	Wed Apr 16 02:07:24 2014 -0600
     1.3 @@ -18,13 +18,13 @@
     1.4  	{ SDLK_KP2,				0,	0x01 },	// ROLL/Up		[Keypad 2]
     1.5  //	{ SDLK_,				1,	0x02 },	// Clear Line
     1.6  //	{ SDLK_,				1,	0x03 },	// Rstrt / Ref
     1.7 -//	{ SDLK_,				1,	0x04 },	// Exit
     1.8 +	{ SDLK_ESCAPE,				1,	0x04 },	// Exit
     1.9  	{ SDLK_KP1,				0,	0x05 },	// PREV			[Keypad 1]
    1.10  //	{ SDLK_,				1,	0x06 },	// Msg
    1.11 -//	{ SDLK_,				1,	0x07 },	// Cancl
    1.12 +	{ SDLK_BACKSPACE,		1,	0x07 },	// Cancl
    1.13  	{ SDLK_BACKSPACE,		0,	0x08 },	// Backspace
    1.14  	{ SDLK_TAB,				0,	0x09 },	// Tab
    1.15 -//	{ SDLK_RETURN,			1,	0x0a },	// ENTER
    1.16 +	{ SDLK_RETURN,			1,	0x0a },	// ENTER
    1.17  	{ SDLK_DOWN,			0,	0x0b },	// ROLL/Down	[DownArrow]
    1.18  	{ SDLK_KP0,				0,	0x0b },	// ROLL/Down	[Keypad 0]
    1.19  	{ SDLK_KP3,				0,	0x0c },	// NEXT			[Keypad 3]