786 Commits

Author SHA1 Message Date
p-sam
49b87724eb (Switch) Implement driver sensor interface 2019-10-28 16:36:46 +00:00
p-sam
f7f0499601 Fix mixed indentation 2019-10-28 16:36:46 +00:00
Twinaphex
4a7dfba6ee
Merge pull request #9540 from SindenLightgun/master
Fixed bug with touchscreen/lightgun
2019-10-01 19:24:22 +02:00
SindenLightgun
2e480a37ea
Fixed bug with touchscreen/
From my analysis I "believe" this is a development bug/typo and is causing issues with mouse and touchscreen input, that would affect touchscreen and lightgun APIs.
2019-10-01 12:26:13 +01:00
jdgleaver
3057c31798 (Menu Input) Add mouse/touchscreen gesture support + full gesture support for XMB 2019-09-30 16:55:41 +01:00
benoa
9250f649db GameCube: Fix build 2019-09-19 15:13:22 +02:00
benoa
744fac6777 Wii: Add wiimote lightgun support 2019-09-15 00:46:02 +02:00
Jeffrey Davenport
25f35ed67d Bug caused by typo 2019-08-13 02:26:13 -06:00
twinaphex
65b4c2595e Update set keyboard mapping code for input driver 2019-07-27 02:21:24 +02:00
twinaphex
2750997724 (dinput) POV defines need mmsystem.h header include 2019-07-23 19:40:22 +02:00
twinaphex
02876aecae Cleanups 2019-07-23 14:07:49 +02:00
twinaphex
0f18df5d66 (PS2) Buildfix 2019-07-22 14:45:55 +02:00
twinaphex
bee9984745 Update all other input drivers 2019-07-22 01:20:00 +02:00
twinaphex
f9f2e2f48d (Android) This should fix the hotkey binding problems 2019-07-22 00:19:05 +02:00
orbea
e13ec54dc6 Fix --disable-overlay. 2019-07-21 10:26:42 -07:00
twinaphex
cba3eb3968 (Dinput) Refactor dinput_is_pressed 2019-07-21 17:53:51 +02:00
twinaphex
f4104f5c9a Regression in
9c73d3305d
- joykey needs to be uint64_t and then is later cast to uint16_t -
is apparently important for hotkeys
2019-07-21 16:22:41 +02:00
twinaphex
66b88b60f2 Simplify this 2019-07-21 16:06:12 +02:00
twinaphex
4c69dad0ce Define DEFAULT_MAX_PADS inside config.def.h - get rid of the messy
MAX_PADS macros everywhere
2019-07-19 12:55:38 +02:00
twinaphex
e1ab933bf2 (Android) These arrays should be at least as big as MAX_USERS 2019-07-18 23:40:32 +02:00
twinaphex
61746c8179 (Android) Refactor android_input_set_rumble to be safer 2019-07-18 20:47:51 +02:00
twinaphex
09c727c0ee (Android) Fix one potential crash on older Android 2019-07-18 18:16:52 +02:00
twinaphex
26788850ae (linuxraw) linuxraw_analog_pressed - reimplement to avoid LGTM warnings 2019-07-16 16:54:18 +02:00
twinaphex
0257e01bee Refactor input_autoconfigure_connect - don't return
value - set input device name upon failure implicitly
2019-07-16 15:28:22 +02:00
twinaphex
e1613bba6d Cleanups 2019-07-12 16:24:09 +02:00
arstn
63494f88cd
Update input/drivers/udev_input.c
sure. commited already.

Co-Authored-By: Rob Loach <robloach@gmail.com>
2019-07-11 17:25:57 +02:00
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