Commit Graph

32 Commits

Author SHA1 Message Date
Unknown W. Brackets
5009698cc0 Core: Use a shared_ptr for i18n categories.
This does not make them thread safe, but it reduces the chances of a crash
a bit (see #12594.)
2020-02-09 07:35:16 -08:00
Henrik Rydgård
349e64fe31 Improve the touchscreen test screen with some numbers.
Getting closer to finding out what's wrong on the MOQI I7S when
using the system fullscreen button...
2019-10-03 18:31:20 +02:00
Henrik Rydgård
0b9353b1dc Touchscreen: Apply weihouya's fix, add a touchscreen test screen. See #12381. 2019-10-02 22:05:34 +02:00
Unknown W. Brackets
5c81c67410 UI: Avoid pushing a screen on top of itself.
In case someone doesn't realize they're on settings, or etc.
2017-12-02 11:55:06 -08:00
Unknown W. Brackets
f1bd54148b UI: Cleanup common message handling.
Most of it can just be handled by the common parent classes.
2017-12-02 11:55:06 -08:00
vnctdj
b31b76c536 Make control mapping pop-up title translatable 2017-08-17 23:10:12 +02:00
LunaMoo
45304476e2 Polish the new workaround, seems to be nice and simple. 2017-04-27 11:12:11 +02:00
Henrik Rydgard
26a2d42731 Big mutex overhaul - remove our custom ones, make them non-recursive where possible 2017-02-28 11:40:29 +01:00
Henrik Rydgard
bc746bd513 Merge branch 'ui-minor' of https://github.com/unknownbrackets/ppsspp into unknownbrackets-ui-minor 2016-12-01 18:13:14 +01:00
Florent Castelli
e0ff68b3f6 c++11: Remove compat header base/functional.h
We want a proper C++11, not tr1. We don't target those compilers anyway.
2016-10-12 11:32:45 +02:00
Unknown W. Brackets
a52fbfcff7 UI: Lock input while mutating views/screens.
This way we can't get an axis event while switching screens and crash.
2016-09-11 11:26:35 -07:00
Henrik Rydgard
f77ba7ba3a Make the last commit slightly safer by adding a mutex 2016-09-11 18:59:06 +02:00
Unknown W. Brackets
9c3e12ead0 Remove some unused things reported by clang. 2016-03-20 23:14:08 -07:00
Henrik Rydgård
9636e4cef4 Fix assorted key mapping issues affecting Shield and probably pads in general on Android. See #7976 2015-09-17 22:46:59 +02:00
Jonas Höglund
afb82e3998 Add axis event listener to the analog test screen. 2015-08-28 01:24:38 +02:00
Henrik Rydgard
d545908b6c Show the last key event on the analogs testing screen
(which I guess is now a generic testing screen)

May help investigating #7254
2015-01-03 17:59:43 +01:00
Henrik Rydgard
ab0b999010 Add really basic test screen for mapped analog sticks. Only works with the first mapped axis if several. 2014-09-05 23:21:07 +02:00
Henrik Rydgard
e3bbf26731 Improve input event handling. Can now map volume keys on Android without issues. 2014-06-15 13:04:59 +02:00
Henrik Rydgard
77c85bccdd Don't lose focus after mapping a control.
Makes it a lot less aggravating to remap more than one control using a controller.

Also fixes a race condition.
2014-06-08 15:38:13 +02:00
Henrik Rydgard
3023f7d06b Android: Switch dpad default to use HAT X/Y +/- instead of "dpad", as documented.
Add a simple "autoconfigure" facility for input devices, that lets the user choose
if several are connected.

Can be expanded in the future to provide custom default mapppings for various devices as long as we manage to identify them.

Ideally, key mappings should be unique per device but they aren't yet.
2014-05-19 23:31:11 +02:00
Henrik Rydgård
787db5812d UI cleanup and a crashfix for duplicate back key events 2013-10-28 16:04:53 +01:00
shenweip
42c5061e18 Receive language change message in another screen 2013-09-14 11:52:59 +02:00
The Dax
f594157374 Overhaul the Win32 UI. New things include:
-File -> Savestate Slot: Lets the user pick the savestate slot to be used.
-Game Settings -> More Settings...: Opens the main settings screen from anywhere.
-Game Settings -> Control Mapping...: Opens the key mapping screen from anywhere.
-Infrequently changed options were removed.
-Organised menus; nothing is out of place anymore.
-Simplified menus: as some options were removed or moved, it's easier to find what you're looking for, now.
2013-09-07 17:05:23 -04:00
Henrik Rydgard
273fb7c941 Warning fixes, make the back button exit the emu on the main screen on Android. 2013-09-04 10:51:14 +02:00
Henrik Rydgard
b186294132 UI tweaks. Change to cleaner background image. 2013-08-20 00:49:25 +02:00
Henrik Rydgard
47f2efb0e5 Fixes to default key mappings, add default button, fix saving of mapped controls on Android, fixes #3213 2013-08-18 00:41:19 +02:00
Henrik Rydgard
f990df6af8 Let the user escape the controls dialog with the global back button (Esc on PC) 2013-08-17 12:09:50 +02:00
Henrik Rydgard
3636f90902 Step 3: Replace current key mapping dialog with a list-based one which is much more workable. 2013-08-17 10:34:38 +02:00
Henrik Rydgard
3a8432373d Step 2: Multiple inputs can be mapped per psp key now, and save load works. 2013-08-16 21:25:36 +02:00
Henrik Rydgard
f1bc751eb9 Step 1: Go back to a single control map.
Break save/load for now, it will be redone.
2013-08-16 19:34:44 +02:00
Henrik Rydgard
33beb57a31 Make key mapping faster and easier. 2013-08-16 17:16:11 +02:00
Henrik Rydgard
22ebe76f33 Move KeyMapping UI to its own file before rewriting.
Plus some minor tweaks and fixes.
2013-08-16 16:49:53 +02:00