Does SDL’s event system work properly on linux/win32 textmode console?
I just ripped out the rendering part of my game-engine to make it possible
to build a dedicated server executable that runs on non-gui servers.
I would hate to have to write a second, non-SDL keyboard code.
My app doesn’t receive any keyboard events when running in console mode…
Does SDL’s event system work properly on linux/win32 textmode console?
I just ripped out the rendering part of my game-engine to make it possible
to build a dedicated server executable that runs on non-gui servers.
I would hate to have to write a second, non-SDL keyboard code.
My app doesn’t receive any keyboard events when running in console mode…
Yes, you need to setup a video mode to get keyboards events. But this
can be an ascii video mode so you can try to use the ascii art rendering
backend :
export SDL_VIDEODRIVER=aalib
Yes, you need to setup a video mode to get keyboards events. But this
can be an ascii video mode so you can try to use the ascii art rendering
backend :
export SDL_VIDEODRIVER=aalib
I’m sure it depends on what you’re doing and the platform you’re
using, but when I tested the aalib backend with my app, the keyboard
functions didn’t behave very well.