Commit Graph

74 Commits

Author SHA1 Message Date
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
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 69dd59d9b9 UI: Refactor touch control config handling.
Much cleaner this way, less repetition.
2018-06-23 10:59:18 -07:00
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
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