* Chris Wilkinson -- Friday 15 December 2006 01:08:
> - Keyboard repeat is same as in my text editor; I want it to be
>    linear, with no delay after keypress
> - If I'm holding down a key to adjust something like the throttle,
>    when I press other keys the throttle will stop moving,

Reminds me of broken freeglut behavior, which is the main reason
why I use SDL. Don't mess with the operating system's repeat
rate or other settings. This is supposed to work correctly
out of the box.



> I'm running 0.9.10 stable on SUSE 10.1, with freeglut-051110-15
> (I think that came from cvs over a year ago). SDL 1.2.9 is also
> installed but I'm not sure which lib the keyboard uses...

FlightGear doesn't use SDL just because it's installed. You have to
make fgfs explicitly ask for it:  $ ./configure --enable-sdl
You can check if your executable was linked against (free)glut or SDL:

  $ ldd `which fgfs`|egrep "(glut|SDL)"
          libSDL-1.2.so.0 => /usr/local/lib/libSDL-1.2.so.0 (0xb7eb0000)

If both glut and SDL show up here, then fgfs is still using SDL,
but something pulled the glut library in for no good reason. It's
rather a cosmetic "problem", but you can do this:

  $ ./configure  --enable-sdl  LDFLAGS="$LDFLAGS -Wl,--as-needed"

m.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Flightgear-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/flightgear-users

Reply via email to