Commit graph

472 commits

Author SHA1 Message Date
Richard Goedeken
0ab2293042 add auto-config for Saitek P2600 from dL classic 2021-01-31 21:40:36 -08:00
Richard Goedeken
d17cfdecd8
Merge pull request #97 from Jj0YzL5nvJ/tiptoe
Enable tiptoe walking mechanics in Banjo games...
2021-01-22 20:43:07 -08:00
orbea
4015a8162a build: Allow out of tree builds. 2020-12-15 10:17:02 +01:00
Jj0YzL5nvJ
daf71bf2ef Enable tiptoe walking mechanics in Banjo games and other platformers with the keyboard 2020-11-10 23:12:10 -07:00
Richard Goedeken
0d7820e35a Revert "Allow non-default compilers without resorting to symbolic links"
This reverts commit 7c701d8b35, as it conflicts with GNU make which always defines default values for certain variables
2020-09-16 22:39:55 -07:00
Richard Goedeken
becff721ff
Merge pull request #94 from Jj0YzL5nvJ/alter_cc_cxx
Allow non-default compilers without resorting to symbolic links
2020-08-30 18:53:30 -07:00
Jj0YzL5nvJ
7c701d8b35 Allow non-default compilers without resorting to symbolic links 2020-08-30 03:53:39 -06:00
Richard Goedeken
5b0c654643
Merge pull request #93 from Jj0YzL5nvJ/alter
Allow to set custom platform toolset from commands
2020-08-19 23:36:23 -07:00
Jj0YzL5nvJ
dd2612bd05 Allow to set custom platform toolset from commands 2020-08-13 12:06:52 -06:00
Richard Goedeken
c0d76df367 fix logitech F710 a/b button mappings as requested by BrandonIrwan on github 2020-06-27 15:57:34 -07:00
Richard Goedeken
954a5dc742
Merge pull request #91 from Henrik0x7F/master
Correctly manage SDL subsystems
2020-05-05 17:21:59 -07:00
Henrik
a3b4a1e829 Correctly manage SDL subsystems
Only shutdown a subsystem if it wasn't already initialized
2020-05-04 20:14:34 +02:00
Richard Goedeken
73f00a0a6e add auto-config for 'SAFFUN N64 Wired USB PC Game pad Joystick' from rawsonjeremy@gmail.com 2020-04-21 19:35:10 -07:00
Richard Goedeken
01c66455c9 add auto-config for EasySMX ESM-9100 from brandonbundy@gmail.com 2020-04-21 19:26:44 -07:00
Richard Goedeken
a7ba9bd935 add auto-config for 'SZMY-POWER CO.,LTD. TIMgames gamepad A3069' from tonywhite1985@gmail.com 2020-04-21 18:32:11 -07:00
Richard Goedeken
978c39988e don't let analog X/Y stick values go outside of legal range 2020-04-21 18:25:07 -07:00
Richard Goedeken
3cbd9c153e
Merge pull request #86 from Mastergatto/controller-fix
Fixes for Nintendo Wii Remote Pro Controller autoconfig
2020-04-21 18:12:15 -07:00
Richard Goedeken
1eb1b873f9
Merge pull request #85 from mrexodia/xeox-autoconfig
add tested autoconfig for "Controller (XEOX Gamepad)"
2020-04-21 18:06:44 -07:00
Richard Goedeken
ad2af4cff4 update auto config based on issue #81 2020-04-21 16:42:26 -07:00
Jj0YzL5nvJ
02a73d3858 AppVeyor with artifact packaging 2020-03-02 09:36:46 +01:00
Jj0YzL5nvJ
c5daef94f4 Changes to have more generic project files 2020-02-26 12:39:44 +01:00
Gillou68310
01af91dd84 Migrate to VS2017 2019-11-13 17:13:10 +01:00
Mastergatto
9972386c14 [Nintendo Wii Remote Pro Controller] Increase value of AnalogDeadzone and AnalogPeak by 75% and 55%, assign buttons for Mempak/Rumblepak switch. 2019-10-19 22:42:02 +02:00
Duncan Ogilvie
7d7a0bd616
add tested autoconfig for "Controller (XEOX Gamepad)" 2019-10-06 21:21:32 +02:00
Richard Goedeken
7dcc45e2cf add function attributes so GCC can find bugs in calls to string formatting functions with variadic arguments 2019-03-03 09:18:32 -08:00
Richard Goedeken
830981f157 bump API version to 2.1.0 to fix issue #79 2019-02-27 23:09:04 -08:00
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