Available Input Devices?

I realize it’s common (and fairly reasonable) to assume there is a keyboard
and mouse attached to the system, but does SDL provide a way for me to be
/sure/?

Documentation does not seem to offer me any solutions. Do I just assume?

Thanks,
– Jeff

I realize it’s common (and fairly reasonable) to assume there is a keyboard
and mouse attached to the system, but does SDL provide a way for me to be
/sure/?

Unless you specify otherwise, the SDL video initialization will probably
fail unless the system has a mouse and keyboard attached (or is faking it)

There isn’t currently a way to query for mouse and keyboard(s).
This is planned for the SDL 1.3 rewrite.

See ya,
-Sam Lantinga, Software Engineer, Blizzard Entertainment

There isn’t currently a way to query for mouse and keyboard(s).
This is planned for the SDL 1.3 rewrite.

Will there be support for multiple mice as well ? That would be sweet =)–
Trick


Linux User #229006 * http://counter.li.org

“There is no magic” - Nakor, magic user

Unless you specify otherwise, the SDL video initialization will probably
fail unless the system has a mouse and keyboard attached (or is faking it)

nod It’s easy enough to list "keyboard and mouse’ under program
requirements. I’m curious about the “Unless you specify otherwise” bit of
what you said, though - where would I do this?

There isn’t currently a way to query for mouse and keyboard(s).
This is planned for the SDL 1.3 rewrite.

1.3 seems like it’s going to be a very interesting beast. I don’t suppose
you have a full shader-language implementation layering on top of either D3D
or OpenGL planned as well, do you? Heh.

Thanks,
– Jeff