Mercurial > sdl-ios-xcode
annotate autogen.sh @ 461:1d36f593078a
Date: Thu, 18 Jul 2002 23:51:40 +0200 (MEST)
From: Krister Walfridsson
Subject: [SDL] src/joystick/bsd/SDL_sysjoystick.c patch
The *BSD USB HID joystick code has two serious bugs:
1. If a joystick reports unhandled hid_input usage (for example HUG_RZ or
HUG_DIAL), then the last handled value will be overwritten with an
arbitrary value. (Fixed in the patch below by adding a default case.)
2. The current code does only handle logical coordinates in the range 0-255,
while a big part of available joysticks report -128 - 127. (This is solved
in the patch below by first center the range around 0, and then stretch
it to the correct range.)
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Tue, 20 Aug 2002 06:08:42 +0000 |
parents | 9430ba1a19f3 |
children | c7376efecdb5 |
rev | line source |
---|---|
0 | 1 #!/bin/sh |
2 # | |
3 echo "Generating build information using aclocal, automake and autoconf" | |
4 echo "This may take a while ..." | |
5 | |
6 # Touch the timestamps on all the files since CVS messes them up | |
7 directory=`dirname $0` | |
8 touch $directory/configure.in | |
9 | |
10 # Regenerate configuration files | |
11 aclocal | |
342 | 12 automake --foreign --include-deps --add-missing --copy |
0 | 13 autoconf |
343
9430ba1a19f3
*** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents:
342
diff
changeset
|
14 (cd test; aclocal; automake --foreign --include-deps --add-missing --copy; autoconf) |
0 | 15 |
16 # Run configure for this platform | |
17 #./configure $* | |
18 echo "Now you are ready to run ./configure" |