Commit graph

278 commits

Author SHA1 Message Date
Richard Goedeken
24af5a8345 Merge pull request #5 from jancborchardt/master
switch order of ipega controllers so the media one works as well
2014-05-17 13:58:20 -07:00
Jan-Christoph Borchardt
7c01d57228 switch order of ipega controllers so the media one works as well 2014-05-17 17:04:14 +02:00
Richard Goedeken
adbacfcacf fix for Wii U Pro controller autoconfig from Mastergatto on github 2014-05-10 16:04:21 -07:00
Richard Goedeken
add0e60ece SDL 1.2 is not deprecated for us, and we shouldnt frighten the user with 6 lines of exclamation points 2014-05-04 11:29:27 -07:00
Ursula Abendroth
0d3e0c3b8f Switch by default to SDL2 for Mupen64Plus 2.1
The current version of SDL is 2.0.3. All new releases of distributions contain
this library already. Current Linux distributions and OpenBSD even backporting
patches from Mupen64Plus 2.1 repo to use SDL 2. Android and other mobile
platform don't have support for legacy SDL 1.2.

People like Anthony J. Bentley and Riley Labrecque already requested
a new release of Mupen64Plus 2.1 with SDL2
2014-04-23 19:32:46 +02:00
Richard Goedeken
f064406ca4 Merge pull request #3 from xoothy/master
add auto-configuration for ACRUX Gamepads
2014-04-08 22:12:48 -07:00
Johannes Janssen
d63ff2a8b8 add auto-configuration for ACRUX Gamepads
Add auto-configuration for ACRUX Gamepads (USB ID: 1a34:080) a Xbox 360
controller clone sold under various brands and clarify mapping description
for Xbox 360 controllers and clones in README.
2014-04-08 17:58:20 +02:00
Richard Goedeken
a0ef74aa38 Merge pull request #2 from jancborchardt/master
fixing ipega gamepad controllers
2014-03-26 21:32:51 -07:00
Jan-Christoph Borchardt
c5e0e50b07 add correct auto-config for ipega media gamepad controller 2014-03-26 15:26:29 +01:00
Jan-Christoph Borchardt
cb47e19d29 fix issue in auto-config of ipega gamepad controller 2014-03-26 15:25:31 +01:00
Richard Goedeken
930efa4731 added auto-config for ipega media gamepad controller from Jan-Christoph Borchardt via google group 2014-03-20 22:05:12 -07:00
Richard Goedeken
c410aa498c Merge pull request #1 from diekmann/patch-1
added gamepad
2014-02-03 22:13:06 -08:00
diekmann
718c4926ee added gamepad
Different names on Linux and Windows

saitek p580 rumble pad (name in windows device manager)
Colour Rumble Pad (name detected by mupen64 on windows 8)
Jess Technology Colour Rumble Pad (name on Linux lsusb)

Tested on windows 8 and Ubuntu 12.04
2014-01-31 19:44:30 +01:00
Richard Goedeken
f78b226b31 add aftermarket PS3 controller config from Jared Klingenberger via GC mailing list 2014-01-29 21:55:58 -08:00
Richard Goedeken
01bf9ccc62 update Win32 MayFlash n64 adapter deadzone/peak values based on recommendation from Xanathol Nyteblade 2014-01-26 09:12:43 -08:00
Sven Eckelmann
4af586cec6 Force line ending type for specific files
Different operation systems (Unix vs. Windows) use different line ending types.
It can easily happen that users from different systems edit files and replace
all line endings of a file with the system specific version. This screws up
diffs and makes merges harder.

Git can normalize line endings for specific files and avoid this problem.
Binary files should be marked to avoid accidentally normalization.
2013-12-19 14:19:06 +01:00
Sven Eckelmann
5a0620b1f4 Convert .hgignore to .gitignore 2013-12-19 14:13:38 +01:00
Richard Goedeken
719fd6afeb bugfix: fall back to key/joy mappings for a controller with mouse=true when the mouse is not grabbed 2013-11-14 19:01:56 -08:00
Gre Pronk
76d0124c20 Add support for Microsoft SideWinder Game Pad Pro USB version 1.0 2013-10-18 13:41:24 +02:00
Sven Eckelmann
917ed484dd Don't fail rebuild when header is removed
The *.d depends files for make just list the files used when building an
object file. Removing a file listed in such a dependency file causes make to
search for a way to recreate it. This usually cannot work because these files
aren't autogenerated.

The gcc option -MP can be used to generate empty rule for these files. Removing
a file in a dependency list will then execute this empty rule and continue with
the execution of the creation of the object file. This compilation process will
then automatically correct the dependency file.
2013-09-20 10:31:41 +02:00
Richard Goedeken
fd8bce5c98 add autoconfig for Wii U Pro controller, from ControllerSetup wiki page on google code site 2013-09-01 15:22:55 -07:00
Richard Goedeken
d30f0403e7 new controller config from William Shipley 2013-09-01 15:05:16 -07:00
Richard Goedeken
d0bcf623e5 add Twin USB Vibration Gamepad auto-config from wiki comment 2013-08-17 16:37:32 -07:00
Richard Goedeken
2dd021df1e new controller auto-configuration for PS3 controller clone, from Ivan Freitas via google group 2013-07-19 20:14:53 -07:00
Richard Goedeken
177ab01049 add new auto-config for Logic 3 PowerPad controller (aka JP283 aka Jess Technology Co., Ltd. USB Game Controllers) from Mark Storey via google group mailing list 2013-07-14 21:19:14 -07:00
richard42
951e990d00 simplify OSX platform detection in makefile using xcode-select. based on patch from John Pender 2013-07-08 07:24:07 -07:00
Richard Goedeken
b5b9fad449 add Nintendo Wiimote Classic auto-config from sayret on google code controller setup wiki 2013-07-04 18:17:17 -07:00
Richard Goedeken
61653ce443 merged heads 2013-07-04 18:10:22 -07:00
Richard Goedeken
32b60e0a09 merged heads 2013-07-04 18:09:06 -07:00
Richard Goedeken
10411f6f0c merged heads 2013-07-04 18:04:20 -07:00
Richard Goedeken
03050e918b merged heads 2013-07-04 18:01:41 -07:00
Richard Goedeken
70017754fc Added tag 2.0 for changeset 161a70203a09 2013-07-04 15:47:16 -07:00
Richard Goedeken
d9c3bf701b update version number to 2.0 2013-07-03 07:07:00 -07:00
Bobby Smiles
b4521f6756 Remove unrelated content. 2013-06-29 19:42:10 +02:00
Richard Goedeken
c0a1126f20 fix auto-config use case problem that was brought by sn0w75 on IRC: if user has 2 SDL joysticks, everything set to auto, and first SDL joystick has no valid auto-config but second joystick does, then the second joystick will be set up as N64 controller #2 instead of #1 2013-06-28 00:16:56 -07:00
Richard Goedeken
9d899bc6aa update README and LICENSES files 2013-06-27 22:43:57 -07:00
Sven Eckelmann
589290fa4c Allow to read multiple entries from autoconfig
SDL2.0 introduces a new input backend for XInput devices. These have a
different layout (buttons, axis, hats, ...) than the previous backends. This
makes the current AutoConfig entries for such devices useless. Unfortunatelly,
SDL2 doesn't inform us about the backend used to talk to a joystick/gamepad.
This makes it hard to decide whether we must search for an entry without
prefix, with Win32 prefix or with a new "XInput" prefix.

Instead the whole ini is parsed and it is not stopped when a section with a
valid entry is finished. Priorities are saved to decide whether a new found
section is interesting for the user config or not. Entries without a known
prefix have the priority 3, one with a known entry have the priority 2 and
entries with the prefix "XInput" get the priority of 1 on windows with SDL2.
The lowest priority is always preferred.

This allows the autoconfiguration to use XInput configs whenever it is
required and use the old configurations everywhere else.
2013-06-27 20:39:54 +02:00
Sven Eckelmann
69cdefe31e Reduce auto_set_defaults complexity by moving name comparison to extra function 2013-06-27 20:39:54 +02:00
Richard Goedeken
0b24022e9d update text files for upcoming 2.0 release 2013-06-26 21:25:33 -07:00
Sven Eckelmann
97c245d47b Use SDL_HapticRumble* instead of creating own effects 2013-06-26 21:08:25 +02:00
Sven Eckelmann
bc7d3057f2 Use SDL2 to play force feedback effects 2013-06-23 11:10:26 +02:00
Sven Eckelmann
14ecfc61bd Add CFLAGS -D_GNU_SOURCE to allow usage of strcasestr 2013-06-23 10:35:25 +02:00
Sven Eckelmann
4b90486595 Add support for mouse based analog stick using SDL2 2013-06-23 10:26:03 +02:00
Sven Eckelmann
7f379fe044 Use SDL1.2 keysym in the config when using SDL2
It is easier for a user to keep the old SDL1.2 values for the keys in the
config instead of converting them by hand. This is extreme important when the
default (automatic) config is used.
2013-06-22 14:40:18 +02:00
gtrsdk
c5c1ff1fbd Add support for SHENGHIC 2009/0708ZXW-V1Inc. PLAYSTATION(R)3Conteroller 2013-06-20 07:11:53 +00:00
Sven Eckelmann
504091486b Fix size of ff effect arrays
The plugin allows to use 4 input devices but only space for the force feedback
effects of 3 devices were provided. A fourth device with force feedback support
caused an invalid access.
2013-06-12 23:07:18 +02:00
Richard Goedeken
22f22e1fd5 tagged v2.0-rc2 2013-06-01 18:00:33 -07:00
richard42
10cb4e4c04 Update msvc11 project file to visual studio 2012 (msvc11) 2013-06-01 07:56:09 -07:00
Richard Goedeken
844826f4b8 merged heads 2013-05-28 21:08:47 -07:00
Riley Labrecque
de27c85d42 Fixed compiling with MSVC/C89 2013-05-28 08:41:53 +00:00