Commit Graph

65 Commits

Author SHA1 Message Date
Unknown W. Brackets
3b4103cb3b System: Use a separate API for bool props.
This simplifies defaulting, instead of -1 being "true".
2017-04-29 17:35:12 -07:00
LunaMoo
372cbaac15 Disable pause button when not using touch.
Remove per-game status from some settings which shouldn't be per-game.
2017-04-14 17:11:16 +02:00
Unknown W. Brackets
989f19f83f UI: Respect the pause button display setting.
As of 22782b6, the setting stopped working.  It can be useful for Windows
touch devices.  Fixes #9609.
2017-04-12 22:09:05 -07:00
Henrik Rydgård
22782b6439 UWP: Fix DPI calculations for touch. Implement back button support. 2017-03-23 10:02:29 +01:00
Unknown W. Brackets
9e390510df Remove legacy InputState. 2017-03-14 22:07:07 -07:00
Unknown W. Brackets
02855e7abb Remove unused pad_buttons and old virtual_input.
GamepadEmu does this now.
2017-03-13 22:57:22 -07:00
Henrik Rydgård
6136123830 Save a small amount of GPU fillrate when controls are faded out 2017-01-26 11:10:33 +01:00
Florent Castelli
94d57f4573 maemo: Remove! 2016-10-12 13:13:09 +02:00
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