Search found 2 matches

by crashy
Mon Aug 15, 2016 3:16 pm
Forum: General Development
Topic: wxwidgets and sdl/sdl2 (linux and windows) - no sdl events
Replies: 6
Views: 3390

Re: wxwidgets and sdl/sdl2 (linux and windows) - no sdl events

Hi ! My whole codebase is quite big so I cannot post the whole thing. But if you want some precise parts I can post them. This is how I handle the sdl key events: SDL_Event events[OIS_SDL_KEY_BUFF]; int count = SDL_PeepEvents(events, OIS_SDL_KEY_BUFF, SDL_GETEVENT,SDL_KEYDOWN , SDL_KEYUP); for( int ...
by crashy
Mon Aug 15, 2016 8:46 am
Forum: General Development
Topic: wxwidgets and sdl/sdl2 (linux and windows) - no sdl events
Replies: 6
Views: 3390

Re: wxwidgets and sdl/sdl2 (linux and windows) - no sdl events

Hi, I know this post is 2 years old, but I have exactly the same issue here. I have a sdl window created with SDL_CreateWindowFrom, and can succesfully grab inputs on windows, but not Linux. As arnoldemu, I suspect wxwidgets to grab all inputs before sdl can see them. //Edit: and of course, I receiv...