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
b14e10632d
Take the mapping direction into account in AnalogTestScreen. Hopefully will solve #9300 .
2017-02-19 14:33:59 +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
Henrik Rydgard
0926cabb00
Possible workaround (not a proper fix) for #8969 . Also filter out accelerometer events.
...
We should really make sure the events come in on the UI thread
instead...
2016-09-11 18:48:45 +02:00
Unknown W. Brackets
4507bb8466
Fix more cases of FILL_PARENT used as WRAP_CONTENT.
...
Fixes #8915 .
2016-08-15 20:40:44 -07:00
Unknown W. Brackets
a913e0f0fc
Remove some unused private properties.
2016-05-21 09:29:04 -07:00
Unknown W. Brackets
c0238de4ee
UI: Add tags to all the scroll views.
2016-01-22 22:52:13 -08:00
Henrik Rydgård
47cb288d6b
Don't add Autoconfigure button when the device has builtin controls. Restore to Default should suffice.
2015-10-04 13:25:57 +02: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
Henrik Rydgård
a71fbccfbc
Warning fixes for new LLVM on mac (warns on inconsistent usage of override)
2015-09-17 20:29:37 +02:00
Henrik Rydgard
53e80d7f54
Fix #7940 (analog test screen). "Debounce" doubleclicks.
2015-09-07 22:27:29 +02:00
Jonas Höglund
afb82e3998
Add axis event listener to the analog test screen.
2015-08-28 01:24:38 +02:00
Unknown W. Brackets
40dcd585a0
Update "Back" buttons to match a bit better.
2015-07-04 08:41:23 -07:00
vnctdj
95f83570f4
Consistently use *km for the KeyMapping i18n category
2015-07-01 23:54:35 +02:00
vnctdj
d7eba2061e
Consistently use *di for the Dialog i18n category
2015-07-01 23:26:55 +02:00
vnctdj
2765d8489f
Make "Back" button translatable on the analogs testing screen
2015-01-04 02:01:05 +01: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
Unknown W. Brackets
1284b109d0
Small warning fix.
2014-10-12 10:28:42 -07:00
Henrik Rydgard
422ae62b63
D3D9: Add support for D3D9Ex, which has faster flipping and an option for lower latency, and some other stuff.
...
MANAGED textures are not allowed though so compensate for that by making them dynamic for now.
2014-09-09 22:28:35 +02: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
808f05da89
(Partially) slip thin3d underneath DrawBuffer.
2014-08-22 20:54:53 +02:00
Unknown W. Brackets
913914a4c1
Fix some type conversion warnings.
2014-06-15 10:01:54 -07: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
c39c36ddea
Improve layout of control mapping screen
2014-06-09 22:26:23 +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
Unknown W. Brackets
42e6dc2e2f
Fix Symbian build (avoid range for.)
2014-05-21 08:40:14 -07:00
Unknown W. Brackets
b596e952bf
Attempt to make range-for work in 4.6.3...
2014-05-21 08:11:11 -07:00
Henrik Rydgard
b65e90e71d
Forgot to make translatable
2014-05-19 23:43:59 +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
Unknown W. Brackets
274160bc22
Centralize game background drawing code.
...
No need to duplicate it everywhere.
2014-02-09 17:39:15 -08:00
Henrik Rydgard
a387f6dd8b
Also disable some weird axis events we get on Ouya from mapping.
2014-01-07 00:01:41 +01:00
Henrik Rydgard
5f2954bc69
Prevent the accelerometer from being mapped to controls directly until we can create sane UI for that.
2014-01-06 23:58:59 +01:00
Henrik Rydgård
4cd57b68d4
Make the control mapping screen a bit more compact.
2013-12-06 16:45:25 +01:00
Henrik Rydgård
a6c7663ea8
Allow resizing touch buttons individually.
2013-12-02 15:15:19 +01:00
Henrik Rydgård
787db5812d
UI cleanup and a crashfix for duplicate back key events
2013-10-28 16:04:53 +01:00
The Dax
db370c1fd3
Call the base class sendMessage when handling messages from native, so every screen can refresh from a language update at any time.
2013-10-21 16:52:44 -04:00
shenweip
b59636003d
Don't push the second srcreen.
2013-09-25 01:37:25 +08:00
shenweip
a8692d36fe
Also receive "More Settings" or "Control Mapping" message in GameSettingsSreen and ControlMappingScreen.
2013-09-24 13:03:59 +08:00
shenweip
42c5061e18
Receive language change message in another screen
2013-09-14 11:52:59 +02:00
The Dax
ebb2daff93
Remove unused pointer.
2013-09-10 11:41:17 -04: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
vnctdj
509045b345
Another one
...
Another one (2)
And the last one
+ now "Developer" is refered by "*de" to avoid confusion with "*d" which is for "Dialog"
I hope I don't forget to move some other "Back" translations to [Dialog] in other files...
"Cancel" translation moved
Update
with papel's changes (so we can close his pull request which is now outdated)
Update (2)
with papel's changes (so we can close his pull request which is now outdated) (2)
No I have finished, so, to conclude, if we merge all my pull requests, papel's one can be closed with no loss of work :)
Rebased
2013-09-03 16:48:02 +02:00
Henrik Rydgard
14b7fdc975
Center the buttons in the key config screen
2013-08-30 22:43:42 +02:00
Henrik Rydgard
f47c6d534d
Controlmapping: Show symbols on cross/circle/etc, make the rest translatable. See #76
...
Will make more symbols in the future so might want to hold off translating.
2013-08-30 16:02:57 +02:00
mgaver
8419a10c18
Update ControlMappingScreen.cpp
2013-08-24 16:35:50 +09:00
Henrik Rydgård
171e202019
Warning fixes
2013-08-20 19:20:03 +02:00
Henrik Rydgard
151c09dff7
Touch controls auto-off on Shield and Xperia Play
2013-08-20 15:40:19 +02:00