We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 685 - Keyboard keys
Summary: Keyboard keys
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: *don't know* (show other bugs)
Version: HG 2.0
Hardware: x86 Other
: P2 normal
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-20 02:22 UTC by Eric Miranda
Modified: 2009-12-15 17:08 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Miranda 2009-01-20 02:22:51 UTC
Hi, 

In file:

+++ include/SDL_keysym.h        (working copy)
@@ -242,7 +242,17 @@
     SDLK_KBDILLUMDOWN = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KBDILLUMDOWN),
     SDLK_KBDILLUMUP = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KBDILLUMUP),
     SDLK_EJECT = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_EJECT),
-    SDLK_SLEEP = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_SLEEP)
+    SDLK_SLEEP = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_SLEEP),
+    SDLK_EQUALS             = 61,
+    SDLK_LEFTBRACKET        = 91,
+    SDLK_RIGHTBRACKET       = 93,
+    SDLK_SEMICOLON          = 59,
+    SDLK_BACKSLASH          = 92,
+    SDLK_COMMA              = 44,
+    SDLK_PERIOD             = 46,
+    SDLK_SLASH              = 47,
+    SDLK_LMETA              = 310,
+    SDLK_LAST
 };

Some keys "definitions" aren´t present.

I did this (ugly... sorry, i´m not a developer) patch in order to compile some programs.

tnx!
Comment 1 Sam Lantinga 2009-02-16 22:02:45 UTC
What programs were you trying to build that needed this fix?

Thanks!
Comment 2 Sam Lantinga 2009-12-15 17:08:00 UTC
The missing keysyms have been added to SDL_keysym.h.  Thanks!