Added the Undo key for the Atari keyboard
authorSam Lantinga <slouken@libsdl.org>
Fri, 14 Sep 2001 04:33:01 +0000
changeset 1843142d2ac11db
parent 183 561c2d2f3505
child 185 34d316d5e744
Added the Undo key for the Atari keyboard
include/SDL_keysym.h
src/events/SDL_keyboard.c
     1.1 --- a/include/SDL_keysym.h	Fri Sep 14 02:59:59 2001 +0000
     1.2 +++ b/include/SDL_keysym.h	Fri Sep 14 04:33:01 2001 +0000
     1.3 @@ -284,6 +284,7 @@
     1.4  	SDLK_MENU		= 319,
     1.5  	SDLK_POWER		= 320,		/* Power Macintosh power key */
     1.6  	SDLK_EURO		= 321,		/* Some european keyboards */
     1.7 +	SDLK_UNDO		= 322,		/* Atari keyboard has Undo */
     1.8  
     1.9  	/* Add any other keys here */
    1.10  
     2.1 --- a/src/events/SDL_keyboard.c	Fri Sep 14 02:59:59 2001 +0000
     2.2 +++ b/src/events/SDL_keyboard.c	Fri Sep 14 04:33:01 2001 +0000
     2.3 @@ -316,6 +316,7 @@
     2.4  	keynames[SDLK_MENU] = "menu";
     2.5  	keynames[SDLK_POWER] = "power";
     2.6  	keynames[SDLK_EURO] = "euro";
     2.7 +	keynames[SDLK_UNDO] = "undo";
     2.8  
     2.9  	/* Done.  Whew. */
    2.10  	return(0);