Henrik Rydgård
dcbfa7d3ee
Custom buttons: sanitize image/shape on the one screen that didn't
...
CustomButtonMappingScreen indexes customKeyImages[36] and customKeyShapes[11] with
values read straight from the ini, and it's reachable from the main menu - so
neither GamepadEmu nor TouchControlLayoutScreen, which both sanitize first, need
have run. Those two had the same fixup copy-pasted; hoisted it into a Sanitize()
next to the tables and called it from all three.
2026-09-02 18:06:47 +02:00
Henrik Rydgård
1f65b326a8
Make sure touch-gamepad components can't be focused by accident
2026-03-31 14:58:56 -06:00
Henrik Rydgård
2c207aedf8
Fix problem where the touch screen controls got reactivated by gamepad input
2026-02-28 11:11:17 +01:00
Henrik Rydgård
801d379f74
Gesture control: Prevent pressing touch buttons while performing a gesture.
2026-02-06 13:10:20 +01:00
Henrik Rydgård
d6d2c24e24
Fix the toggle touch controls input (properly this time)
2026-02-05 09:44:42 +01:00
Henrik Rydgård
f546dc3835
Add an Enable checkbox to tilt control, add mappable control
...
- Fixes #20830
2026-02-05 09:44:11 +01:00
oltolm
72f305c779
fix warnings and cmake windows build
2026-02-04 21:28:01 +01:00
Henrik Rydgård
44e30b14a3
Split the screen between the two gesture input zones.
2026-02-04 15:01:06 +01:00
Henrik Rydgård
03a7df74fa
Have two independent gesture control zones
2026-02-04 15:01:06 +01:00
Henrik Rydgård
03c901d0cc
Prepare for multiple gesture mapping zones
2026-02-04 15:01:06 +01:00
Henrik Rydgård
42137914e1
Fix the Toggle touch controls button, thanks Domiiniik
2026-02-04 14:33:54 +01:00
Henrik Rydgård
8350f67332
Fix typos, minor translation updates
2026-02-04 01:34:26 +01:00
Henrik Rydgård
cde4991aa7
Fix gesture mappings to the right stick
...
Fixes #20529
2026-02-04 00:32:06 +01:00
Henrik Rydgård
7b1ba55e72
Prevent touch controls from fading away while being held.
...
Fixes #20531
2026-02-04 00:00:38 +01:00
Henrik Rydgård
c9494bd579
Rename GamepadView->GamepadComponent
2026-02-03 23:30:45 +01:00
Henrik Rydgård
7a8a642aed
Convert the pause button to a normal customizable touch screen button
2025-11-25 15:47:05 +01:00
Henrik Rydgård
a183420a87
Orientation-specific defaults
2025-11-05 21:46:38 +01:00
Henrik Rydgård
063c7d4f7e
Get separate touch screen config for portrait working
2025-11-05 21:01:37 +01:00
Henrik Rydgård
e4a14330e0
Correct comment, rename array
2025-08-28 10:24:30 +02:00
Henrik Rydgård
76fb535bec
Allow binding "Pause (no menu)" to touch controls. Also makes controls stay visible when paused.
2025-08-27 08:54:13 +02:00
Henrik Rydgård
c90552ccc1
Allow creating custom touch buttons and gestures that toggle the ImDebugger
2025-03-05 18:05:25 +01:00
Henrik Rydgård
7853803e9b
Allow binding Toggle touch controls to a touch button
...
What it says on the tin. Had to add a check so that touch-up events
don't re-enable them.
2025-02-25 13:21:09 -06:00
Henrik Rydgård
928854ffd3
Hold only the first button, allow other buttons to toggle with dragging as normal.
2025-02-14 12:40:44 -06:00
Henrik Rydgård
f66ea2f63e
Add a bunch of restrictions when online (no savestate, no speed control)
2025-01-13 19:33:48 +01:00
Henrik Rydgård
a33839d220
Add Reset as a mappable control
2024-09-18 14:18:04 +02:00
Henrik Rydgård
e7a1bb0081
Add support for specifying an empty image as custom button image.
2024-09-15 12:12:46 +02:00
Katharine Chui
d7fd44280a
allow binding custom right stick to analog
2024-07-16 16:06:13 +02:00
Henrik Rydgård
679b8330ff
Add bindings for toggling mouse control and touch screen controls. Not bound by default.
...
I think I'll find myself using both of these for testing, feel worthwhile.
Suggested in #18464
2023-12-29 17:40:57 +01:00
Henrik Rydgård
63181374c7
Finish previous commit
2023-12-29 17:24:15 +01:00
Henrik Rydgård
4609df40c9
Update gamepad opacity once per frame, not once per button
2023-12-29 17:09:38 +01:00
iota97
9fe618840a
add empty shape to custom keys
2023-11-03 16:44:08 +01:00
iota97
01083c87ea
Analog stick gesture
2023-09-01 09:32:21 +02:00
Henrik Rydgård
73836e7bcb
Custom buttons: Store them in an array, remove as many count restrictions as possible.
2023-06-20 10:42:53 +02:00
Henrik Rydgård
ca75e20155
Fix minor config backwards compatibility issue, see #17502 , iota97's comment
2023-05-26 15:47:58 +02:00
Nicolas Adenis-Lamarre
f32b0dc9c3
previous slot shortcut
...
Signed-off-by: Nicolas Adenis-Lamarre <nicolas.adenis.lamarre@gmail.com >
2023-05-25 11:32:49 +00:00
Henrik Rydgård
e078f61bad
Rename class CustomKey to CustomButton
2023-05-08 10:13:52 +02:00
Henrik Rydgård
534896d2ab
ControlMapper: Allow overriding PSP button event handling through a callback.
2023-03-28 00:23:18 +02:00
Henrik Rydgård
e1ff498ba3
Rename "Combo" to "Custom" in the touch key mappings.
...
Need the name "Combo" for the new feature from PR #17168 .
2023-03-26 11:05:39 +02:00
Henrik Rydgård
59dec197d8
Add previews for more types, fix mappings.
2023-02-02 01:09:33 +01:00
iota97
871fc17371
Add analog to custom button and gesture
2023-01-28 07:42:20 +01:00
iota97
3201bf9016
add new image to controls
2022-12-08 00:51:19 +01:00
Henrik Rydgård
0a3d78221e
Fix drag-background-through-buttons problem by adding "touch exclusive" mode to viewgroups.
...
Not using universally because I don't want to debug all the issues...
2022-11-27 16:16:18 +01:00
Henrik Rydgård
5230fc7c41
Joystick input: Ignore in-deadzone events from a different device than previous events
...
Fixes #15465
2022-11-23 12:22:59 +01:00
iota97
e48ea158e4
Allow to repeat a "single" button
2022-06-19 15:18:05 +02:00
iota97
0b5eabcd23
Remove unused string and update en_US translation
2021-09-22 23:14:35 +02:00
iota97
7d8dd7c816
Square shape for combo button. Additional shapes (folder_open, warning) too.
2021-09-18 23:28:03 +02:00
iota97
f54a24daec
Don't add VIRTKEY_TOGGLE_FULLSCREE in custom key list on mobile device
2021-09-01 17:07:35 +02:00
iota97
8f9610d2a0
Reuse translation for combo button as well
2021-08-30 13:17:24 +02:00
iota97
f417bb93d4
Reuse translation
2021-08-30 13:13:09 +02:00
iota97
2821035b1d
Support virutal button in touch gesture
2021-08-30 12:26:13 +02:00