Mercurial > sdl-ios-xcode
annotate src/cdrom/bsdi/Makefile.am @ 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 | 1fc1a101bf23 |
children |
rev | line source |
---|---|
178
1fc1a101bf23
Added CD-ROM support for BSD/OS (thanks Steven!)
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
1 |
1fc1a101bf23
Added CD-ROM support for BSD/OS (thanks Steven!)
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
2 ## Makefile.am for the BSDi cdrom driver for SDL |
1fc1a101bf23
Added CD-ROM support for BSD/OS (thanks Steven!)
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
3 |
1fc1a101bf23
Added CD-ROM support for BSD/OS (thanks Steven!)
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
4 noinst_LTLIBRARIES = libcdrom_bsdi.la |
1fc1a101bf23
Added CD-ROM support for BSD/OS (thanks Steven!)
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
5 libcdrom_bsdi_la_SOURCES = $(SRCS) |
1fc1a101bf23
Added CD-ROM support for BSD/OS (thanks Steven!)
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
6 |
1fc1a101bf23
Added CD-ROM support for BSD/OS (thanks Steven!)
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
7 # The SDL cdrom driver sources |
1fc1a101bf23
Added CD-ROM support for BSD/OS (thanks Steven!)
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
8 SRCS = SDL_syscdrom.c |