| Summary: | Dvorak Keyboard Layout broken | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Greg Kennedy <hornpipe2> |
| Component: | events | Assignee: | Sam Lantinga <slouken> |
| Status: | RESOLVED WORKSFORME | QA Contact: | Sam Lantinga <slouken> |
| Severity: | minor | ||
| Priority: | P2 | ||
| Version: | 1.2.11 | ||
| Hardware: | x86 | ||
| OS: | Windows (All) | ||
|
Description
Greg Kennedy
2006-07-06 11:10:01 UTC
This is likely because we default to the windib driver now. Try forcing the directx driver and see if it makes a difference.
// Put this before the call to SDL_Init() ...
SDL_putenv("SDL_VIDEODRIVER=directx");
--ryan.
Tossing bug to Sam...this will probably be fixed as a side effect of the new keyboard code slated for 1.3? Please decide if you want to tackle this for 1.2, otherwise flag it as WONTFIX. --ryan. This appears to work with the latest SDL 1.2 snapshot and Windows 98
Here's the output of QWERTY in the DVORAK layout:
Key pressed: 39-' (') modifiers: (none)
Key pressed: 44-, (,) modifiers: (none)
Key pressed: 46-. (.) modifiers: (none)
Key released: 39-' modifiers: (none)
Key pressed: 112-p (p) modifiers: (none)
Key released: 44-, modifiers: (none)
Key released: 46-. modifiers: (none)
Key released: 112-p modifiers: (none)
Key pressed: 121-y (y) modifiers: (none)
Key released: 121-y modifiers: (none)
Key pressed: 102-f (f) modifiers: (none)
Key released: 102-f modifiers: (none)
Can you retest and reopen this bug if you're still seeing a problem with the latest SDL code?
You can get it from: http://www.libsdl.org/tmp/SDL-1.2.zip
|