Commit Graph

49 Commits

Author SHA1 Message Date
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