Commit graph

396 commits

Author SHA1 Message Date
Richard Goedeken
c8d337aada update version and release info for v2.5.9 BETA release 2019-02-10 10:12:19 -08:00
Richard Goedeken
e68cb6a5f9 fix Travis CI test builds for MXE 32 and 64 bits 2019-01-29 22:12:04 -08:00
Richard Goedeken
25c8ffc0c5
Merge pull request #78 from bugfood/improve-startup
Improve input-sdl startup time.
2019-01-28 20:25:35 -08:00
Corey Hickey
097fc83e2c Improve input-sdl startup time.
SDL_InitSubSystem() takes approximately 0.6s for me, presumably because
it does lots of device enumeration.

When all Input-sdl-ControlX configuration sections are present and
valid, then input-sdl calls SDL_InitSubSystem(SDL_INIT_JOYSTICK) three
times. When configuration is not present, this happens once more for
each connected joysick.

Moving the SDL_InitSubSystem(SDL_INIT_JOYSTICK) calls to a higher level
allows for a reduction to two total calls (whether configuration is
present or not). The first remaining call happens when loading the
plugin and the second call happens when attaching the plugin to the
core. Keeping these calls separate allows SDL to refresh itself in case
the user has plugged/unplugged a joystick in between (not likely with
ui-console, but perhaps with a GUI).

On a system with three joystick devices, loading a game and then
exiting (--testshots 0), this reduces time by:
with configuration:    11.5%
without configuration: 32.1%

Full benchmarks:

[ ----------- original behavior -------------]
[ with configuraton ][ without configuration ]
real    0m5.255s        real    0m7.470s
user    0m1.499s        user    0m1.534s
sys     0m0.110s        sys     0m0.135s

real    0m5.313s        real    0m7.471s
user    0m1.471s        user    0m1.514s
sys     0m0.119s        sys     0m0.120s

real    0m5.360s        real    0m7.414s
user    0m1.496s        user    0m1.569s
sys     0m0.106s        sys     0m0.127s

[ ------------ patched behavior -------------]
[ with configuraton ][ without configuration ]
real    0m4.741s        real    0m5.088s
user    0m1.473s        user    0m1.468s
sys     0m0.122s        sys     0m0.101s

real    0m4.724s        real    0m5.066s
user    0m1.511s        user    0m1.484s
sys     0m0.082s        sys     0m0.090s

real    0m4.628s        real    0m5.024s
user    0m1.494s        user    0m1.504s
sys     0m0.094s        sys     0m0.081s
2019-01-28 19:53:15 -08:00
Richard Goedeken
232000501f
Merge pull request #77 from bugfood/fix-nosaveoptions
Remove use of ConfigSaveSection
2019-01-22 21:53:55 -08:00
Corey Hickey
eb1116c446 Remove use of ConfigSaveSection
Known front-ends have been modified to save configuration after plugin
initialization but before running the game. Now it is no longer
necessary for individual plugins to save their config.

Removing calls to ConfigSaveSection from within plugins makes the
mupen64plus-ui-console '--nosaveoptions' parameter work.

Also remove unused reference to ConfigSaveFile.
2019-01-22 20:59:14 -08:00
Richard Goedeken
cab01d8f6c
Merge pull request #76 from pedrib/patch-3
Recognise DS4 controllers in Bluetooth mode
2019-01-11 22:37:21 -08:00
Richard Goedeken
b3a083b036
Merge pull request #75 from deadmeu/master
Updated support for the TigerGame Adapter
2019-01-11 22:34:18 -08:00
Pedro Ribeiro
c7e31c4f0e
Add a new section as the mappings were all over the place 2019-01-06 23:55:11 +00:00
Pedro Ribeiro
5481b02c06
Recognise DS4 controllers in Bluetooth mode
Legit DS4 controllers advertise themselves as Wireless Controller when connected via Bluetooth.
sony 0005:054C:05C4.0043: input,hidraw4: BLUETOOTH HID v81.00 Gamepad [Wireless Controller] on b0:25:9f:d3:8b:d8
2019-01-06 00:10:49 +00:00
Alex Subaric
1910ed9d28
Updated support for the TigerGame Adapter
Added another name the adapter identifies as.
2019-01-06 03:14:40 +10:00
Richard Goedeken
f5c3995d19 fix mupen64plus-user-issues #709 - newer linux kernel driver maps the two N64 controllers on the HuiJia/Mayflash adapter to separate unix devices, instead of mapping them both to one device 2018-10-12 19:12:40 -07:00
Richard Goedeken
82f29bc1d2 add nintendo switch pro controller auto-config from Nathaniel Carter on google group mailing list 2018-10-03 22:14:07 -07:00
Richard Goedeken
c50780cfa1 remove backup file 2018-09-22 07:43:13 -07:00
Richard Goedeken
f4c518ed88
Merge pull request #72 from bkeys/cmake_build
Added an optional CMake build for mupen64plus-input-sdl
2018-09-21 20:22:25 -07:00
Brigham Henry Keys
7000ee130a Moved CMake project files to the projects/ directory 2018-09-21 02:36:52 -05:00
Richard Goedeken
380f331a1e
Merge pull request #73 from bkeys/markdown_readme
Added Markdown version of the README
2018-09-20 17:49:07 -07:00
Brigham Henry Keys
71c2dce7f8 Removed old README 2018-09-19 13:56:10 -05:00
Brigham Henry Keys
c9868ea0ab Added Markdown version of the README 2018-09-19 13:11:59 -05:00
Brigham Henry Keys
4294f3ce27 Removed extra option 2018-09-19 12:46:08 -05:00
Brigham Henry Keys
7cac1f0182 Added an optional CMake build for mupen64plus-input-sdl 2018-09-19 12:31:13 -05:00
hissingshark
4aff87c99c Added the gioteck VX2 Wireless controller. 2018-04-16 22:51:49 +02:00
Richard Goedeken
394cbc5866
Merge pull request #68 from loganmc10/patch-5
Call SDL_PumpEvents() before processing inputs
2018-03-27 20:21:49 -07:00
Logan
cd554c9022
Call SDL_PumpEvents() before processing inputs 2018-03-23 12:19:59 -06:00
bsmiles32
1a61a9a043 Revert "Update Present field in GetKeys function." 2018-02-20 13:09:39 +01:00
Richard Goedeken
0314ecf174
Merge pull request #66 from bsmiles32/unplug
Update Present field in GetKeys function.
2018-02-16 20:06:07 -08:00
Bobby Smiles
fb68d74829 Update Present field in GetKeys function. 2018-02-15 23:29:20 +01:00
Richard Goedeken
e1f3b93aaf update FSF address in license 2018-02-04 12:58:03 -08:00
Richard Goedeken
e02b4a037d add Xbox Wireless Controller config from Fabian Stumpf via the google group 2018-01-23 22:18:48 -08:00
Richard Goedeken
193ed7bbf7
Merge pull request #65 from Lithium64/patch-1
Added Multilaser Controller JS030
2018-01-23 22:14:39 -08:00
Lithium64
4be57a7511
Added Multilaser Controller JS30
It is recognized as USB Network Joystick on Windows and as Microntek USB Joystick on Ubuntu
2018-01-21 15:29:29 -03:00
Richard Goedeken
6f2290e52a issue #44 - Z and Start buttons swapped for linux and win32 MayFlash N64 controller adapter 2018-01-06 22:38:20 -08:00
Richard Goedeken
8ede639c0a
Merge pull request #63 from bsmiles32/guillemot
Add auto config support for Guillemot Corporation DA Leader
2018-01-05 19:39:04 -08:00
Bobby Smiles
ee729d06ad Add auto config support for Guillemot Corporation DA Leader
contributed by user Spctrlhrm through the mailing list
https://groups.google.com/d/msg/mupen64plus/tHw7rnWFgDE/uA5zCqkKCwAJ
2018-01-04 22:10:30 +01:00
Anthony J. Bentley
7be4d0dd82 Update wiki links. 2018-01-01 17:46:33 +01:00
Anthony J. Bentley
52fd15b4c0 Update homepage. 2018-01-01 17:46:33 +01:00
Anthony J. Bentley
318497be41 Update link to bug tracker. 2018-01-01 17:46:33 +01:00
Richard Goedeken
e6f84b4c8f
Merge pull request #61 from loganmc10/patch-4
If DEBUG not set, set NDEBUG
2017-11-30 19:36:35 -08:00
Logan
4855a9ba29
If DEBUG not set, set NDEBUG 2017-11-30 10:57:49 -07:00
Richard Goedeken
35fdd23231 update Makefile method for finding OSX_SDK_PATH 2017-11-14 16:21:00 -08:00
Richard Goedeken
6c10fddf1e
Merge pull request #60 from charlemagnelasse/travis-mxe
Build MXE targets as additional tests in travis build matrix
2017-11-08 20:06:32 -08:00
Richard Goedeken
3e00ab8f93 remove the ApplyAxisLimits function for now. If we run into problems with games due to over-excursion of joystick position in the corners, then we'll have to add it back in and try and find a happy medium 2017-11-07 20:42:25 -08:00
Charlemagne Lasse
e89b0b6c16 Build MXE targets as additional tests in travis build matrix 2017-11-05 15:34:53 +01:00
Richard Goedeken
1542273dc9 Merge pull request #58 from loganmc10/patch-3
Increase deadzone for axis->N64 button mappings
2017-10-13 22:11:46 -07:00
Logan
854a79353a Increase deadzone for axis->N64 button mappings 2017-10-13 21:48:59 -06:00
Richard Goedeken
5285e6e482 Merge pull request #56 from Jj0YzL5nvJ/patch-1
Fix Microsoft X-Box 360 pad for Linux
2017-10-09 17:24:38 -07:00
Jj0YzL5nvJ
b6b80796e5 Fix Microsoft X-Box 360 pad for Linux
This work best on my distro (Ubuntu 16.04.3 LTS).

The deadzone is very handy for Zelda games, the extra C buttons are indispensable to control Kirby and Jigglypuff in SSB64.
RT (axis(5+)) since always been broken, and interrupt LT (axis(2+))... "There can be only one" (Highlander style =P)
2017-10-09 03:47:02 -06:00
Richard Goedeken
6b58f770d0 Merge pull request #54 from bsmiles32/fix_p990
Fix Rumble switch button for Saitek P990 Dual Analog Pad.
2017-10-02 22:35:36 -07:00
Richard Goedeken
5b55d850c2 minor adjustments to xbox 360 controller config based upon my testing with Windows 7 machine and wired (usb) xb360 controller 2017-10-02 22:06:43 -07:00
Richard Goedeken
23f3b418a7 Merge pull request #53 from tony971/master
Fix XBOX 360 For Windows Controller
2017-10-02 22:02:28 -07:00