Commit Graph

72 Commits

Author SHA1 Message Date
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
Henrik Rydgård
1d29060c3b
Merge pull request #13107 from iota97/touch-gesture
Basic mappable motion gesture
2021-08-29 21:39:42 +02:00
Henrik Rydgård
58e7b6bec2 Tweak defaults some more (no L2 on xbox pads..). Minor code cleanup. 2021-08-28 20:06:05 +02:00
Henrik Rydgård
a7859cfd2a Fix some comments and a string 2021-08-18 09:28:17 +02:00
Henrik Rydgård
928bc88b01 Rename Unthrottle to Fast-forward globally 2021-08-18 09:28:13 +02:00
iota97
ad29e5237e Basic mappable gesture 2021-08-17 09:17:37 +02:00
iota97
0ae0d30751 Allow to invert context dimension for combo button 2021-08-04 09:18:23 +02:00
iota97
498878267a Customizable touch control (rebased with label) 2021-07-11 09:55:25 +02:00
Unknown W. Brackets
3c778f567c UI: Add text description for all views. 2021-02-21 16:38:02 -08:00
Henrik Rydgård
0e3a84b4a8 Move most GPU things to Common.
It works after the move, on Windows and Android at least.

Deletes the D3DX9 shader compiler loader, which was not used.
2020-10-04 23:39:02 +02:00
Henrik Rydgård
4f43cff5ca
Move fileutil, net, image loaders, ui to Common. (#13506)
* Move and rename file_util/fd_util to Common/File/FileUtil and DirListing

Let's also move net while we're at it.

Move the ZIM/PNG loaders over to Common.

Move the UI framework into Common

iOS buildfix

* Buildfix

* Buildfixes

* Apple buildfix

* This typo again..

* UWP buildfix

* Fix build of PPSSPPQt, such as it is (it's not in good condition...)

* Guess what? Another buildfix.
2020-10-04 20:48:47 +02:00
Henrik Rydgård
342ed97291 Move input utilities from native to Common/Input. 2020-10-01 09:42:32 +02:00
Henrik Rydgård
7aacf3df37 Remove time_now() - time_now_d() is the replacement. Absolute time values can't be stored reliably in floats. 2020-08-16 09:37:18 +02:00
Henrik Rydgård
2843b8ef5f
Merge pull request #12486 from iota97/dpad
Rebindable touch right analog
2020-05-17 20:51:40 +02:00
iota97
e7bcf9a4c2 Use 2 different button for CW and CCW 2020-03-23 09:24:36 +01:00
iota97
45da319ce7 Auto rotating analog 2020-03-23 00:45:22 +01:00
iota97
f460151f39 u8_clamp clean up 2020-03-05 18:29:35 +01:00
iota97
1cc5022b19 Fix toggle 2020-03-01 18:17:16 +01:00
iota97
7836776337 Squash commit 2020-03-01 17:13:55 +01:00
Henrik Rydgård
45d94c4877 Switch all images to dynamic lookup in the atlas by string ID.
SLN fix

It works, but with the wrong images and the wrong characters!

Fix another bug in atlastool's binary output

Get Android building again.

Oops, didn't mean to disable this permanently.

Error checking

Minor cleanup

Gotta tweak my git ignores...

Regenerate metadata
2020-03-01 12:06:47 +01:00
iota97
e5c647ccbb Add toggle flag to combo button 2020-02-12 15:48:49 +01:00
iota97
f42e6a984f Rapid fire touch control 2020-01-28 08:52:18 +01:00
Unknown W. Brackets
4aded5c11f UI: Implement a glowing border touch control style.
It barely glows, though.
2018-09-30 16:48:02 -07:00
Unknown W. Brackets
0564e9e3ec UI: Disable stepping on unthrottle touch button. 2018-06-23 11:06:56 -07:00
Unknown W. Brackets
f2956a1c1a UI: Show custom speed toggle buttons.
This allows more flexibility if unthrottle is too fast or too uneven.
2018-06-23 10:59:18 -07:00