36947 Commits

Author SHA1 Message Date
Twinaphex
5974acc3c7 Merge pull request #4653 from diablodiab/android-mouse-support
Android input driver - add middle mouse button and lightgun support
2017-02-17 01:21:55 +01:00
Twinaphex
139d2d65d7 Merge pull request #4654 from GregorR/netplay-start-as-spectator
Re-adding the option to start in spectator mode
2017-02-17 01:21:45 +01:00
Gregor Richards
816d7786ac Re-adding the option to start in spectator mode
This used to be a configuration option because spectator mode and "net"
mode were incompatible. When the ability to switch between player and
spectator was added, the configuration option was removed, since it was
no longer a mode toggle. This re-adds it, mainly so that I can use it to
implement regression tests.
2017-02-16 19:17:06 -05:00
Diablodiab
47d5242dd7 Add middle mouse button support to Android input driver
Add lightgun support to Android input driver
2017-02-16 21:52:52 +01:00
Andrés
8114ce70d2 Merge pull request #4650 from fr500/master
Better console behavior
2017-02-15 23:59:51 -05:00
radius
742e45c6eb attach to console if present, spawn our own otherwise 2017-02-15 22:25:17 -05:00
radius
4db257c104 allow console to work again 2017-02-15 21:09:27 -05:00
Brad Parker
abc7da4c87 miniupnpc: fix include dir for linux, fix setsockopt warning on windows 2017-02-15 20:23:12 -05:00
twinaphex
5d8c191df7 Cleanup 2017-02-16 01:30:50 +01:00
twinaphex
91f2cd0b95 Fix this up 2017-02-16 01:10:45 +01:00
neville
4b63ef3123 (OSX PPC) MiniUPNPC support 2017-02-16 01:09:39 +01:00
Twinaphex
c6502e9f2d Can't set this to 'yes' by default - certain platforms wouldn't
have this library
2017-02-16 01:06:06 +01:00
twinaphex
da5966d474 Bake this in for default targets 2017-02-16 01:00:43 +01:00
twinaphex
b3d71320bc Add miniupnpc to Android 2017-02-16 00:59:32 +01:00
Twinaphex
18f614ef8a Add MiniUPNPC to iOS build 2017-02-16 00:57:18 +01:00
Twinaphex
5f78d0594c Enable MiniUPNPC for OSX 2017-02-16 00:50:47 +01:00
Twinaphex
417cf09967 Merge branch 'master' of https://github.com/libretro/RetroArch 2017-02-16 00:45:36 +01:00
Twinaphex
a51b751814 Merge pull request #4648 from leiradel/master
Fix for when net_http_get returns NET_HTTP_GET_OK but a NULL body
2017-02-16 00:38:36 +01:00
Twinaphex
37b2ebfcaa Merge pull request #4649 from fr500/master
Check if this string is null before trying to copy it
2017-02-16 00:36:27 +01:00
radius
14c1d48c66 update changelog 2017-02-15 18:26:18 -05:00
radius
f00dd6f7c4 update changelog & copyright 2017-02-15 18:25:21 -05:00
radius
3a6c7b96fd prevent null check 2017-02-15 18:15:42 -05:00
Andre Leiradella
1b2685949a Fix for when net_http_get returns NET_HTTP_GET_OK but a NULL body 2017-02-15 21:30:47 +00:00
Twinaphex
37baccab99 Merge pull request #4647 from GregorR/netplay-reset
Support for reset in netplay
2017-02-15 21:40:42 +01:00
twinaphex
db4b757843 Add missing file 2017-02-15 21:06:16 +01:00
twinaphex
cd1b95220a Add miniupnpc dependency which can be optionally compiled in 2017-02-15 21:03:57 +01:00
Gregor Richards
4c1abfaa71 Support for reset in netplay
This patch transfers core_reset across netplay. Resets effectively
worked before thanks to check_frames, but this makes resets work even
without check_frames, and in particular should allow resets to force
sync in savestateless cores, bringing them one step closer to actually
being usable by non-experts.
2017-02-15 14:40:37 -05:00
Twinaphex
d0b29f3d8e Merge pull request #4646 from dankcushions/patch-1
Change to advanced settings: auto_remaps_enable & auto_overrides_enable
2017-02-15 18:59:43 +01:00
dankcushions
6309b21252 Change to advanced settings: auto_remaps_enable & auto_overrides_enable
There seems to be no reason to show these options as they default to true and there's no reason to disable them unless you were debugging something (and even then...)

Maybe even remove the option entirely?
2017-02-15 15:15:09 +00:00
twinaphex
8da9acd1fe Rename variable 2017-02-15 12:03:25 +01:00
Twinaphex
f84b6e9020 Merge pull request #4645 from fr500/master
Fix #4644
2017-02-15 11:49:45 +01:00
Twinaphex
604b49f7d3 Merge pull request #4640 from diablodiab/android-mouse-support
Add external mouse support and touch screen mouse emulation to Android input driver
2017-02-15 11:48:53 +01:00
radius
71b397902a better variable name 2017-02-15 01:42:44 -05:00
radius
a67935404d fix logging to file 2017-02-15 01:40:04 -05:00
Diablodiab
4f039cac22 This adds external mouse support to the Android input driver. It also adds support for using the touch screen as mouse in cores with mouse support (eg. ScummVM).
It has been tested with the ScummVM core on:
- NVIDIA Shield TV running Android Nougat 7.0
- NVIDIA Shield Tablet running Android Nougat 7.0
- NVIDIA Shield Tablet running Android Lollipop 5.1
- Huawei Honor 7 running Android Marshmallow 6.0
- HTC Desire 500 running Android Jelly Bean 4.1

It's been tested using the touch screen, a USB mouse/keyboard combo, and a bluetooth mouse.

The Android version running on the device limits the functionality and user experience of the external mouse support.
Android Nougat and/or an NVIDIA SHIELD device with NVIDIA extensions provides the best user experience:

Android API < 14:
- Only left mouse button supported
- The Android mouse cursor will be visible along with the in game mouse cursor
- When the Android mouse cursor hits the edge of the screen it will not be possible to move the in-game mouse cursor further in that direction

Android API < 24 and no NVIDIA extensions available:
- Both left and right mouse buttons supported
- The Android mouse cursor will be visible along with the in game mouse cursor
- When the Android mouse cursor hits the edge of the screen it will not be possible to move the in-game mouse cursor further in that direction

Android API > 23 and/or NVIDIA extensions available (SHIELD devices):
- Both left and right mouse buttons supported
- The Android mouse cursor will be hidden
- The mouse is not limited by the (hidden) Android mouse cursor hitting the edge of the screen

Description of how the the touchscreen mouse support works:
- You can move the in-game mouse cursor using the touch screen. The in-game mouse cursor will move relative to your movements on the touch screen, it will not be centered on where you press the screen.
- One quick tap on the touch screen results in the left mouse button being clicked
- Two taps on the screen and keeping the second tap pressed down results in a left mouse being held down until you release
- Two fingers on the touch screen results in the right mouse button being clicked

The touch screen mouse functionality is active at the same time as overlay support. This might cause some confusion when using cores that are designed for mouse support but where you have also enabled overlay controls. At the top of android_input.c there's a define that can be used to turn off this functionality if it causes more problems than it solves.
2017-02-14 22:34:46 +01:00
Brad Parker
d8e38bedf0 fix heap corruption in core info extension list 2017-02-14 13:50:42 -05:00
Twinaphex
a624e617ed Merge pull request #4639 from bparker06/9slice
add 9-slice texture draw function and selectable texture filter type
2017-02-14 17:16:38 +01:00
Brad Parker
75a96b10bb add 9-slice texture draw function and selectable texture filter type 2017-02-14 11:04:21 -05:00
Twinaphex
e05a8a7460 Add HAVE_SEGA 2017-02-14 10:30:28 +01:00
Brad Parker
8aa8d6ff6b MSVC2005: add winmm.lib to linker, needed by rthreads changes in f4c187e 2017-02-14 02:39:26 +00:00
Brad Parker
6d821132f5 msvc buildfix 2017-02-14 02:37:25 +00:00
Andrés
a8f2f94bf6 Merge pull request #4637 from pedrib/patch-1
Fix dualshock 3 detection bug
2017-02-13 19:50:29 -05:00
Pedro Ribeiro
6659c6af3a Fix dualshock 3 detection bug 2017-02-13 21:52:53 +00:00
Brad Parker
91ebcc0680 revert 6e969d0, but need to investigate if the original change to string_is_equal is valid 2017-02-13 15:37:34 -05:00
Brad Parker
6e969d0bc6 should be !string_is_equal 2017-02-13 15:12:04 -05:00
twinaphex
0143b537a8 Avoid warnings 2017-02-13 20:24:27 +01:00
twinaphex
07881d9f4f Buildfix 2017-02-13 19:11:32 +01:00
Twinaphex
b52bdeb038 Merge pull request #4634 from hizzlekizzle/master
More French fixes
2017-02-13 19:01:29 +01:00
hizzlekizzle
04904c5c9e whoops, double-quotes typoed in. 2017-02-13 11:48:43 -06:00
hizzlekizzle
854fd3f1f9 More French fixes
Courtesy of forum user Tromzy, once again. Much appreciated!
2017-02-13 11:33:11 -06:00