RipleyTom
|
cd87a64621
|
Headers cleanup
|
2025-02-11 20:38:35 +01:00 |
|
Megamouse
|
1cff5b35d4
|
input: add vibration multiplier
|
2025-01-21 08:44:38 +01:00 |
|
Megamouse
|
415c2d0795
|
fake move: add gyro support
|
2025-01-08 20:02:33 +01:00 |
|
Megamouse
|
08f81160cc
|
Input: Abbreviate some variable names and add min output interval
The abbreviation allows for easier diff between handlers.
|
2024-08-18 10:49:26 +02:00 |
|
Megamouse
|
9a071746ed
|
input: log send_output_report hid error
Maybe helps to figure out some issues
|
2024-08-18 10:49:26 +02:00 |
|
Megamouse
|
f2ef0966eb
|
input: add analog limiter
|
2024-08-10 12:07:57 +02:00 |
|
Megamouse
|
20f906bf9b
|
input: add battery LED flag and some getters
|
2024-07-06 18:55:48 +02:00 |
|
Megamouse
|
289b70d276
|
input: implement HidDevice::close
Preparing for further ps move additions down the line.
|
2024-06-30 12:51:24 +02:00 |
|
Megamouse
|
d5923ef808
|
Fix weird new gcc namespace warning
|
2024-06-28 00:24:07 +02:00 |
|
Megamouse
|
b8452d29d6
|
input: move pad_state_notify_state_change to pad_thread
|
2024-06-12 08:24:12 +02:00 |
|
Megamouse
|
244e9c96ad
|
ds3: use input_report struct
|
2024-06-11 00:09:38 +02:00 |
|
Megamouse
|
645621b243
|
Dualsense/DS4: Replace buffers with human readable structs
Also don't turn off the lights when the game closes.
|
2024-06-11 00:09:38 +02:00 |
|
Megamouse
|
c15121377f
|
Input: Implement anti deadzone
|
2024-06-07 21:18:37 +02:00 |
|
Megamouse
|
06025cd19d
|
gui/input: let pad handlers know whether they are part of emulation
Also fix unique_ptr vs shared_ptr nonsense in pad_threads
|
2024-02-22 19:31:00 +01:00 |
|
Megamouse
|
7b9614fcf3
|
Hid: add some logging for initial send_output_report
|
2023-05-25 23:02:22 +02:00 |
|
Megamouse
|
8e62a0e22d
|
input: remove some outdated comments
|
2023-05-25 23:02:22 +02:00 |
|
Megamouse
|
b3a9c8d83f
|
input: move config getters to base class
|
2023-01-17 02:01:03 +01:00 |
|
Nekotekina
|
7c15001042
|
Implement read_from_ptr<>() util
Doing std::bit_cast on a "span".
Should be usable in constexpr.
|
2022-11-26 09:30:11 +03:00 |
|
Megamouse
|
ddd261c943
|
Input: refactor vibration
There's no need to deal with vibration levels outside of the handlers.
All we need to know is the 0-255 DS3 range which is given by the u8 type.
|
2022-10-21 23:42:01 +02:00 |
|
Megamouse
|
363e0a40e5
|
Input: Allow to toggle player LED (Dualsense and DS3)
|
2022-10-19 22:55:50 +02:00 |
|
Megamouse
|
13b3c78c7f
|
Input: fix MMJOY axis identification
|
2022-10-15 13:17:16 +02:00 |
|
Nekotekina
|
6ff6a4989a
|
Implement at32() util
Works like .at() but uses source location for "exception".
|
2022-09-26 18:04:15 +03:00 |
|
Megamouse
|
829af30568
|
evdev: add motion device
|
2022-08-14 11:04:57 +02:00 |
|
Megamouse
|
a2623b1a9a
|
DS3: fix other report size check.
The Report size also seems to be generic here, so let's only check if anything got returned at all.
Also add missing logging for result < 0.
|
2022-06-10 18:46:12 +02:00 |
|
Megamouse
|
7235647e67
|
DS3: fix report size check.
The Report size seems to be generic here, so let's only check if anything got returned at all.
|
2022-06-10 06:47:01 +02:00 |
|
Megamouse
|
09875a5180
|
HID: properly check return values and report IDs
|
2022-06-05 19:07:03 +02:00 |
|
Megamouse
|
4912202cfa
|
HID: zeroize buffers before getting a report, use std::array
|
2022-06-05 19:07:03 +02:00 |
|
nastys
|
d2897bc6a0
|
macOS: Fix DS3 init on Monterey
|
2022-01-24 20:16:57 +01:00 |
|
Megamouse
|
877dd1f98d
|
DS4: add ZEROPLUS Brook Mars controller
|
2021-10-10 10:34:03 +02:00 |
|
Megamouse
|
7df7ac57cc
|
input: log hid_get_feature_report return values
|
2021-10-10 10:34:03 +02:00 |
|
Megamouse
|
cad96cef72
|
input: redesign pad profiles
|
2021-08-15 08:24:35 +02:00 |
|
Megamouse
|
5816505e61
|
input: fix player id if handler has 2 or more pads
|
2021-08-10 21:31:29 +02:00 |
|
Megamouse
|
2b18813115
|
input: fix pressure sensitivity button
|
2021-08-09 01:05:15 +02:00 |
|
Megamouse
|
d4802cc766
|
input: Add pressure sensitivity button
|
2021-08-07 21:03:34 +02:00 |
|
Megamouse
|
03b76b4606
|
Emu: some cleanup
|
2021-04-09 21:03:49 +02:00 |
|
Nekotekina
|
c22e1e71f0
|
Continue fixing strict aliasing warnings
|
2021-03-13 18:02:37 +03:00 |
|
Megamouse
|
3e7e077fad
|
DS3/DS4: fix battery LED update
|
2021-03-06 02:07:02 +01:00 |
|
Megamouse
|
930895a218
|
DS3: fix LED battery status
|
2021-03-02 01:29:28 +01:00 |
|
Megamouse
|
3452e18da1
|
DS3: fix linux output report
|
2021-03-02 00:45:42 +01:00 |
|
Megamouse
|
b5d4b5a21c
|
DS3: fix regression: pad data is cleared even if there is no new data
|
2021-03-01 14:37:49 +01:00 |
|
Megamouse
|
2dc798d539
|
DS3: fix battery_level aquisition
|
2021-03-01 14:37:49 +01:00 |
|
Megamouse
|
c2467b7b38
|
ds3: add led battery indicators (Linux only atm)
needs testing. maybe doesn't work
|
2021-03-01 14:37:49 +01:00 |
|
Megamouse
|
10a55f16cc
|
DS3: implement player LEDs
|
2021-03-01 14:37:49 +01:00 |
|
Megamouse
|
5a9b29b73a
|
hid: log more info when adding a device
And minor format changes
|
2021-02-22 10:45:40 +01:00 |
|
Megamouse
|
1479468730
|
Input: fix build
|
2021-02-22 10:45:40 +01:00 |
|
Megamouse
|
f6d465667a
|
Input: unify some more code
|
2021-02-22 10:45:40 +01:00 |
|
Megamouse
|
aaae30cb84
|
DS3: inherit from hid_pad_handler
|
2021-02-22 10:45:40 +01:00 |
|
Megamouse
|
08f48d27e8
|
Input: minor simplification
This might prevent some copy paste error in the future
|
2021-02-09 19:21:37 +01:00 |
|
Nekotekina
|
fb29933d3d
|
Add usz alias for std::size_t
|
2020-12-18 12:23:53 +03:00 |
|
Megamouse
|
03ad5c6830
|
Salvaging code (#9432)
* Minor input refactoring
* fix sys_config_unregister_io_error_listener log message
* Remove unused variables in RepaintTextColors
Co-authored-by: GermanAizek <GermanAizek@yandex.ru>
|
2020-12-14 14:33:43 +01:00 |
|