Commit Graph

117 Commits

Author SHA1 Message Date
Henrik Rydgård
a9a45481cc Scale buttons by 1.5 instead of 2.0 on touch.
Not sure if this should really be a setting. If you don't like the
scaling at all, you can still choose the glow style. We should probably
somehow make that one more obvious though.
2023-02-08 21:54:15 +01:00
Henrik Rydgård
59dec197d8 Add previews for more types, fix mappings. 2023-02-02 01:09:33 +01:00
Henrik Rydgård
f2b5f06dac
Merge pull request #16450 from unknownbrackets/touch-right-analog
UI: Fix right analog with single button
2022-11-28 01:00:16 +01:00
Unknown W. Brackets
247848891e UI: Dry out code and check bounds to be safe. 2022-11-27 15:40:55 -08:00
Unknown W. Brackets
89aeb2484e UI: Fix right analog with single button.
Release first, then press so that we press when the opposing direction is
mapped to the same button.
2022-11-27 15:32:56 -08:00
Henrik Rydgård
689860b3a0 Qt buildfix, apply feedback 2022-11-27 17:33:15 +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
Henrik Rydgård
20c3c8f291
Merge pull request #14848 from iota97/dpad-size-fix
Fix DPAD size calculation
2021-11-20 15:58:56 +01:00
iota97
fc7033318f Fix dpad analog overlap interaction 2021-09-21 10:35:39 +02:00
Henrik Rydgård
c333e2b879
Merge pull request #14480 from iota97/analog-head
Configurable analog head size
2021-09-13 22:39:18 +02:00
iota97
5bf0068ea6 Fix DPAD size calculation 2021-09-13 22:25:46 +02:00
iota97
4ec1a8d12a Allow drag over touch DPAD and avoid analog drag to trigger other button 2021-09-13 14:30:15 +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
iota97
de68436084 Configurable analog head size 2021-08-21 21:24:14 +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
bac96bd47c Allow to disable right analog diagonal 2021-08-07 12:47:50 +02:00
iota97
0ae0d30751 Allow to invert context dimension for combo button 2021-08-04 09:18:23 +02:00
Henrik Rydgård
c6ad871865 Warning fix 2021-07-19 10:31:28 +02:00
iota97
498878267a Customizable touch control (rebased with label) 2021-07-11 09:55:25 +02:00
Henrik Rydgård
cd8cfcfcd7 Merge __CtrlSetAnalogX/Y into one function. Always called together. 2021-07-09 10:41:26 +02:00
Unknown W. Brackets
3c778f567c UI: Add text description for all views. 2021-02-21 16:38:02 -08:00
Unknown W. Brackets
f32f89dd90 Global: Remove some unused variables. 2021-02-15 11:59:45 -08:00
Henrik Rydgård
808c584e20 Hide touch controls on bluescreen 2020-12-19 19:59:06 +01: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
f01ba6dc84 Move NativeApp.h to Common/System, split into NativeApp.h and System.h
Buildfix
2020-10-04 11:42:16 +02:00
Henrik Rydgård
b7edf75437 Move Display.cpp/h to Common. 2020-10-04 11:42:16 +02:00
Henrik Rydgård
9e41fafd0d Move math and some file and data conversion files out from native to Common.
Buildfixing

Move some file util files

Buildfix

Move KeyMap.cpp/h to Core where they belong better.

libretro buildfix attempt

Move ini_file

More buildfixes
2020-10-04 09:12:46 +02:00
Henrik Rydgård
ff8148dd92 Move native/util, native/data and native/i18 to Common/Data.
Also move colorutil.cpp/h

linking build fix experiment

Delete a bunch of unused CMakeLists.txt files

CMakeLists.txt linking fix

Don't include NativeApp.h from any headers.

Android.mk buildfix

Half of the UWP fix

Buildfix

Minor project file cleanup

Buildfixes

Guess what? More buildfixes!
2020-10-04 07:28:29 +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
ccc0331279 Move timeutil to Common. (Experiment to see how much work it is to move these). 2020-08-15 20:53:08 +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
c70bf66634 Auto rotate over a square 2020-04-14 09:43:51 +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
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
LunaMoo
5e09d57b6c Add right analog for touch controls. 2019-07-18 03:18:15 +02:00
Unknown W. Brackets
581cb1a069 UI: Check for step debugging on unthrottle.
Fixes #11704.
2018-12-30 12:16:33 -08: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