diff include/SDL_scancode.h @ 2305:fbe8ff44c519

First pass of new SDL scancode concept for X11.
author Sam Lantinga <slouken@libsdl.org>
date Thu, 07 Feb 2008 15:31:09 +0000
parents d87417504c75
children 99210400e8b9
line wrap: on
line diff
--- a/include/SDL_scancode.h	Tue Feb 05 07:30:50 2008 +0000
+++ b/include/SDL_scancode.h	Thu Feb 07 15:31:09 2008 +0000
@@ -91,7 +91,7 @@
     SDL_SCANCODE_TAB = 43,
     SDL_SCANCODE_SPACE = 44,
 
-    SDL_SCANCODE_HYPHENMINUS = 45,
+    SDL_SCANCODE_MINUS = 45,
     SDL_SCANCODE_EQUALS = 46,
     SDL_SCANCODE_LEFTBRACKET = 47,
     SDL_SCANCODE_RIGHTBRACKET = 48,
@@ -286,27 +286,28 @@
     SDL_SCANCODE_AUDIOPLAY = 261,
     SDL_SCANCODE_AUDIOMUTE = 262,
     SDL_SCANCODE_MEDIASELECT = 263,
-    SDL_SCANCODE_MAIL = 264,
-    SDL_SCANCODE_CALCULATOR = 265,
-    SDL_SCANCODE_COMPUTER = 266,
-    SDL_SCANCODE_AC_SEARCH = 267,
-    SDL_SCANCODE_AC_HOME = 268,
-    SDL_SCANCODE_AC_BACK = 269,
-    SDL_SCANCODE_AC_FORWARD = 270,
-    SDL_SCANCODE_AC_STOP = 271,
-    SDL_SCANCODE_AC_REFRESH = 272,
-    SDL_SCANCODE_AC_BOOKMARKS = 273,
+    SDL_SCANCODE_WWW = 264,
+    SDL_SCANCODE_MAIL = 265,
+    SDL_SCANCODE_CALCULATOR = 266,
+    SDL_SCANCODE_COMPUTER = 267,
+    SDL_SCANCODE_AC_SEARCH = 268,
+    SDL_SCANCODE_AC_HOME = 269,
+    SDL_SCANCODE_AC_BACK = 270,
+    SDL_SCANCODE_AC_FORWARD = 271,
+    SDL_SCANCODE_AC_STOP = 272,
+    SDL_SCANCODE_AC_REFRESH = 273,
+    SDL_SCANCODE_AC_BOOKMARKS = 274,
 
     /* These are values that Christian Walther added (for mac keyboard?) */
 
-    SDL_SCANCODE_BRIGHTNESSDOWN = 274,
-    SDL_SCANCODE_BRIGHTNESSUP = 275,
-    SDL_SCANCODE_DISPLAYSWITCH = 276, /**< display mirroring/dual display switch, video mode switch */
-    SDL_SCANCODE_KBDILLUMTOGGLE = 277,
-    SDL_SCANCODE_KBDILLUMDOWN = 278,
-    SDL_SCANCODE_KBDILLUMUP = 279,
-    SDL_SCANCODE_EJECT = 280,
-    SDL_SCANCODE_SLEEP = 281,
+    SDL_SCANCODE_BRIGHTNESSDOWN = 275,
+    SDL_SCANCODE_BRIGHTNESSUP = 276,
+    SDL_SCANCODE_DISPLAYSWITCH = 277, /**< display mirroring/dual display switch, video mode switch */
+    SDL_SCANCODE_KBDILLUMTOGGLE = 278,
+    SDL_SCANCODE_KBDILLUMDOWN = 279,
+    SDL_SCANCODE_KBDILLUMUP = 280,
+    SDL_SCANCODE_EJECT = 281,
+    SDL_SCANCODE_SLEEP = 282,
 
     /* Add any other keys here */