annotate test/.cvsignore @ 892:dc29e5907694

Date: Sun, 18 Apr 2004 16:09:53 -0400 (EDT) From: David MacCormack Subject: [SDL] Linux joystick patch I recently got myself a PS2 -> USB converter (a super joybox 5). It accepts 4 PSX/PS2 controllers. It's implemented as a HID, which is nice because it doesn't require its own driver, but the problem is that it's implemented as a *single* HID -- that is, it shows up as a single joystick with 19 axes, 4 hats, and 48 buttons. This poses a problem for a number of apps which use SDL (stella, fce ultra, zsnes, to name a few) and see only a single (physical) joystick even though there are really 4 (logical) joysticks. There are a number of these types of devices on the market, and I've seen others post messages (in the zsnes forum, for example) with the same problem, so I came up with what I think is a pretty generic solution. I patched src/joystick/linux/SDL_sysjoystic.c to include support for logical joysticks; basically, it's a static array and supporting functions that map a single physical joystick to multiple logical joysticks. The attached patch has the new code. It's wrapped inside #ifndef statements so that you can get the old behavior if you want.
author Sam Lantinga <slouken@libsdl.org>
date Sun, 16 May 2004 18:46:24 +0000
parents 700c9c5c923b
children e6a82dcdce09
rev   line source
416
6b0363ceaba2 *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents: 0
diff changeset
1 Makefile.in
6b0363ceaba2 *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents: 0
diff changeset
2 Makefile
6b0363ceaba2 *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents: 0
diff changeset
3 configure
6b0363ceaba2 *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents: 0
diff changeset
4 config.cache
6b0363ceaba2 *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents: 0
diff changeset
5 config.log
6b0363ceaba2 *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents: 0
diff changeset
6 config.status
754
623b453a3219 Fixed "dist" make target for newer versions of automake
Sam Lantinga <slouken@libsdl.org>
parents: 676
diff changeset
7 autom4te*
416
6b0363ceaba2 *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents: 0
diff changeset
8 aclocal.m4
6b0363ceaba2 *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents: 0
diff changeset
9 checkkeys
6b0363ceaba2 *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents: 0
diff changeset
10 graywin
6b0363ceaba2 *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents: 0
diff changeset
11 loopwave
6b0363ceaba2 *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents: 0
diff changeset
12 testalpha
6b0363ceaba2 *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents: 0
diff changeset
13 testbitmap
6b0363ceaba2 *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents: 0
diff changeset
14 testcdrom
817
700c9c5c923b *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents: 754
diff changeset
15 testcpuinfo
416
6b0363ceaba2 *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents: 0
diff changeset
16 testerror
6b0363ceaba2 *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents: 0
diff changeset
17 testgamma
6b0363ceaba2 *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents: 0
diff changeset
18 testgl
6b0363ceaba2 *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents: 0
diff changeset
19 testhread
6b0363ceaba2 *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents: 0
diff changeset
20 testjoystick
6b0363ceaba2 *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents: 0
diff changeset
21 testkeys
6b0363ceaba2 *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents: 0
diff changeset
22 testlock
6b0363ceaba2 *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents: 0
diff changeset
23 testoverlay
676
8b58eeef4576 *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents: 416
diff changeset
24 testoverlay2
416
6b0363ceaba2 *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents: 0
diff changeset
25 testpalette
6b0363ceaba2 *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents: 0
diff changeset
26 testsem
6b0363ceaba2 *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents: 0
diff changeset
27 testsprite
6b0363ceaba2 *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents: 0
diff changeset
28 testtimer
6b0363ceaba2 *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents: 0
diff changeset
29 testtypes
6b0363ceaba2 *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents: 0
diff changeset
30 testver
6b0363ceaba2 *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents: 0
diff changeset
31 testvidinfo
6b0363ceaba2 *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents: 0
diff changeset
32 testwin
6b0363ceaba2 *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents: 0
diff changeset
33 testwm
6b0363ceaba2 *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents: 0
diff changeset
34 threadwin