[1.2]-Can I Read Keyboard Input Without Creating An SDL Screen?

[1.2]-Can I Read Keyboard Input Without Creating An SDL Screen?

Hi,

I’m designing the engine to my next game.

Here is what I am trying to do:
SFML - graphic rendering, mouse input
SDL[1.2] - audio, keyboard & joystick input, timing

Can I read keyboard input using SDL without creating an SDL Screen?

Thanks in advance!

Jesse "JeZ+Lee"
SLNTHERO at aol.com
Silent Hero Productions®
Video Game Design Studio
www.SilentHeroProductions.com

[1.2]-Can I Read Keyboard Input Without Creating An SDL Screen?

Hi,

I’m designing the engine to my next game.

Here is what I am trying to do:
SFML - graphic rendering, mouse input
SDL[1.2] - audio, keyboard & joystick input, timing

Can I read keyboard input using SDL without creating an SDL Screen?

Trying to mix and match two different frameworks is not likely to work
well. I would say pick one and stick to it. If you feel there is that
much advantage to using SFML for some parts of your application then I
would suggest trying to embedded an SFML window in to and SDL window.
But, seriously, I would never consider this kind of a mash up.

Bob PendletonOn Tue, Sep 1, 2009 at 6:16 PM, Jesse Palser wrote:

Thanks in advance!

Jesse "JeZ+Lee"
SLNTHERO at aol.com
Silent Hero Productions®
Video Game Design Studio
www.SilentHeroProductions.com


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


±----------------------------------------------------------

Hi Bob,

Thanks for the response.
I think I can get this to work.
(SFML and SDL in one project)

I’m tired of waiting for SDL 1.3
SFML successfully uses OpenGL on Windows/Linux/OSX

I not going to make mash potatoes…

JeZ+Lee

Bob Pendleton wrote:> On Tue, Sep 1, 2009 at 6:16 PM, Jesse Palser wrote:

[1.2]-Can I Read Keyboard Input Without Creating An SDL Screen?

Hi,

I’m designing the engine to my next game.

Here is what I am trying to do:
SFML - graphic rendering, mouse input
SDL[1.2] - audio, keyboard & joystick input, timing

Can I read keyboard input using SDL without creating an SDL Screen?

Trying to mix and match two different frameworks is not likely to work
well. I would say pick one and stick to it. If you feel there is that
much advantage to using SFML for some parts of your application then I
would suggest trying to embedded an SFML window in to and SDL window.
But, seriously, I would never consider this kind of a mash up.

Bob Pendleton

Thanks in advance!

Jesse "JeZ+Lee"
SLNTHERO at aol.com
Silent Hero Productions®
Video Game Design Studio
www.SilentHeroProductions.com


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

I’m designing the engine to my next game.

Here is what I am trying to do:
SFML - graphic rendering, mouse input
SDL[1.2] - audio, keyboard & joystick input, timing

Can I read keyboard input using SDL without creating an SDL Screen?

In Adonthell, we’ve been initializing the different parts of SDL
separately, and from that experience I would derive the following:

Audio, timing and joystick can be used without an SDL window. But both
mouse and keyboard input are tied to the window. At any rate,
SDL_InitSubSystem will be your friend.

KaiOn Wed, Sep 2, 2009 at 1:16 AM, Jesse Palser wrote: