Is there any support for force feedback devices?

Looking through Joystick API I fail to notice any support for force
feedback. I take that current API doesn’t have any support. Now that 1.3 is
coming is there going to be API support in it?

I’d be happy with a simple API to change position the joystick/wheel thinks
is the center and the force and speed to center device to this given center.
This way I can do all the effects I want from software and I’m not limited
to “engine”, “rough terrain” etc. effects when supporting a racing wheel for
example. I can emulate rough terrain by moving center back and forth rapidly
by myself.

  • Mikko

PS. Does somebody have a clue how to use USB MS FF Wheel under linux? I know
that MS doesn’t support it (surprise!) but if someone knows about a hack to
support, it I’d be interested.

Looking through Joystick API I fail to notice any support for force
feedback. I take that current API doesn’t have any support. Now that 1.3 is
coming is there going to be API support in it?

As far as I know force feedback is only available using the DirectInput API.
I’m hesitant to add something that only works on one platform.

Comments?

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

I remember reading about a linux force feedback device project at
linux games a few months back, I did’nt actually check there progress
though. If they’ve made any progress then linux would be a viable
platform too.

Looking through Joystick API I fail to notice any support for force
feedback. I take that current API doesn’t have any support. Now that 1.3
is

coming is there going to be API support in it?

As far as I know force feedback is only available using the DirectInput
API.> I’m hesitant to add something that only works on one platform.

Comments?

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


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

Looking through Joystick API I fail to notice any support for force
feedback. I take that current API doesn’t have any support. Now that 1.3 is
coming is there going to be API support in it?

As far as I know force feedback is only available using the DirectInput API.
I’m hesitant to add something that only works on one platform.

Comments?

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

http://www.esil.univ-mrs.fr/~jdeneux/projects/ff/ is a linux force feedback
driver. There’s a statement about integration into SDL on the site. Maybe
the best course of action is to design a ‘good’ api for handling force
feedback, then write backends for windows and the linux project, that’d at
least give people with the hardware and skill a goal to work towards?

    -Erik <@Erik_Greenwald> [http://math.smsu.edu/~erik]

The opinions expressed by me are not necessarily opinions. In all probability,
they are random rambling, and to be ignored. Failure to ignore may result in
severe boredom or confusion. Shake well before opening. Keep Refrigerated.

feedback. I take that current API doesn’t have any support. Now that 1.3 is
coming is there going to be API support in it?

The problem is that there is no force feedback on any platform but Win32
right now, so it’s almost pointless to support it in SDL at this moment.
If Linux support (and BeOS? MacOS?) for these devices start to appear,
then we can consider the best way to support them.

–ryan.

  • Sam Lantinga on Tue, Jul 31, 2001:

Looking through Joystick API I fail to notice any support for force
feedback. I take that current API doesn’t have any support. Now that 1.3 is
coming is there going to be API support in it?

As far as I know force feedback is only available using the DirectInput API.
I’m hesitant to add something that only works on one platform.

IIRC, James Simmons and/or Vojtech Pavlik were working on an API for force
feedback for ruby, codename for the linuxconsole project’s 2.5 input tree
(BTW some drivers do work in 2.4.x). You can find the ruby source at
http://sf.net/projects/linuxconsole-dev.

I don’t know if they ever completed their work - hence the crosspost :).

Linuxconsole-dev members, if you do reply to SDL, please include the line
"allow: post" (sans quotes) as the first line of your reply (if you aren’t
already subscribed). Thanks.

M. R.

[…]

http://www.esil.univ-mrs.fr/~jdeneux/projects/ff/ is a linux force
feedback driver. There’s a statement about integration into SDL on the
site. Maybe the best course of action is to design a ‘good’ api for
handling force feedback, then write backends for windows and the linux
project, that’d at least give people with the hardware and skill a goal
to work towards?

Well, provided that it’s obvious how to design a “perfect” API of that
kind, that might be a good idea. If not, it might be better to wait until
there are enough potential targets and users to test the API in real
applications.

So, IMHO, it boils down to: “Would the Win32/DX target be enough in the
case of SDL?”

//David Olofson — Programmer, Reologica Instruments AB

.- M A I A -------------------------------------------------.
| Multimedia Application Integration Architecture |
| A Free/Open Source Plugin API for Professional Multimedia |
----------------------> http://www.linuxaudiodev.com/maia -' .- David Olofson -------------------------------------------. | Audio Hacker - Open Source Advocate - Singer - Songwriter |--------------------------------------> david at linuxdj.com -'On Tuesday 31 July 2001 23:09, Erik Greenwald wrote:

Looking through Joystick API I fail to notice any support for force
feedback. I take that current API doesn’t have any support. Now that 1.3
is

coming is there going to be API support in it?

As far as I know force feedback is only available using the DirectInput
API.
I’m hesitant to add something that only works on one platform.

But if SDL doesn’t have any support for FF then what does? Nobody is going
to fix experimental drivers under Linux, MacOS etc if there’s no support
from applications (read: games). It took like 2 years before Windows games
supported FF even remotely well regardless that API was there. Even now only
Nascar 4 has good FF support IMHO.

According to the same logic if we cannot support OpenGL on all platforms we
shouldn’t have API support for it under any platform. Just make it clear
that all platforms cannot support this yet. If SDL supports at least Windows
and Linux I think majority of SDL users are happy for now.

  • Mikko

According to the same logic if we cannot support OpenGL on all platforms we
shouldn’t have API support for it under any platform. Just make it clear
that all platforms cannot support this yet. If SDL supports at least Windows
and Linux I think majority of SDL users are happy for now.

Linux, BeOS, Windows, and MacOS all support OpenGL. OpenGL is standardized
and robust and working as an API.

Force Feedback in SDL would be a wrapper over DirectX that we may or may
not be redesigning as Linux drivers do or do not show up. We’ll most
likely never see the drivers for MacOS or BeOS in the first place.

Thank you, drive through.

–ryan.

Force Feedback in SDL would be a wrapper over DirectX that we may or may
not be redesigning as Linux drivers do or do not show up. We’ll most
likely never see the drivers for MacOS or BeOS in the first place.

However, we may play with the API a bit as we work on SDL 1.3
If the Linux driver is robust enough, stable enough, and supports enough
hardware, then we may consider developing an API that works on Linux and
Windows. I believe MacOS classic had some sort of force feedback support
in InputSprockets, but I’m not sure.

Disclaimer: this is not a promise that SDL will support force-feedback.
Your best bet at this point is to write the code yourself and make valuable
suggestions on real-world experiences to the SDL development list.

chicken <–> egg? :slight_smile:

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

I read somewhere that initial support for some USB devices is working.

-RayOn Tuesday 31 July 2001 22:42, you wrote:

feedback. I take that current API doesn’t have any support. Now that 1.3
is coming is there going to be API support in it?

The problem is that there is no force feedback on any platform but Win32
right now, so it’s almost pointless to support it in SDL at this moment.
If Linux support (and BeOS? MacOS?) for these devices start to appear,
then we can consider the best way to support them.

–ryan.

I don’t know what happened, but apparently this didn’t get through as I
don’t see it in the archives.

M. R.

----- Forwarded message from Johann Deneux -----From: johannd@docs.uu.se (Johann Deneux)
Subject: Re: [SDL] Is there any support for force feedback devices?
Date: Wed, 1 Aug 2001 12:11:10 +0200 (MET DST)
To: sdl at libsdl.org
cc: linuxconsole-dev at lists.sourceforge.net
Precedence: bulk

allow: post

On Tue, 31 Jul 2001, M. R. Brown wrote:

  • Sam Lantinga on Tue, Jul 31, 2001:

Looking through Joystick API I fail to notice any support for force
feedback. I take that current API doesn’t have any support. Now that 1.3 is
coming is there going to be API support in it?

As far as I know force feedback is only available using the DirectInput API.
I’m hesitant to add something that only works on one platform.

IIRC, James Simmons and/or Vojtech Pavlik were working on an API for force
feedback for ruby, codename for the linuxconsole project’s 2.5 input tree
(BTW some drivers do work in 2.4.x). You can find the ruby source at
http://sf.net/projects/linuxconsole-dev.

I don’t know if they ever completed their work - hence the crosspost :).

Vojtech and I are working on force feedback support for Linux.
The driver is still in development, but it’s functionnal. Documentation is
available in ruby/linux/Documentation/input/ff.txt
Currently, only I-Force compatible devices are supported.


Johann Deneux
http://www.esil.univ-mrs.fr/~jdeneux/projects/


Linuxconsole-dev mailing list
Linuxconsole-dev at lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/linuxconsole-dev

----- End forwarded message -----

I don’t know what happened, but apparently this didn’t get through as I
don’t see it in the archives.

M. R.

----- Forwarded message from Vojtech Pavlik -----From: vojtech@suse.cz (Vojtech Pavlik)
Subject: Re: [SDL] Is there any support for force feedback devices?
Date: Wed, 1 Aug 2001 12:11:48 +0200
To: “M. R. Brown” <@M_R_Brown>
Cc: sdl at libsdl.org, linuxconsole-dev at lists.sourceforge.net

allow: post

On Tue, Jul 31, 2001 at 10:31:08PM -0500, M. R. Brown wrote:

  • Sam Lantinga on Tue, Jul 31, 2001:

Looking through Joystick API I fail to notice any support for force
feedback. I take that current API doesn’t have any support. Now that 1.3 is
coming is there going to be API support in it?

As far as I know force feedback is only available using the DirectInput API.
I’m hesitant to add something that only works on one platform.

IIRC, James Simmons and/or Vojtech Pavlik were working on an API for force
feedback for ruby, codename for the linuxconsole project’s 2.5 input tree
(BTW some drivers do work in 2.4.x). You can find the ruby source at
http://sf.net/projects/linuxconsole-dev.

I don’t know if they ever completed their work - hence the crosspost :).

Yes, it works with I-Force devices now.

Linuxconsole-dev members, if you do reply to SDL, please include the line
"allow: post" (sans quotes) as the first line of your reply (if you aren’t
already subscribed). Thanks.


Vojtech Pavlik
SuSE Labs

----- End forwarded message -----

allow: post

  • Sam Lantinga on Tue, Jul 31, 2001:

Looking through Joystick API I fail to notice any support for force
feedback. I take that current API doesn’t have any support. Now that 1.3 is
coming is there going to be API support in it?

As far as I know force feedback is only available using the DirectInput API.
I’m hesitant to add something that only works on one platform.

IIRC, James Simmons and/or Vojtech Pavlik were working on an API for force
feedback for ruby, codename for the linuxconsole project’s 2.5 input tree
(BTW some drivers do work in 2.4.x). You can find the ruby source at
http://sf.net/projects/linuxconsole-dev.

I don’t know if they ever completed their work - hence the crosspost :).

Yes, it works with I-Force devices now.On Tue, Jul 31, 2001 at 10:31:08PM -0500, M. R. Brown wrote:

Linuxconsole-dev members, if you do reply to SDL, please include the line
"allow: post" (sans quotes) as the first line of your reply (if you aren’t
already subscribed). Thanks.


Vojtech Pavlik
SuSE Labs

allow: postOn Tue, 31 Jul 2001, M. R. Brown wrote:

  • Sam Lantinga on Tue, Jul 31, 2001:

Looking through Joystick API I fail to notice any support for force
feedback. I take that current API doesn’t have any support. Now that 1.3 is
coming is there going to be API support in it?

As far as I know force feedback is only available using the DirectInput API.
I’m hesitant to add something that only works on one platform.

IIRC, James Simmons and/or Vojtech Pavlik were working on an API for force
feedback for ruby, codename for the linuxconsole project’s 2.5 input tree
(BTW some drivers do work in 2.4.x). You can find the ruby source at
http://sf.net/projects/linuxconsole-dev.

I don’t know if they ever completed their work - hence the crosspost :).

Vojtech and I are working on force feedback support for Linux.
The driver is still in development, but it’s functionnal. Documentation is
available in ruby/linux/Documentation/input/ff.txt
Currently, only I-Force compatible devices are supported.


Johann Deneux
http://www.esil.univ-mrs.fr/~jdeneux/projects/

I don’t know what happened, but apparently this didn’t get through as I
don’t see it in the archives.

They were deferred so the admin (me) could approve the posts.
allow: post doesn’t work anymore.

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

  • M. R. Brown <@M_R_Brown> on Wed, Aug 01, 2001:

I don’t know what happened, but apparently this didn’t get through as I
don’t see it in the archives.

M. R.

I guess I spoke too soon :P.

So is there normally a day turnaround time for mails that originate from
non-subscribers?

M. R.> ----- Forwarded message from Johann Deneux -----

From: Johann Deneux
Subject: Re: [SDL] Is there any support for force feedback devices?
Date: Wed, 1 Aug 2001 12:11:10 +0200 (MET DST)
To: sdl at libsdl.org
cc: linuxconsole-dev at lists.sourceforge.net
Precedence: bulk

allow: post

So is there normally a day turnaround time for mails that originate from
non-subscribers?

Yep.

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