3922 Commits

Author SHA1 Message Date
sonninnos
26d6c8243a (WINRAW) Add missing analog keybinds 2021-08-21 22:01:12 +03:00
Autechre
ae327a769b
Revert "input refactoring: create input_driver.c" 2021-08-18 18:45:53 +02:00
Autechre
a66b1b3e48
Merge pull request #12703 from markwkidd/input-drivers
input refactoring: create input_driver.c
2021-08-18 18:17:43 +02:00
Mark W. Kidd
5a8920c862 input_driver refactor 2021-08-17 08:56:29 -04:00
twinaphex
20ef0667b0 Add initial webOS port courtesy of informatic/webosbrew/mariotaku 2021-08-11 20:04:11 +02:00
twinaphex
013dd30bde We have to uniquely name pointer_status struct for both dinput
and winraw because otherwise Griffin builds will fail
2021-08-11 03:44:34 +02:00
twinaphex
13a2d2419f (PSL1GHT) Fix function prototype for 'button' pad driver
(Task save) Fix warning in platform port
2021-08-09 20:25:27 +02:00
twinaphex
bb30dc3dee After gblues' change, the rest of the button function callbacks
for the other joypad drivers still had int16_t as the return type
instead of int32_t - fix this
2021-08-08 21:48:19 +02:00
Nathan Strong
feb4f266fa WIIU: Fix L3/R3 buttons
== DETAILS
After a bisect, the culprit was changing the gamepad interface from
returing a single button (bool) to multiple (int16).

The issue is that the Wii U gamepad (and presumably the Pro controller too)
have more than 16 buttons, which means some buttons get lost. Notably, L3 (18)
and R3 (17).

The solution: use int32 instead of int16.

I did a test build and confirmed that this change restores L3/R3 functionality
with the gamepad. Don't have a pro controller to test, but it should work too.
2021-08-07 23:23:33 -07:00
Autechre
390f914357
Merge pull request #12573 from markwkidd/wayland-input
wayland input driver multimouse/multigun fixup
2021-08-07 20:25:23 +02:00
ComradeEcho
35c2ec993b
Remove code that duplicates controllers 2021-08-07 11:43:50 -05:00
Adie
ce4fce12c0 Implement changes to fix macOS controller duplication bug 2021-08-06 22:02:43 -05:00
Autechre
1661d4e969
Merge pull request #12756 from sonninnos/winraw-alt-sticky
(WINRAW) Alt sticky fix
2021-08-07 03:54:43 +02:00
twinaphex
f459472f6d Fix leaks - we were not honoring the ownership policy/create rule
for various CoreFoundation functions with 'Copy' or 'Create' in the title
2021-08-07 03:46:08 +02:00
sonninnos
6170fc45ae (WINRAW) Cleanups 2021-08-07 04:31:32 +03:00
twinaphex
c1ed271a12 (Mac/IOHIDManager) Fix leak of elements_raw and elements in iohidmanager_hid_device_add_device 2021-08-07 03:30:17 +02:00
sonninnos
079070daf7 (WINRAW) Prevent Alt getting stuck when Alt-Tabbing 2021-08-07 04:24:20 +03:00
sonninnos
2178f9d36f (WINRAW) Add pointer status 2021-08-06 23:12:38 +03:00
sonninnos
bd3533f05d Friendly names for mice where available 2021-08-06 00:21:17 +03:00
sonninnos
2c47d94bf5 (WINRAW) Change legacy virtual keys to scan codes 2021-08-04 19:23:56 +03:00
Mark W. Kidd
109f4fafec wayland input driver fixups 2021-08-02 18:05:24 -04:00
amtz
d0612f906d Limit udev device scan to subsystem 'input'
This change makes the call to 'udev_enumerate_scan_devices' much faster.
In particular, for some bluetooth devices, this function may implicitly
read its battery's virtual file 'uevent', e.g.

/sys/devices/*/usb1/1-1/*/bluetooth/hci0/*/power_supply/hid-*-battery/uevent

Reading this file may (for unknown reasons) block up to 10 seconds.
Since udev_enumerate_scan_devices is called 4 times (for keyboard,
mouse, touchpad, and joypad) during startup this may cause a
considerable delay.

Limiting the scan to subsystem 'input' yields the same devices but makes
the scan faster and does not read 'uevent' of the input controller's
power_supply.
2021-08-02 13:17:00 +02:00
sonninnos
2962707d5f (WINRAW) Trigger joypad driver reinit on DEVICECHANGE 2021-08-01 22:35:27 +03:00
Autechre
0c2299396c
Merge pull request #12711 from Poligraf/retrofw
Add retrofw port
2021-07-29 13:41:13 +02:00
Poligraf
9000e81498
Add retrofw port 2021-07-29 22:16:59 +12:00
R-YaTian
1d988d374a
libnx: Fix split joycons 2021-07-29 12:18:11 +08:00
Autechre
910d729d50
Merge pull request #12661 from markwkidd/menu-input
consolidate menu_input.h declarations
2021-07-29 01:14:06 +02:00
p-sam
0f5f8798ea libnx: input fixes
- fix poll missing for controller 2-8
- fix layout not applied correctly and hangs when splitting joycons
2021-07-28 21:49:09 +02:00
twinaphex
9e1ad64e89 (winraw_input.c) Fixed some typos and style nits 2021-07-25 16:36:48 +02:00
Ben Templeman
48e4b02fad Fixed absolute co-ords for CRT and non crt users
Fixed typo

added delay between winraw rect change to fix roslution changing issues.

added more comments

added delay reset

Fixed typo

updated comments

added RECT size to log

updated logging
2021-07-25 11:06:34 +01:00
Mark W. Kidd
e3d2a9b614 Merge branch 'master' of http://github.com/markwkidd/retroarch into menu-input 2021-07-23 10:27:49 -04:00
Autechre
1071c93c82
Merge pull request #12609 from markwkidd/input-drivers
add source comments to input_drivers.h
2021-07-23 06:33:08 +02:00
Mark W. Kidd
8038d899d6 add documentation to input_driver.h 2021-07-19 12:05:28 -04:00
Ash Logan
27b02d66aa (Wii U) Ignore some bogus KPAD results
This API is completely bonkers, seems to have no idea what the error 
conditions are
2021-07-19 16:59:41 +10:00
Mark W. Kidd
64672b4b63 consolidate menu_input.h declarations 2021-07-15 14:19:38 -04:00
John Parton
f6aeb717ba Basic rs90 build
DINGUX_BETA has clock_gettime libogc
Add tinyalsa support to rs90
2021-07-13 11:36:48 -05:00
Nicolas Roehm
b3c929499e
[Upd] error message 2021-07-10 14:10:12 +02:00
Autechre
7b55b03c96
Merge pull request #12617 from markwkidd/input-cleanup
consolidate 'input define' enums to input_defines.h
2021-07-09 15:30:02 +02:00
Autechre
ed3412c004
Merge pull request #12618 from markwkidd/input-remapping
consolidate and comment input_remapping.h
2021-07-08 14:22:51 +02:00
Autechre
7dba607d76
Merge pull request #12579 from grant2258/touchpad
udev fixes add pointer pressed to pointer device to allow udev users to access this device
2021-07-08 12:04:04 +02:00
Mark W. Kidd
b17dd28ff2 consolidate and comment input_remapping.h 2021-07-06 16:13:43 -04:00
Mark W. Kidd
523d7d6ee8 consolidate input defines 2021-07-05 15:18:17 -04:00
Autechre
e1270742b9
Merge pull request #12582 from markwkidd/input-drivers
add comments in order to document input_driver.h
2021-07-02 00:21:09 +02:00
Mark W. Kidd
fb2b3695d9 remove unused enum input_device_type 2021-06-30 19:05:56 -04:00
Mark W. Kidd
b0831bf1a0 comment documentation for input_driver.h 2021-06-29 20:12:44 -04:00
M4xw
d00c2a6407 [Libnx] Style nits 2021-06-28 17:38:17 +02:00
p-sam
ac8a977492 Replace deprecated HID APIs 2021-06-28 17:38:17 +02:00
p-sam
1bc588acbd Fix building with libnx 4.0.0 2021-06-28 17:38:17 +02:00
Grant
d6a1c21fe1 udev fixes] 2021-06-26 23:09:47 +01:00
jdgleaver
3a82cf980d 'Analog to Digital Type' usability improvements 2021-06-23 14:28:45 +01:00