36732 Commits

Author SHA1 Message Date
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
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
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
xhp-creations
b04bf809e3 WiiU Fix Keyboard Input
WiiU Fix Keyboard Input
2017-02-09 14:08:27 -05:00
aliaspider
f0e45e970c Merge pull request #4602 from xhp-creations/master
WiiU Initial Keyboard Support
2017-02-09 18:52:06 +01:00
xhp-creations
4915f452f5 WiiU Initial Keyboard Support
WiiU Initial Keyboard Support
2017-02-09 12:34:12 -05:00
Twinaphex
a0379f0598 Merge pull request #4600 from rootfather/intl-de
Rewrite German translation (Part 2.9)
2017-02-09 14:02:13 +01:00
rootfather
1c2e97b0c1 Rewrite German translation (Part 2.9) 2017-02-09 12:21:30 +01:00
Twinaphex
bd40dd3ec2 Merge pull request #4597 from nadenislamarre/batocera-sdl2-blink
sdl2 renderer: remove the random flashing black borders
2017-02-08 22:57:57 +01:00
Nicolas Adenis-Lamarre
9993435cf9 sdl2 renderer: remove the random flashing black borders
on the batocera linux distribution (https://github.com/nadenislamarre/batocera.linux),
retroarch gives some flashing black borders sometimes when running a game.
It looks like sometimes the rendering is done without clearing the screen causing
this flashing effect.

Signed-off-by: Nicolas Adenis-Lamarre <nicolas.adenis.lamarre@gmail.com>
2017-02-08 22:31:26 +01:00
Twinaphex
8d2bafb279 Merge pull request #4596 from leiradel/master
Fixed crash in cheevos_get_description
2017-02-08 21:43:53 +01:00
Andre Leiradella
3785fc4524 Fixed crash in cheevos_get_description 2017-02-08 19:45:01 +00:00
Twinaphex
bd8ecd9dfd Merge pull request #4595 from libretro/revert-4592-fix/robloach/battery-clock-scale
Revert "Allow normal Battery/Clock icon sizes [WIP]"
2017-02-08 20:02:33 +01:00
Twinaphex
962cf6b076 Revert "Allow normal Battery/Clock icon sizes [WIP]" 2017-02-08 20:02:26 +01:00
Twinaphex
890f28ae71 Merge pull request #4592 from RobLoach/fix/robloach/battery-clock-scale
Allow normal Battery/Clock icon sizes [WIP]
2017-02-08 19:57:08 +01:00
Twinaphex
90aa5ef8a5 Merge pull request #4585 from micochops/master
Updated a few more menu sublabels
2017-02-08 09:08:55 +01:00
Brad Parker
373535f329 DOS: improve color accuracy and scaling, thanks to aliaspider 2017-02-08 00:17:12 -05:00
Twinaphex
35f8ed82a0 Merge pull request #4584 from rootfather/intl-de
Rewrite German translation (part 2.1/fixes)
2017-02-08 05:15:54 +01:00
Mico Chopitea
0617262cd2 removed ifdef 2017-02-08 11:06:14 +08:00
Rob Loach
1ef482d6df
Apply icon scaling to the battery and clock icons 2017-02-07 21:48:18 -05:00
Mico Chopitea
452c3529a8 Updated a few more menu sublabels 2017-02-07 23:11:08 +08:00
rootfather
c3701783b1 Rewrite German translation (part 2.1/fixes)
Improve consistency and fix some errors.
Intermediate release in preparation of part 3.
2017-02-07 12:32:28 +01:00
Twinaphex
a2141e61f7 Merge pull request #4582 from micochops/master
Updated menu sublabels and others
2017-02-07 08:03:15 +01:00
Mico Chopitea
46797c982b Updated menu sublabels and others 2017-02-07 14:39:17 +08:00
Twinaphex
98003ecf5d Merge pull request #4581 from fr500/master
Autoconf fallback for android
2017-02-07 06:20:46 +01:00
radius
ee6d76e932 fix message 2017-02-07 00:12:30 -05:00
radius
c9015aa9ba attempt autoconf fallback for android 2017-02-07 00:12:30 -05:00
Twinaphex
ddeaf2c893 Merge pull request #4576 from rootfather/intl-de
Rewrite German translation (part 2)
2017-02-07 03:52:16 +01:00
Andrés
8005970842 Merge pull request #4579 from GregorR/netplay-private
Make announcing netplay on the public lobby optional
2017-02-06 13:48:02 -05:00
Gregor Richards
aa77d688ec Make announcing netplay on the public lobby optional. 2017-02-06 13:45:58 -05:00
rootfather
e98fac2046 Rewrite German translation (part 2) 2017-02-06 11:45:27 +01:00
twinaphex
593d1ff7b5 Update Chinese 2017-02-06 05:56:33 +01:00
twinaphex
959b1c4b13 Revert "Update Chinese"
This reverts commit c7297d41b2f65385884dd4dbb6ec17f6b1bfb3b9.
2017-02-06 05:56:01 +01:00
twinaphex
c7297d41b2 Update Chinese 2017-02-06 05:55:25 +01:00