Megamouse
41a7cd29f8
Use std::string_view in input code
2026-06-14 17:41:33 +02:00
Megamouse
5578edf9e4
Input: Map PS button to start+select by default
2026-03-18 12:10:29 +01: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
bc0c42b025
Automatic combo button input
2026-03-17 15:30:21 +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
0876a7d37e
input: Memorize original small motor value for display purposes
2025-09-11 10:24:08 +02:00
Megamouse
aca9d28a7a
input: simplify VibrateMotor constructor
2025-09-11 10:24:08 +02:00
Megamouse
fcb6bc70f8
evdev: log positive axis config
2025-04-13 11:40:01 +02:00
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
7b92cbcb9a
input: use std::array for sticks, sensors and motors
...
We always have the same amount of those.
So using a vector has always been a bit confusing.
2024-10-15 01:50:22 +02:00
Megamouse
e5a526e4d6
input: enable squircle settings in keyboard pad handler
...
Clamp squircled values to radius 1.
Also set kb and evdev default to 8000 as the others
2024-09-14 17:20:07 +02: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
RipleyTom
50446e425d
evdev: don't warn on disabled motion device
2024-08-15 08:58:09 +03: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
2806348f73
evdev: 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