36763 Commits

Author SHA1 Message Date
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
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
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
Twinaphex
ab7ac777d7 Merge pull request #4628 from rootfather/intl-de
Finish the rewrite of the German translation
2017-02-13 17:52:11 +01:00
Twinaphex
31c65140c4 Merge pull request #4631 from hizzlekizzle/master
French remap save and load had the same word (charger)
2017-02-13 17:52:01 +01:00
Twinaphex
4241e4fedb Merge pull request #4632 from Themaister/master
Vulkan: Find supported composite alpha in swapchain.
2017-02-13 17:51:41 +01:00
Hans-Kristian Arntzen
6395907887 Vulkan: Find supported composite alpha in swapchain. 2017-02-13 16:30:02 +01:00
hizzlekizzle
31a62a63f6 Remap save and load had the same word (charger)
Thanks to forum user Tromzy for the heads-up!
2017-02-13 09:22:15 -06:00
rootfather
b5c87b68f8 Claim copyright for msg_hash_de.c 2017-02-13 15:12:03 +01:00
rootfather
c8f3c15cf5 Finish the rewrite of the German translation 2017-02-13 13:27:40 +01:00
Twinaphex
d7ff3c809f Merge pull request #4627 from fr500/master
fix #4625
2017-02-13 12:48:06 +01:00
radius
28deb34742 fix #4625 2017-02-13 01:24:48 -05:00
Twinaphex
66c3599019 Merge pull request #4622 from rootfather/intl-de
Add some more strings to German translation
2017-02-12 23:44:31 +01:00
rootfather
672add6cab Add some more strings to German translation 2017-02-12 22:32:24 +01:00
Twinaphex
e9cbde3188 Merge pull request #4621 from vanfanel/master
DISPMANX: Disable triple buffering for now, for stability reasons.
2017-02-12 19:36:01 +01:00
vanfanel
0b75671c21 DISPMANX: Disable triple buffering for now, for stability reasons. 2017-02-12 19:27:59 +01:00
Andrés
89244d0e58 Merge pull request #4620 from leiradel/master
Only compile support for leaderboards if CHEEVOS_ENABLE_LBOARDS is de…
2017-02-12 12:02:50 -05:00
Andre Leiradella
4fc758799f Only compile support for leaderboards if CHEEVOS_ENABLE_LBOARDS is defined 2017-02-12 16:18:32 +00:00
Twinaphex
55de1ff8c6 Merge pull request #4619 from diablodiab/android-ui-parameters
Add two new UI specific extras to Android version
2017-02-12 14:59:02 +01:00
Diablodiab
77e479a8bc Adds two new parameters that can be passed to the Android version of Retroarch at launch:
QUITFOCUS
If enabled this will cause Retroarch to quit completely when it loses focus (eg. when the home button is pressed). This is useful when you are using an alternative launcher such as Kodi because it will make the home button function as an alternative quit key, return to the alternative launcher, and then allow for a different game to start instead of returning to the current session.

HIDEMOUSE
Normally it is not possible to hide the mouse cursor if you have attached an external mouse to your Android unit. This makes it difficult to implement mouse support in the Android version of Retroarch because you will end up having two mouse cursors on the screen. NVIDIA has implemented extensions on the SHIELD that allows for hiding the mouse cursor. If this parameter is provided when starting Retroarch it will check for these extensions and if available it will hide the mouse cursor.

(I am almost done with adding mouse support to the Android input driver and will be submitting a suggestion for this very soon)
2017-02-12 13:26:18 +01:00
Twinaphex
66ff3db2e2 Merge pull request #4618 from rootfather/intl-de
Add more strings to the German translation
2017-02-12 11:34:13 +01:00
rootfather
af7c346e23 Fix typo in the German translation 2017-02-11 23:10:29 +01:00
rootfather
e0cbce96c5 Add more strings to the German translation 2017-02-11 22:15:25 +01:00
Twinaphex
640dca71cf Merge pull request #4617 from fr500/master
Changelog
2017-02-11 21:03:43 +01:00
radius
8783d92f23 update changelog 2017-02-11 14:45:11 -05:00
radius
0f1943259e add changelog 2017-02-11 14:43:28 -05:00
Twinaphex
7a79ee68d9 Merge pull request #4612 from fr500/master
Fix #3807
2017-02-11 16:37:59 +01:00
radius
9e09b28f50 Merge branch 'master' of github.com:fr500/RetroArch 2017-02-11 00:01:41 -05:00
radius
5ea570c978 add zip and 7z always to the list of supported extensions 2017-02-10 23:58:58 -05:00
radius
0c5fe1dd79 add zip and 7z always to the list of supported extensions 2017-02-10 23:58:40 -05:00
Twinaphex
25a29a4e0a Merge pull request #4609 from rootfather/intl-de
Add some more strings to German translation
2017-02-10 22:26:02 +01:00
rootfather
b2f4359234 Add some more strings to German translation 2017-02-10 20:08:55 +01:00
Brad Parker
8e6df5fe85 MSVC buildfix 2017-02-09 23:54:35 -05:00
Andrés
754b7326f3 Merge pull request #4607 from fr500/master
fix crashes when trying to connect with contentless cores
2017-02-09 21:23:57 -05:00
radius
cd17927990 fix contentless netplay! thanks Gregor 2017-02-09 21:22:52 -05:00
radius
a33778cb87 fix crashes when trying to connect with contentless cores 2017-02-09 21:10:40 -05:00
aliaspider
d1b93741d7 Merge pull request #4605 from xhp-creations/master
WiiU Fix Keyboard Input
2017-02-09 20:11:47 +01:00