changeset 184:3142d2ac11db

Added the Undo key for the Atari keyboard
author Sam Lantinga <slouken@libsdl.org>
date Fri, 14 Sep 2001 04:33:01 +0000
parents 561c2d2f3505
children 34d316d5e744
files include/SDL_keysym.h src/events/SDL_keyboard.c
diffstat 2 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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);