Commit Graph

38 Commits

Author SHA1 Message Date
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
Unknown W. Brackets
cb1b8f23bb UI: Fix fade-out when editing touch controls. 2017-06-03 09:45:53 -07:00
Unknown W. Brackets
9e390510df Remove legacy InputState. 2017-03-14 22:07:07 -07:00
Unknown W. Brackets
9c3e12ead0 Remove some unused things reported by clang. 2016-03-20 23:14:08 -07:00
Henrik Rydgard
a53d31a8d7 Make virtual gamepad visible from the start if button fading is on. They'll fade out after a while. 2016-01-17 20:31:10 +01:00
Unknown W. Brackets
da65116f75 Oops, fix auto-hide timing issues.
If the game was not 60 fps, it was wrong, but also it added up frames too
quickly as static.  Was worried about missing touches when I added the
zeroing, dumb mistake.

Fixes #8309.
2015-12-26 11:31:37 -08:00
Unknown W. Brackets
a3f9b954d1 Add feature to auto-hide buttons after X seconds. 2015-12-20 12:40:47 -08:00
xiushu
14e7658bbb Implement on-screen touch combo keys.
Replace A,B,cross1,square1,triangle1 with number images 1-6

Rebuild the atlas, update the code to use combo keys 1-5

Also add psp_display.png from pull request #8082.
2015-10-24 13:22:43 +02:00
Henrik Rydgård
a71fbccfbc Warning fixes for new LLVM on mac (warns on inconsistent usage of override) 2015-09-17 20:29:37 +02:00
Henrik Rydgard
2b98f15f17 Add option to auto-center the analog stick on touch within the boundaries of the stick
TODO: Should this be default? Does this make sense for d-pad too?
2015-03-05 11:01:58 +01:00
Henrik Rydgard
a370475425 Make it possible to type 'X' into the nickname (and other) textboxes without being thrown out.
Fixes #7410
2015-02-03 00:11:51 +01:00
Henrik Rydgard
ca9d0ea5cf Remove more bad uses of dp_xres. Fix a data flow issue
(could end up with "feedback" if modifying the screen bounds)
2014-02-10 15:55:21 +01:00
Henrik Rydgård
a6c7663ea8 Allow resizing touch buttons individually. 2013-12-02 15:15:19 +01:00
Henrik Rydgård
e017a17dbb Show homebrew as a list by default, allow changing the view mode
Homebrew often has poor icons, making the names important.

Also fix an issue with touch button scaling.

Conflicts:
	Core/Config.cpp
	UI/MainScreen.cpp
2013-12-02 12:34:09 +01:00
Unknown W. Brackets
569f6132b9 Warning fix. 2013-10-20 22:13:54 -07:00
Siddharth
38442c090e allow loading and unloading of onScreen control coordinates. Also, use sane (bottom left origin)coordinate system for all onScreen elements
can now reposition on screen controls

removed unnessecary files

fixed indenting issues

renamed RepositionOnScreenControlScree to TouchControlLayoutScreen
2013-10-20 00:39:38 +02:00
Henrik Rydgård
5721836d44 Add basic haptic feedback to on-screen touch buttons. 2013-10-10 16:44:57 +02:00
Henrik Rydgard
51adb8c64f Warning fixes, fix hw back button on Android 2013-07-20 20:49:08 +02:00
Henrik Rydgard
ff225fab5a Finish the touch input rewrite, get rid of the fakeinput hacks. 2013-07-20 14:05:07 +02:00
Henrik Rydgard
4b539e842a Also replace the on-screen cross 2013-07-20 12:54:33 +02:00
Henrik Rydgard
325f5dfc21 Replace some of the onscreen touch buttons with a new better impl that doesn't rely on InputState. 2013-07-20 12:08:13 +02:00
Henrik Rydgård
c4abec3560 Add option for very transparent touch buttons 2013-06-17 20:28:22 +02:00
Henrik Rydgard
7425532e99 Move non-Android specific stuff from android/jni to /UI.
Move source_assets one level up, too.
Also, start prototyping GameInfoCache, you'll see what it's for soon...
2013-03-30 15:46:26 +01:00