3304 Commits

Author SHA1 Message Date
rsn8887
1caaea4bdf [SWITCH] Allow touch mouse gestures such as tap to click
This adds touch gestures to the touchpad-style mouse
controls. Before this, there was only pointer motion
via dragging a finger somewhere on the screen. Now,
there's tap to click and more.

Supported touch gestures:

- pointer motion = single finger drag
- left mouse click = single finger short tap
- right mouse click = second finger short tap
  while first finger is still down
- left click drag and drop = dual finger drag
- right click drag and drop = triple finger drag
2019-06-26 00:35:05 -05:00
rsn8887
d0c8809df4 [SWITCH] Allow finger drag to act as mouse movement 2019-06-24 20:02:24 -05:00
twinaphex
2f16fb1345 (libnx) Buildfix 2019-06-24 05:09:21 +02:00
twinaphex
c55aefef1e (dinput_joypad.c) Cleanups 2019-06-24 05:07:37 +02:00
twinaphex
584c0f5de5 (Android) Buildfix 2019-06-24 01:11:20 +02:00
twinaphex
a739003ad4 Buildfix 2019-06-23 19:08:03 +02:00
twinaphex
9c73d3305d Insert input_joypad_pressed into drivers themselves 2019-06-23 18:20:48 +02:00
twinaphex
7a2fa44c4b (Cocoa) Add bitmask code 2019-06-23 17:05:01 +02:00
twinaphex
9e20871c3c (Wayland) Buildfix 2019-06-23 16:37:23 +02:00
twinaphex
439a07eecd (Android) Put extra parentheses around this 2019-06-23 15:56:34 +02:00
twinaphex
334c64d159 (Android) Simplify input code 2019-06-23 15:55:40 +02:00
twinaphex
1e863b0f4d Optimal way of grabbing all button states in a bitmasked value -
should allow us to do only one function call to the RA input
driver's input state callback
2019-06-23 06:09:45 +02:00
twinaphex
eaf221125a (xinput_joypad.c) Small cleanups 2019-06-23 03:23:16 +02:00
twinaphex
d4ed0358a7 (dinput.c) Cleanups 2019-06-23 03:14:21 +02:00
twinaphex
51365ed387 (input drivers) More simplifications 2019-06-23 02:34:35 +02:00
twinaphex
ceecf4751a Simplify DOS keyboard code 2019-06-23 02:22:54 +02:00
twinaphex
e51a98a295 Simplify android input code 2019-06-23 01:57:12 +02:00
twinaphex
6a72b19907 These files are no longer needed - they are inside retroarch.c 2019-06-22 00:27:51 +02:00
twinaphex
20e8dfcba5 (dinput/xinput) Simplifications 2019-06-21 09:00:59 +02:00
twinaphex
6bc1802914 Move run_ahead.c to retroarch.c - most of the runloop
should now be self-contained in one file. Allows us to
turn more functions static, remove more extraneous functions
that just consisted of a single line (mostly getters/setters), etc.
2019-06-20 09:30:44 +02:00
twinaphex
d50a6b6bd2 Add video_driver_has_focus 2019-06-20 06:26:29 +02:00
radius
d865c5e4a6 add some copyright on files I contributed considerably just in case 2019-06-20 05:45:17 +02:00
jdgleaver
fc2c79b488 (3DS) Fix C-Stick y-axis inversion 2019-06-19 18:09:35 +01:00
twinaphex
68cbd5048c Convert input_conv_analog_id_to_bind into macro 2019-06-19 05:16:24 +02:00
twinaphex
fd17e04bb1 Merg input_remote into retroarch.c 2019-06-18 01:03:33 +02:00
twinaphex
b9c33713b4 Merge input_driver.c with retroarch.c 2019-06-17 18:59:56 +02:00
twinaphex
ee3208ac39 Integrate video_driver.c into retroarch.c 2019-06-17 15:10:22 +02:00
twinaphex
ce51cf6b33 Simplify BSV code 2019-06-17 02:23:06 +02:00
twinaphex
db87e050d5 Merge movie.c into retroarch.c 2019-06-16 16:52:48 +02:00
Yoshi Sugawara
2dde223d23 Support returning the number of touches in the current input to support multi-touch inputs, like using a 2 finger touch to reload or secondary fire in lightgun games 2019-06-11 11:49:27 -10:00
twinaphex
6d17d11132 Rewrite '== false' to '!' for our own code 2019-06-06 13:50:39 +02:00
twinaphex
8bb74d0776 Added new hotkey AI Service and added requested
variables for OCR
2019-06-06 03:41:40 +02:00
Yoshi Sugawara
222d3297d2 use preprocessor macros to support compiling using Xcode 11/iOS 13 and older versions of Xcode 2019-06-05 06:50:02 -10:00
Yoshi Sugawara
22d84eaef2 Merge branch 'master' into ios13-controllers 2019-06-05 06:22:51 -10:00
Yoshi Sugawara
9e1fcf4031 iOS: Support L3/R3 in iOS 12.1, Options buttons in mfi/PS4/XBox One controllers in iOS 13 2019-06-05 06:21:06 -10:00
Brad Parker
1120a7e490 Bliss-Box: add additional pad types from firmware 3.0 2019-06-03 23:40:31 -04:00
Ryunam
ed1d98d2a2 Add toggle to show/hide mouse cursor with overlays 2019-06-02 23:48:01 +02:00
Ash Logan
26d3c3634c wiiu/input: Uniquely name axis enum
Griffin!
2019-05-28 09:16:48 +10:00
Ash Logan
258b9391b7 hid: Uniquely name (more) symbols
5bf8293 missed a few, all good!
2019-05-28 09:06:31 +10:00
Ash Logan
9a89aebe73 wiiu/input: Give static variables unique names
For griffin build, where static is meaningless
2019-05-28 09:06:31 +10:00
twinaphex
e5d13bd32a Rename input_common.c to input_hid_common.c 2019-05-27 15:01:36 +02:00
twinaphex
5bf829339d (HID) Uniquely name symbols 2019-05-27 14:32:40 +02:00
Twinaphex
8db0e2db7c
Revert "xfree86_keycodes: Add non-evdev keycodes to fix keyboard input on non-Linux systems with X11." 2019-05-21 17:15:59 +02:00
nia
cdcb819a79 xfree86_keycodes: Add non-evdev keycodes. 2019-05-18 17:11:42 +01:00
twinaphex
bc2bdd5734 config_file_read not needed anymore 2019-04-30 13:37:10 +02:00
twinaphex
4c3e0d44b8 Revert "Start using string_is_equal_memcmp and"
This reverts commit 26d6aee1eb064a533534dbc158a2085a887658aa.
2019-04-29 04:04:33 +02:00
twinaphex
26d6aee1eb Start using string_is_equal_memcmp and
string_is_equal_memcmp_fast
2019-04-28 17:23:11 +02:00
Twinaphex
077a5dd685 (OSX) CXX_BUILD buildfix 2019-04-22 10:33:30 +02:00
twinaphex
317a443741 Use config_file_read in more places 2019-04-22 02:10:12 +02:00
twinaphex
b41384a0d0 (input_driver) Cleanups 2019-04-22 00:05:12 +02:00