Force Feedback?

Is there any way to use Force Feedback (with driving wheel under Linux) in SDL?–
http://decopter.sf.net - free unrealistic helicopter simulator

Is there any way to use Force Feedback (with driving wheel under Linux) in SDL?

Not at the moment. Is the feedback joystick support robust under Linux now? :slight_smile:

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

I will buy Logitech Formula Force today.
In /usr/src/linux/Documentation/input/joystick.txt I found this driving wheel
is supported by kernel (haven’t checked sources yet).On Thu, Aug 22, 2002 at 08:34:16PM -0700, Sam Lantinga wrote:

Not at the moment. Is the feedback joystick support robust under Linux now? :slight_smile:


http://decopter.sf.net - free unrealistic helicopter simulator

I have a MS Sidewinder Forcefeedback Pro and as far as I know there’s no
code anywhere to do force feedback within the driver, but I could be
wrong. I’m just assuming as I’ve never heard of a Linux app that used
force feedback. Somebody tell me I’m wrong, I’d like to start using it.
:slight_smile:

– chris (@Christopher_Thielen)On Fri, 2002-08-23 at 01:25, Jacek Pop?awski wrote:

On Thu, Aug 22, 2002 at 08:34:16PM -0700, Sam Lantinga wrote:

Not at the moment. Is the feedback joystick support robust under Linux now? :slight_smile:

I will buy Logitech Formula Force today.
In /usr/src/linux/Documentation/input/joystick.txt I found this driving wheel
is supported by kernel (haven’t checked sources yet).


http://decopter.sf.net - free unrealistic helicopter simulator


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

Maybe someone should wrote it then.On Fri, Aug 23, 2002 at 01:36:06AM -0700, Chris Thielen wrote:

I’m just assuming as I’ve never heard of a Linux app that used force
feedback.


http://decopter.sf.net - free unrealistic helicopter simulator

Looks like in /usr/src/linux/drivers/char/joystick/iforce.c there is a lot of
stuff about force feedback. But this is driver for my Logitech, not MS. And I
am going to play tonight :-)On Fri, Aug 23, 2002 at 01:36:06AM -0700, Chris Thielen wrote:

I have a MS Sidewinder Forcefeedback Pro and as far as I know there’s no
code anywhere to do force feedback within the driver,


http://decopter.sf.net - free unrealistic helicopter simulator

…and there is even tutorial how to use FF in Linux:

/usr/src/linux/Documentation/input/ff.txt–
http://decopter.sf.net - free unrealistic helicopter simulator

…and there is even tutorial how to use FF in Linux:

/usr/src/linux/Documentation/input/ff.txt

Hmm, not especially encouraging:

At the moment, only I-Force devices are supported, and not officially. That
means I had to find out how the protocol works on my own. Of course, the
information I managed to grasp is far from being complete, and I can not
guarranty that this driver will work for you.

Before you start, let me WARN you that some devices shake violently during the
initialisation phase. This happens for example with my “AVB Top Shot Pegasus”.
To stop this annoying behaviour, move you joystick to its limits. Anyway, you
should keep a hand on your device, in order to avoid it to brake down if
something goes wrong.

Heheh.
-Sam Lantinga, Software Engineer, Blizzard Entertainment

Jacek Pop?awski wrote:

Is there any way to use Force Feedback (with driving wheel under Linux) in SDL?

Hi,

This is the homepage for linux force feedback driver :
http://user.it.uu.se/~johannd/projects/ff/index.shtml

This is the only game I know of using force feedback under linux :
http://www.freesoftware.fsf.org/top10/

Stephane

The site (http://user.it.uu.se/~johannd/projects/ff/links.shtml)
also lists Vegastrike, http://vegastrike.sourceforge.net/ , as another
game supporting force feedback.
Support for MS Sidewinder Force 2 is available through a separate
patch from http://madfab.free.fr/ff/On Fri, 23 Aug 2002, black_knight wrote:

Jacek Pop?awski wrote:

Is there any way to use Force Feedback (with driving wheel under Linux) in SDL?

Hi,

This is the homepage for linux force feedback driver :
http://user.it.uu.se/~johannd/projects/ff/index.shtml

This is the only game I know of using force feedback under linux :
http://www.freesoftware.fsf.org/top10/

Stephane


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

Is smpeg still being maintained?
I got some fixes to the smpeg library. I posted the problem (with
compiling using GCC 3.2) on this list a few days ago.
As a reference, I used cvs sources checked out from
cvs.lokigames.com. I obtained a copy before the CVS server went down.
The Makefile.am needs a line that says :
CXXLD = cc
and then ‘libsmpeg_la_LDFLAGS = ’ needs extra ‘-lstdc++’.
I don’t know how portable it is but it fixes the problem. If you
are using the CVS sources and automake 1.6.x, you may want to add
’AM_PROG_AS’ to configure.in.
Is the maintainer of smpeg on this list?
Thanks.

Is the maintainer of smpeg on this list?

That would be me, I think.

Please pull from the CVS at icculus.org…the Loki CVS is dead.

cvs -z3 -d:pserver:anonymous at cvs.icculus.org:/cvs/cvsroot co smpeg

(password is “anonymous”, without the quotes.)

If it’s still broken, we’ll patch it, but I did some autoconf work on it
awhile ago that might fix it.

–ryan.

Hi Ryan,

I am getting the same problems with the icculus.org cvs. I am

attaching a patch that does the following:

  • adds AM_PROG_AS to configure in order to fix:
    automake: video/Makefile.am: Assembler source seen but CCAS' not defined inconfigure.in
    automake: video/Makefile.am: Assembler source seen but CCASFLAGS' not defined inconfigure.in

  • changes linking from using g++ to gcc and then makes gcc use libstdc++.
    This fixes this error:
    .libs/libsmpeg.so: undefined reference to operator new[](unsigned)' .libs/libsmpeg.so: undefined reference tooperator delete(void*)’
    .libs/libsmpeg.so: undefined reference to __cxa_pure_virtual' .libs/libsmpeg.so: undefined reference tooperator delete
    .libs/libsmpeg.so: undefined reference to `operator new(unsigned)'
    collect2: ld returned 1 exit status

There are also some files that automake requires. One of them is
’depcomp’. It can be copied from automake’s
share directory (/usr/share/automake/depcomp on my system). I don’t know
if it comes with automake version <1.6.x.
Files: INSTALL NEWS AUTHORS ChangeLog are also required but I might be
missing a flag to automake that surpresses this error.

Let me know if there are any problems.
Thanks.On Sat, 24 Aug 2002, Ryan C. Gordon wrote:

Is the maintainer of smpeg on this list?

That would be me, I think.

Please pull from the CVS at icculus.org…the Loki CVS is dead.

cvs -z3 -d:pserver:anonymous at cvs.icculus.org:/cvs/cvsroot co smpeg

(password is “anonymous”, without the quotes.)

If it’s still broken, we’ll patch it, but I did some autoconf work on it
awhile ago that might fix it.

–ryan.


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

-------------- next part --------------
? AUTHORS
? ChangeLog
? INSTALL
? NEWS
? autom4te.cache
? depcomp
Index: Makefile.am

RCS file: /cvs/cvsroot/smpeg/Makefile.am,v
retrieving revision 1.15
diff -u -r1.15 Makefile.am
Makefile.am 2001/04/04 20:28:14 1.15
+++ Makefile.am 2002/08/25 17:56:16
@@ -4,6 +4,8 @@

These are the subdirectories that are always built

SUBDIRS = audio video

+CXXLD=@CC@
+
bin_SCRIPTS = smpeg-config

The smpeg library target

@@ -33,6 +35,7 @@
smpeg.h

libsmpeg_la_LDFLAGS = \

  • -lstdc++
    -release $(LT_RELEASE)
    -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)

Index: configure.in

RCS file: /cvs/cvsroot/smpeg/configure.in,v
retrieving revision 1.57
diff -u -r1.57 configure.in
configure.in 2002/06/03 01:35:44 1.57
+++ configure.in 2002/08/25 17:56:17
@@ -54,6 +54,7 @@
AC_PROG_CXX
AC_LIBTOOL_WIN32_DLL
AM_PROG_LIBTOOL
+AM_PROG_AS
AC_PROG_INSTALL

dnl Ugh.