Added the Undo key for the Atari keyboard
authorSam Lantinga <slouken@libsdl.org>
Fri, 14 Sep 2001 04:33:01 +0000
changeset 184 3142d2ac11db
parent 183 561c2d2f3505
child 185 34d316d5e744
Added the Undo key for the Atari keyboard
include/SDL_keysym.h
src/events/SDL_keyboard.c
--- a/include/SDL_keysym.h	Fri Sep 14 02:59:59 2001 +0000
+++ b/include/SDL_keysym.h	Fri Sep 14 04:33:01 2001 +0000
@@ -284,6 +284,7 @@
 	SDLK_MENU		= 319,
 	SDLK_POWER		= 320,		/* Power Macintosh power key */
 	SDLK_EURO		= 321,		/* Some european keyboards */
+	SDLK_UNDO		= 322,		/* Atari keyboard has Undo */
 
 	/* Add any other keys here */
 
--- a/src/events/SDL_keyboard.c	Fri Sep 14 02:59:59 2001 +0000
+++ b/src/events/SDL_keyboard.c	Fri Sep 14 04:33:01 2001 +0000
@@ -316,6 +316,7 @@
 	keynames[SDLK_MENU] = "menu";
 	keynames[SDLK_POWER] = "power";
 	keynames[SDLK_EURO] = "euro";
+	keynames[SDLK_UNDO] = "undo";
 
 	/* Done.  Whew. */
 	return(0);