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

Summary: SDL_KEYDOWN does not detect spacebar
Product: SDL Reporter: Kubissus <kubissus>
Component: eventsAssignee: Sam Lantinga <slouken>
Status: RESOLVED INVALID QA Contact: Sam Lantinga <slouken>
Severity: major    
Priority: P2    
Version: 2.0.4   
Hardware: x86_64   
OS: Windows 10   

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!