Input devices question

Hi SDL users,

i read some information about input handling(sdldoc) and tried to run the event examples (with succes). But after this i have a question about input devices and input handling:

  • what kind of input devices does SDL support (besides mouse, joystick and keyboard)
    if SDL support other devices like spaceball, wheel etc, is there any information (like examples) about this.

about the mailing list / archives:

regards btang:D

  • what kind of input devices does SDL support
    (besides mouse, joystick and keyboard)
    if SDL support other devices like spaceball, wheel
    etc, is there any information (like examples) about
    this.

I have a PS/2 steering wheel that I have connected
through a Super Joybox 5
(http://www.lik-sang.com/info.php?category=23&products_id=3172)
and the wheel is treated like a JOY AXIS. This however
is a behavior of the Super Joybox 5, however, I don’t
see any other logical way for it to be treated. Why
don’t you plug in a wheel and find out?

If by spaceball you mean a trackball (like an inverted
mouse,) they are supported. Read these:

http://sdldoc.csn.ul.ieguideinput.php#GUIDEINPUTJOYSTICK
http://sdldoc.csn.ul.ie/sdljoyballevent.php

Hope these are good answers for your questions.__________________________________
Do you Yahoo!?
Friends. Fun. Try the all-new Yahoo! Messenger.

[…]

If by spaceball you mean a trackball (like an inverted
mouse,) they are supported. Read these:

The Spaceball I know of is a “6D” CAD/DCC controller:

http://www.alsos.com/Products/Devices/SpaceBall.html

It’s a force sensitive device, and much more similar to an analog
joystick than to “endless” devices such as mice and trackballs.

I suppose the drivers could make it look like a 6 axis joystick or
something. There are a few games that explicitly support these
devices, but I don’t know how they do it on the API level.

//David Olofson - Programmer, Composer, Open Source Advocate

.- Audiality -----------------------------------------------.
| Free/Open Source audio engine for games and multimedia. |
| MIDI, modular synthesis, real time effects, scripting,… |
`-----------------------------------> http://audiality.org -’
http://olofson.nethttp://www.reologica.se —On Tuesday 25 May 2004 11.56, Donny Viszneki wrote:

Just a question… Does SDL support the force feedback on a joystick?
Thanks.

David Olofson wrote:>On Tuesday 25 May 2004 11.56, Donny Viszneki wrote:

[…]

If by spaceball you mean a trackball (like an inverted
mouse,) they are supported. Read these:

The Spaceball I know of is a “6D” CAD/DCC controller:

http://www.alsos.com/Products/Devices/SpaceBall.html

It’s a force sensitive device, and much more similar to an analog
joystick than to “endless” devices such as mice and trackballs.

I suppose the drivers could make it look like a 6 axis joystick or
something. There are a few games that explicitly support these
devices, but I don’t know how they do it on the API level.

//David Olofson - Programmer, Composer, Open Source Advocate

.- Audiality -----------------------------------------------.
| Free/Open Source audio engine for games and multimedia. |
| MIDI, modular synthesis, real time effects, scripting,… |
`-----------------------------------> http://audiality.org -’
http://olofson.nethttp://www.reologica.se


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl

— Fabrice Chinjoie <fabrice.chinjoie at csiro.au>
wrote:

Just a question… Does SDL support the force
feedback on a joystick?
Thanks.

According to this:

http://sdldoc.csn.ul.ie/joystick.php

Not yet.__________________________________
Do you Yahoo!?
Friends. Fun. Try the all-new Yahoo! Messenger.