760 Commits

Author SHA1 Message Date
arstn
c222e6674a Making mouse pointer working in X11 environment with no Display 2019-07-11 09:24:01 +02:00
twinaphex
a200d9683c (dinput.c) Cleanups 2019-07-08 02:40:09 +02:00
twinaphex
2c7e7ac083 (Android) Buildfix 2019-07-04 22:26:19 +02:00
twinaphex
6c2f65c585 Fix code analysis warnings 2019-07-04 21:54:51 +02:00
twinaphex
13aab06d2d (Android) Should hopefully fix hotkey binds being mappable for
gamepad
2019-07-04 15:20:10 +02:00
twinaphex
47b17e8d65 (dinput) Update 2019-07-04 14:05:20 +02:00
twinaphex
ff0ea2921f (dinput) Buildfix 2019-07-04 14:02:43 +02:00
twinaphex
cec67e412e Revert "(dinput/xinput) Simplifications"
This reverts commit 20e8dfcba5fc36befb129940d14a1d891b38f2e2.
2019-07-04 05:20:19 +02:00
rsn8887
7e348f132e [SWITCH] Proper x/y scaling for pointer devices, fixes touch lightgun 2019-07-02 16:42:17 -05:00
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
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
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
20e8dfcba5 (dinput/xinput) Simplifications 2019-06-21 09:00:59 +02:00
twinaphex
d50a6b6bd2 Add video_driver_has_focus 2019-06-20 06:26:29 +02:00
twinaphex
68cbd5048c Convert input_conv_analog_id_to_bind into macro 2019-06-19 05:16:24 +02:00
twinaphex
ee3208ac39 Integrate video_driver.c into retroarch.c 2019-06-17 15:10:22 +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
rsn8887
28ef222886 [VITA] Bluetooth mouse and keyboard support 2019-03-22 21:32:59 -05:00
rsn8887
5aa0d17659 [LIBNX] Fix USB keyboard support for controlling Vice core and Menu 2019-03-19 19:49:45 -05:00
rsn8887
208a68b528 [LIBNX] USB mouse support 2019-03-19 18:44:12 -05:00
rsn8887
f943688dff [LIBNX] USB keyboard support 2019-03-19 08:43:46 -05:00
Brad Parker
145013074e android buildfix 2019-03-14 21:26:39 -04:00
Brad Parker
15e489fd0a android: allow stylus/pen to move mouse without pressing down 2019-03-14 19:33:51 -04:00
Brad Parker
2f659e3e17 style nits 2019-03-14 19:33:02 -04:00
Twinaphex
a8a7fba2ca
Merge pull request #8450 from Exvat/switch-rumble
Add rumble support for the switch
2019-03-13 12:28:05 +01:00
Twinaphex
ae35484eea
Merge pull request #8456 from phcoder/kbd
Fix keyboard on android
2019-03-13 11:35:27 +01:00
Brad Parker
44a06d69a6 android: add gamepad rumble support 2019-03-13 03:32:18 -04:00
Vladimir Serbinenko
fa1603127f Fix keyboard on Android
This bug interferes with my BK-0010 libretro port.
2019-03-12 23:45:52 +01:00
Brad Parker
954c54baee add device vibration option for cores that support rumble (with initial android implementation) 2019-03-12 13:07:16 -04:00
Exvat
e7bf2a345c Add rumble support for the switch 2019-03-11 19:33:02 -07:00
Brad Parker
f6dc7f4f02 android: add option to vibrate on touch 2019-03-10 21:36:52 -04:00
Zoran Vuckovic
2b2903cfff Fix issue #8326 2019-02-28 21:56:38 +01:00
radius
b549f5181b try to fix #8121 by making the interval configurable 2019-02-07 22:34:18 -05:00
orbea
28ff4b391a Clean up white space. 2019-02-03 16:00:50 -08:00
twinaphex
85708b7ef8 (Emscripten) Buildfixes 2019-02-03 17:15:18 +01:00
orbea
5d56080312 Use the posix poll.h instead of sys/poll.h. 2019-02-01 09:58:04 -08:00
David Skywalker
347519a4d8 now X11 driver using keycodes instead keysyms, fixes international layouts problems. 2019-01-31 12:50:58 +01:00
orbea
e062b98088 Remove trailing blank lines.
find . -type f -exec sed -i '${/^[[:space:]]*$/d;}' {} \+
2019-01-17 19:39:38 -08:00