Commit Graph

57 Commits

Author SHA1 Message Date
Florent Castelli
4145b60a0e symbian: Remove! 2016-10-11 18:49:08 +02: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
403f6ab537 Fix broken default positioning of L/R touch controls 2015-05-31 18:25:43 +02:00
Henrik Rydgard
0595a76556 Start integrating the new frame profiler 2015-05-24 23:45:36 +02:00
Henrik Rydgard
18655d14a4 Release PSP buttons when losing gameplay focus, fixes part 1 of #7758, and part 2 of #7758 on Windows only. 2015-05-21 10:49:47 +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
The Dax
c84343e9ae On Maemo, iOS, and Symbian, make sure to always show the menu touch button, regardless of touch control visibility. 2015-02-23 04:13:26 -05:00
Henrik Rydgard
2835110256 Make Settings look much better in Portrait mode 2014-07-22 10:37:20 +02:00
Henrik Rydgard
f9cedbbc03 Fix probable bug in deadzone calculation etc for onscreen dpad. May help #6585
The bug would manifest itself on large or small "scale" values.
2014-07-21 01:22:55 +02:00
Sacha
ea17e17ebd Join both Maemo platforms (Maemo5 + Meego Harmattan/Maemo 6) to MAEMO define. Technically they are very similar and anything that wasn't already defined for both probably needed to be. 2014-06-18 03:42:31 +10:00
The Dax
ffcae56209 Actually force the pause button on Symbian, iOS, and Meego Harmattan.
Instead of leaving a loophole open which could allow an ini edit, just force it on for these.
2014-02-25 01:57:32 -05:00
The Dax
57ed2149ef Let the touchscreen pause/menu button be available for everybody.
It's still forced ON on iOS, Symbian, and Meego Harmattan.
2014-02-25 01:39:10 -05: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 Rydgard
4d00a9b4bc Reduce use of display.h (dp_xres, dp_yres) now that uicontext has bounds 2014-02-10 12:44:36 +01:00
Henrik Rydgard
0bfe9db9ab DPad cosmetics: Move the arrows outwards a bit 2013-12-11 20:52:13 +01:00
Henrik Rydgard
cf0f4b612e Touch buttons: Center the triangle in the circle. See #4799 for explanation. 2013-12-11 20:18:54 +01:00
Henrik Rydgard
eecc705696 Loosen up the dpad diagonals again quite a bit. 2013-12-10 23:38:02 +01:00
Henrik Rydgard
7271367ac1 "Thin Borders" touch button style, ability to choose.
Also a Gold color scheme. Not sure whether to use or not.
2013-12-10 23:27:46 +01:00
Henrik Rydgard
63bc4910cf Touch controls: Make it harder to accidentally hit dpad diagonals.
Treats the dpad as 4-way out to a certain radius.
2013-12-10 18:58:47 +01:00
Henrik Rydgård
c3dfbbeff9 Add option to disable touch dpad diagonals.
Makes some games a lot more playable with touch screen.
2013-12-02 15:50:09 +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
Sacha
b1b4679fe6 Scale touch controls to screen resolution.
Include a migration method for users who were on the old static system.
Scaling up may still look weird due to the hacky method of placement which is unchanged by this commit.
Next step of resolution independence would be to have the button scaling affected by resolution too.
Tested on a few devices. Mobile users should see no changes at all.
2013-11-05 14:52:31 +10:00
The Dax
cdf819c9eb Remove rebase junk, update CMakeLists.txt, update Android.mk. 2013-10-19 23:51:58 -04:00
The Dax
d099692ed0 Make Toggle All actually function. 2013-10-19 23:24:38 -04:00
The Dax
c5c0945559 Adjust a couple styling issues. 2013-10-19 23:24:10 -04:00
The Dax
a88a30fb1d Add a touch control visibility screen. All touch controls can now be toggled on or off, except for the Pause button on platforms that have it, as a safety precaution. 2013-10-19 23:24:09 -04:00
Unknown W. Brackets
023dbbc967 iOS buildfix. 2013-10-19 19:46:30 -07:00
Henrik Rydgard
9c59990edc More tweaks to control layout editing 2013-10-20 01:17:19 +02:00
Henrik Rydgard
74ab8376a7 Fix button layout (square got swapped with circle by the layout editor code) 2013-10-20 01:10:13 +02:00
Henrik Rydgard
dea4668ae8 Editable touch controls: Added Reset button and fixed build in VS 2010 2013-10-20 00:39:42 +02: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
The Dax
d102baacd0 Prep PPSSPP for Visual Studio 2013. 2013-09-17 10:27:06 -04:00
Henrik Rydgard
1da49273b5 Address some complaints about touch button opacity 2013-08-10 19:23:50 +02:00
Henrik Rydgard
37d2b5ecbf Correct inverted Y axis of new touch screen analog stick 2013-07-20 18:50:46 +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 Rydgard
81411a74ed Experimental: Make orientation change possible on Android. 2013-07-16 22:51:25 +02:00
Henrik Rydgard
a4e95e5ce9 Fix touch buttons that got broken. Also, make the onscreen turbo a pure unthrottle, I don't understand how the other is supposed to work heh (checking iFrameLimit?) 2013-07-08 00:08:43 +02:00
Unknown W. Brackets
fcf9a374a7 Make it easier to test the pause button. 2013-07-06 23:06:34 -07:00
raven02
ab545a1cf0 Toggle to adjust on-screen buttons scaling 2013-06-18 17:44:39 +08:00
Henrik Rydgård
c4abec3560 Add option for very transparent touch buttons 2013-06-17 20:28:22 +02:00
raven02
20983cf158 Auto switch Turbo touch key based on FPS limit toggle 2013-05-19 07:15:52 +08:00
raven02
024ae1fe33 Fix turbo key misbehave 2013-05-18 14:24:52 +08:00
Henrik Rydgard
7972f98739 Move onscreen turbo to left of select. Force frameskip when unthrottled. 2013-04-14 12:11:49 +02:00