Megamouse
41a7cd29f8
Use std::string_view in input code
2026-06-14 17:41:33 +02:00
Megamouse
a8dd053593
Fix some warnings
2026-04-30 20:41:35 +02:00
Megamouse
704d8764af
input: refactor combos into a struct for future use
...
Also update some terminology in the code
2026-03-18 12:10:29 +01:00
Megamouse
6e6dd603cb
mmjoy: deduplicate some code
2026-03-17 13:36:25 +01:00
Megamouse
22fe14d31d
input: implement button combos
2026-03-17 13:36:25 +01:00
Megamouse
74fbca8c80
input: simplify mmjoy handler
2026-03-15 20:00:05 +01:00
Megamouse
27f39d2ac0
fmt: add more string_view versions of string functions
2025-12-08 19:49:42 +01:00
Megamouse
2667d5de0f
input: change default squircle value to 4000
...
The last squircle changes fixed a bug that caused the squircle to be too
large. This caused the previous default value of 8000 to be too circular
2025-11-05 22:39:34 +01:00
Megamouse
25fbdfb43a
Qt/Input: Adjust pad settings dialog based on pad capabilities
2025-10-10 13:02:04 +02:00
Megamouse
4f52c67566
static analysis: suspicious code
2025-03-05 00:12:30 +01:00
Megamouse
a8fc3f5f74
static analysis: more const
2025-03-05 00:12:30 +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
cb122819ae
evdev: try to fix first call behaviour
...
We don't have all the events in the first call to get_next_button_press.
So we have to set all the buttons to max on the first call.
We also have to make sure that we don't manipulate the values if we just
want to know the connection status.
2024-08-11 00:56:07 +02:00
Megamouse
f2ef0966eb
input: add analog limiter
2024-08-10 12:07:57 +02:00
Megamouse
b95aa7a28c
mmjoy: simplify get_next_button_press
2024-08-09 20:01:50 +02:00
Megamouse
326375ad9a
Qt/input: clear min_button_values if we want to get the blacklist
2024-08-09 20:01:50 +02:00
Megamouse
16a6915525
Qt/input: ignore button press values unless they increase
2024-08-09 20:01:50 +02:00
Megamouse
28781d9bfb
Qt/input: move preview_values into callback
2024-08-09 20:01:50 +02:00
Megamouse
b8452d29d6
input: move pad_state_notify_state_change to pad_thread
2024-06-12 08:24:12 +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
faaf644331
Qt/input: show all mmjoy devices with connection in dropdown
...
This fixes weird issues with disconnected pads while also showing the status.
2024-01-14 02:50:45 +01:00
Megamouse
9c11840e40
input: implement dynamic mmjoy device reconnection
2024-01-14 02:50:45 +01:00
Megamouse
59c58aa3cf
fix some warnings
2023-12-30 19:07:35 +01:00
Megamouse
57cc7037f6
input/evdev: handle flatness deadzone value
...
This may fix issues with sticky axis on evdev.
Also refactors some redundant axis scaling functions.
2023-12-14 15:51:11 +01:00