Mercurial > sdl-ios-xcode
view src/video/ataricommon/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 | 9c6613983e85 |
children | 0310bb01091f |
line wrap: on
line source
## Makefile.am for SDL using the Atari bios noinst_LTLIBRARIES = libvideo_ataricommon.la libvideo_ataricommon_la_SOURCES = $(ATARICOMMON_SRCS) # The SDL Atari bios driver sources ATARICOMMON_SRCS = \ SDL_ataric2p.S \ SDL_ataric2p_s.h \ SDL_ataric2p060.c \ SDL_ataric2p060_c.h \ SDL_atarieddi.S \ SDL_atarieddi_s.h \ SDL_atarievents.c \ SDL_atarievents_c.h \ SDL_atarikeys.h \ SDL_atarimxalloc.c \ SDL_atarimxalloc_c.h \ SDL_biosevents.c \ SDL_biosevents_c.h \ SDL_gemdosevents.c \ SDL_gemdosevents_c.h \ SDL_ikbdevents.c \ SDL_ikbdevents_c.h \ SDL_ikbdinterrupt.S \ SDL_ikbdinterrupt_s.h \ SDL_xbiosevents.c \ SDL_xbiosevents_c.h \ SDL_xbiosinterrupt.S \ SDL_xbiosinterrupt_s.h