Force feedback in SDL

Hi guys,
I have used SDL for the development of the game Tuxtype.I would like to
develop a force feedback system into the game.Can someone give me a
direction in this context?

Regards,
Sreyas

This is a question that keeps coming up, every once in a while. And yeah, I’d like to see it too. But apparently the technology behind force feedback is complicated enough that the developers are having some trouble figuring out a good way to implement it. The general consensus seems to be, “We’ll put this in once we figure out how to do it right.”>Hi guys,

I have used SDL for the development of the game Tuxtype.I would like to develop a force feedback system into
the game.Can someone give me a direction in this context?

Regards,
Sreyas

Is Tux Typing even controllable with a joystick!? :)On Tue, Mar 18, 2008 at 08:40:20PM +0530, sreyas k wrote:

Hi guys,
I have used SDL for the development of the game Tuxtype.I would like to
develop a force feedback system into the game.Can someone give me a
direction in this context?


-bill!
bill at newbreedsoftware.com
http://www.newbreedsoftware.com/

This is a question that keeps coming up, every once in a while. And
yeah, I’d like to see it too. But apparently the technology behind
force feedback is complicated enough that the developers are having some
trouble figuring out a good way to implement it. The general consensus
seems to be, “We’ll put this in once we figure out how to do it right.”

It’s actually one of the ideas for the Google Summer of Code efforts.

The gist is we need someone to figure out what’s available on major
operating systems, and build a reasonable API that all of them can
use…which is more or less how all the other parts of SDL work.

The first step is going to be research!
The next step is probably deciding if this runs independently of the
joystick API, or becomes part of it.

–ryan.

Hi guys,On Tue, Mar 18, 2008 at 11:28 PM, Bill Kendrick wrote:

On Tue, Mar 18, 2008 at 08:40:20PM +0530, sreyas k wrote:

Hi guys,
I have used SDL for the development of the game Tuxtype.I would like
to
develop a force feedback system into the game.Can someone give me a
direction in this context?

Is Tux Typing even controllable with a joystick!? :slight_smile:

Actually tuxtype isnt controllable with a joystick.I was just saying that
the whole tuxtype game was developed by SDL and it would be a good feature
to add this to SDL so that the developers can develop even better games.
Last time tuxtype was listed in the gsoc project by the swathanthra
malayalam software organization

Regards,
Sreyas

Hi guys,On Wed, Mar 19, 2008 at 1:04 AM, Ryan C. Gordon wrote:

This is a question that keeps coming up, every once in a while. And
yeah, I’d like to see it too. But apparently the technology behind
force feedback is complicated enough that the developers are having some
trouble figuring out a good way to implement it. The general consensus
seems to be, “We’ll put this in once we figure out how to do it right.”

It’s actually one of the ideas for the Google Summer of Code efforts.

The gist is we need someone to figure out what’s available on major
operating systems, and build a reasonable API that all of them can
use…which is more or less how all the other parts of SDL work.

The first step is going to be research!
The next step is probably deciding if this runs independently of the
joystick API, or becomes part of it.

-ryan.

Thanks a lot!!!

Regards,
Sreyas

Well, one of the first uses I ever heard about for force-feedback technology was actually for a mouse. The idea was to make the mouse “feedback” when it moved over a clickable object in a GUI. Force-feedback has become strongly linked to joysticks/gamepads through the work of Sony and Nintendo, but I don’t believe it was designed to be exclusively a joystick thing.>It’s actually one of the ideas for the Google Summer of Code efforts.

The gist is we need someone to figure out what’s available on major
operating systems, and build a reasonable API that all of them can
use…which is more or less how all the other parts of SDL work.

The first step is going to be research!
The next step is probably deciding if this runs independently of the
joystick API, or becomes part of it.

Well, one of the first uses I ever heard about for force-feedback
technology was actually for a mouse. The idea was to make the mouse
"feedback" when it moved over a clickable object in a GUI. Force-feedback
has become strongly linked to joysticks/gamepads through the work of Sony
and Nintendo, but I don’t believe it was designed to be exclusively a
joystick thing.

It’s actually one of the ideas for the Google Summer of Code
efforts.

The gist is we need someone to figure out what’s available on
major
operating systems, and build a reasonable API that all of them
can
use…which is more or less how all the other parts of SDL
work.

The first step is going to be research!
The next step is probably deciding if this runs independently
of the
joystick API, or becomes part of it.

The force feedback system was first implemented to benifit the visually
challenged.So is the SOC idea to implement on a joystick or a mouse or both?

Regards,
SreyasOn Wed, Mar 19, 2008 at 6:53 PM, Mason Wheeler wrote:

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

The force feedback system was first implemented to benifit the
visually challenged.So is the SOC idea to implement on a joystick or a
mouse or both?

Just because I’m easily confused, is this regarding Force Feedback in the
sense of micro-motors that actively work against what you’re trying to do
(as in joysticks that push back or limit the range of motion depending on
context) or just in the sense of vibration/rumble packs?On Wed, 2008-03-19 at 19:08 +0530, sreyas k wrote:


All new Yahoo! Mail “The new Interface is stunning in its simplicity and ease of use.” - PC Magazine
http://uk.docs.yahoo.com/nowyoucan.html

The force feedback system was first implemented to benifit the
visually challenged.So is the SOC idea to implement on a joystick
or a
mouse or both?

Just because I’m easily confused, is this regarding Force Feedback
in the
sense of micro-motors that actively work against what you’re trying
to do
(as in joysticks that push back or limit the range of motion
depending on
context) or just in the sense of vibration/rumble packs?

The important question to me in this regard is, Is there a difference
in how these two are done? If so, that makes it more complicated to
implement, doesn’t it? Thus far we have two force-feedback setups
now. I remember playing Pod Racer on PC with a Force Feedback enabled
joystick, and indeed, what it did was push against the player’s own
efforts to simulate the vehicle naturally trying to turn certain
directions from forces in the game (terrain, objects, other racers
hitting you, etc…). But there’s also the simple vibration feedback
a la PS1 and most consoles ever since where you just have motors that
you turn on and off in varying intervals to create “rumble” effects.

This is me, thinking aloud, but would it be prudent to have, given
this discrepancy, two separate setups? Force Feedback and Rumble?
Does anyone know already how either of these are implemented on even
just one system?

– ScottOn Mar 19, 2008, at 9:59 AM, Paul Duffy wrote:

On Wed, 2008-03-19 at 19:08 +0530, sreyas k wrote:

In slight response to myself, I looked up Force Feedback on the two
systems I run (Windows/Mac), and it looks like you control vibration
and straight force all through the same API on both. Also, it appears
that Force Feedback is not directly related to joysticks at all, but
rather you get a list of feedback-enabled devices, and lists of their
capabilities, etc…

Here are the links I found:

http://msdn2.microsoft.com/en-us/library/bb206285(VS.85).aspx
http://developer.apple.com/documentation/DeviceDrivers/Reference/ForceFeedback/index.html#/
/apple_ref/doc/uid/TP30000818

I partially wasn’t even sure that the Mac HAD a built-in way to get
force feedback, as I don’t play a lot of feedback-enabled games on my
Mac, but it’s definitely there. I haven’t spent much time comparing
the two (and I’m REALLY not familiar with DirectX’s usage of the C
programming language, and I mostly use Java, much to my self-
disappointment), but they seem relatively similar in WHAT they do and
HOW they do it. Keep in mind I said, “relatively”. :slight_smile:

Hope this helps someone.

– Scott