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 3419 - SDL_KEYDOWN does not detect spacebar
Summary: SDL_KEYDOWN does not detect spacebar
Status: RESOLVED INVALID
Alias: None
Product: SDL
Classification: Unclassified
Component: events (show other bugs)
Version: 2.0.4
Hardware: x86_64 Windows 10
: P2 major
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-08-31 14:00 UTC by Kubissus
Modified: 2017-08-11 20:58 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kubissus 2016-08-31 14:00:20 UTC
SDLK_SPACE does not work. 
SDL_KEYUPD does detect spacebar.
Comment 1 Sam Lantinga 2017-08-11 20:58:16 UTC
You can't check for SDLK_SPACE, you need to look for SDL_SCANCODE_SPACE in SDL 2.0.

Please reopen this bug if you've tried the checkkeys test program and are not seeing the space bar reporting properly.

Thanks!