Commit Graph

2294 Commits

Author SHA1 Message Date
Christoph "baka0815" Schwerdtfeger 816fb493a6 Fix iOS 2018-08-21 00:33:18 -04:00
Christoph "baka0815" Schwerdtfeger 11b01633d0 Fix Windows 2018-08-21 00:33:18 -04:00
Christoph "baka0815" Schwerdtfeger bb72c1ce4c Fix Android 2018-08-21 00:33:18 -04:00
Christoph "baka0815" Schwerdtfeger 638a97d1ae Maple: Reworked the way controllers are created
A new function was introduced to abstract the setup of input devices for each os: os_SetupInput().
I hope I implemented this everywhere correctly and the behaviour is identical to before.

The new function mcfg_CreateNAOMIJamma() creates the NAOMI Jamma interface and is hidden behind a compile flag (same as before).
The previous function mcfg_CreateDevices() was renamed to mcfg_CreateDevicesFromConfig() because it creates the devices based on the configuration (``nb`` setting).
2018-08-21 00:33:18 -04:00
Christoph "baka0815" Schwerdtfeger 8212be4850 MapleDeviceType: Add MDT_None 2018-08-21 00:32:05 -04:00
Christoph "baka0815" Schwerdtfeger 7ef105822a evdev: Move creation of controllers
Don't expose mcfg_Create() directly, but use a proxy method mcfg_CreateController() to create the complete controller.
Using evdev the ``nb``-setting in the ``emu.cfg`` is no longer necessary (see #970) as the devices get created while initializing the controllers.

Moved the ``switch`` to it's own function.
2018-08-21 00:32:05 -04:00
Christoph "baka0815" Schwerdtfeger f75ba32fa9 evdev/maple: Set devices via config 2018-08-21 00:32:05 -04:00
Christoph "baka0815" Schwerdtfeger 17d9159b82 evdev: Add maple devices 1 and 2 to mapping & cfg 2018-08-21 00:32:05 -04:00
Abandoned Cart 62837f4db0
Merge pull request #1235 from reicast/fh/alpha-pt-rounding-fix
Float math in alpha calculation causes some punch-through textures to…
2018-08-21 00:09:06 -04:00
Abandoned Cart c5a9577265
Merge pull request #1303 from reicast/msgbox
Re-applying patches with Android workaround
2018-08-21 00:06:51 -04:00
Abandoned Cart 83c069ec3d
Merge pull request #1306 from reicast/lk/menu_layout
Android: Remove redundancy, Eliminate hash file
2018-08-20 23:54:31 -04:00
Ender's Games 8f82e926b8 Android: Improve msgbox, printf cdi workaround
This partially reverts commit 405909bf91304db275dde4d163befa8fc654874f.
2018-08-20 23:50:47 -04:00
David Miller 1a4f597bd8 ngen_mainloop for x86 updated to use PC value from context, CDI warning
and removed redundant header causing build failure on libwebsockets (VS)
2018-08-20 23:49:15 -04:00
Ender's Games e755446c5f Android: Remove redundancy, Eliminate hash file 2018-08-20 23:29:27 -04:00
Abandoned Cart 7ff9d0ec02
Merge pull request #1298 from reicast/lk/game-config
Support per-game configuration files
2018-08-20 22:28:08 -04:00
Ender's Games ef6242d2f7 Android: Create a per-game configuration view
Android: Pass game configuration options to emu

TODO: Fix inability to reload fragment w/ new settings

Android: Limit preference scope, Avoid static crutch

Android: Obligatory button to commit PGC settings

Android pressures the use of async preferences, but does not properly block threads. This causes the settings from one view to bleed into the next when swapping back and forth. This can be overcome by explicitely writing to the specific pref object.

Android: Add PGC documentation to window
2018-08-20 22:02:59 -04:00
Ender's Games 4e050bb753 Android: Initial structure for per-game settings
Android: write internal configuration for new games
2018-08-20 22:02:54 -04:00
Ender's Games 9e57068192 Config: Only load modified game settings, don't save
There is no reason to build a configuration file of duplicate settings. The user can acquire the defaults from the config section and only inject the changes into the game section.
2018-08-20 14:29:13 -04:00
Ender's Games 2311253aa5 Config: log a software name to the configuration file
This value is printed to the config file alongside individual settings and cannot be modified. It will be replaced each time the configuration is read, preventing any risk of user error.
2018-08-20 13:23:50 -04:00
Ender's Games 78977387ac Reios: perform initial configuration, as needed 2018-08-20 12:28:58 -04:00
gameblabla 8a53efec62
Fixes compiling with GLES and X11 2018-08-20 13:17:01 +02:00
Ender's Games 4424d84960 Port libretro reios params with less intrusive query 2018-08-19 05:41:00 -04:00
Ender's Games f2b9b2fcf7 Unimplemented method for per-game configuration
This is a general outline of how per-game configuration would be read to replace the existing "default" values without restricting the settings to defined values. Each game could support it's own proprietary configuration that could be changed and updated, as needed. This separates per-game config from the emulator version.
2018-08-19 05:41:00 -04:00
Abandoned Cart 223cd74824
Merge pull request #1299 from reicast/lk/aswide
Reconfigure GLView to match emu dimensions
2018-08-19 05:39:38 -04:00
Christoph b3ba22d4a4
Merge pull request #1286 from reicast/baka/man
man: add information about the named evdev config files
2018-08-19 11:31:39 +02:00
Christoph "baka0815" Schwerdtfeger b0069ae134 man: add information about the named evdev config files 2018-08-19 11:15:20 +02:00
Ender's Games e64367a0ad Android: A very simple method to set 4:3 resolution 2018-08-19 02:03:10 -04:00
Ender's Games 8d9d40dffc Core: Changes provided by Android NDK compiler 2018-08-19 01:54:15 -04:00
Ender's Games bde9f2768b gitignore: Ignore local gradle configuration files 2018-08-19 01:54:06 -04:00
Ender's Games cd22816c1b Android: prevent auxilliary from overriding hardware 2018-08-19 01:53:58 -04:00
Ender's Games a2a3a11412 Android: Stop hiding git behind "luxury" handle 2018-08-19 01:53:50 -04:00
Abandoned Cart a41293567a
Merge pull request #1296 from reicast/lk/safe-dynarec
Port the dynarec safe flag from nullDC (See #84)
2018-08-18 08:01:32 -04:00
Ender's Games c604ae167f Android: handle position -1 as generic motion 2018-08-18 07:40:36 -04:00
Ender's Games 17788f68b9 Android: push every joystick event, simplify return 2018-08-18 06:39:05 -04:00
Ender's Games 7dfc5b20c6 Android: strip exceptions handled by Google 2018-08-17 23:40:51 -04:00
Ender's Games 2733b46bd7 Android: Verify device type before processing 2018-08-17 02:26:47 -04:00
Ender's Games ee00aeb4f0 Android: Only assign OUYA values to an OUYA 2018-08-17 01:14:35 -04:00
Ender's Games def787b829 Android: Look at all the conditionals you'll save 2018-08-17 00:27:22 -04:00
Ender's Games 632a5eb065 Android: Strip out broken Moga implementation 2018-08-17 00:18:59 -04:00
Ender's Games b1f81bd54f Android: Do not process history index as player 2018-08-16 23:40:24 -04:00
Ender's Games e66b10ce30 Android: Remove forced compatibility mode 2018-08-16 22:46:43 -04:00
Ender's Games a01016d4ad Android: Only prompt for bios if NOT using reios 2018-08-16 22:09:31 -04:00
Ender's Games a3f585ea1c Port the dynarec safe flag from nullDC (See #84) 2018-08-16 20:00:10 -04:00
Abandoned Cart 1bcffb54b6
Merge pull request #1295 from reicast/lk/triggered
Android: process entire joystick event history
2018-08-16 17:49:17 -04:00
Ender's Games c612393cf3 Android: process entire joystick event history 2018-08-15 23:56:06 -04:00
Abandoned Cart b2e07d0c96
Merge pull request #1289 from reicast/baka/evdev_checkdup2
evdev/dupcheck: Don't check unassigned buttons
2018-08-13 18:59:52 -04:00
Abandoned Cart d65bbf8cef
Merge pull request #1290 from reicast/baka/DisableJoystickAPI
Linux/Makefile: Disable legacy joystick support
2018-08-13 18:08:17 -04:00
Abandoned Cart 9379fe18bd
Merge pull request #1291 from reicast/fh/rec-cpp-blockchecks
Block checks for rec-cpp
2018-08-13 18:07:16 -04:00
Flyinghead c430a7906c Block checks for rec-cpp 2018-08-13 21:37:59 +02:00
Christoph "baka0815" Schwerdtfeger 7a178735d1 Linux/Makefile: Disable legacy joystick support
Fixes #773.
2018-08-13 13:46:29 +02:00