Commit graph

75 commits

Author SHA1 Message Date
Unknown W. Brackets
6bc596d3a7 Windows: Hide accelerators when they are disabled.
Currently, mapping something to load state / save state / etc. causes the
default accelerators to become disabled.  In this case, it can be
confusing when the menu still shows them.

Fixes #11395.
2019-02-17 12:17:41 -08:00
Henrik Rydgård
2d01db805e Remove no-op DrawBuffer::End() 2018-12-18 10:10:53 +01: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
Unknown W. Brackets
e945ad6ac1 UI: Avoid navigation with an active dialog.
Cleaning up next.
2017-12-02 11:55:05 -08:00
Henrik Rydgård
1b6c5c4832 Fix typo causing Y axis in joystick tester not to be mirrored correctly if backwards. Should fix #9300 2017-09-29 20:51:59 +02:00
Unknown W. Brackets
cbd107b03d Merge pull request #9898 from vnctdj/master
Make more strings translatable
2017-08-19 17:28:33 -04:00
vnctdj
b31b76c536 Make control mapping pop-up title translatable 2017-08-17 23:10:12 +02:00
vnctdj
2c8b0e7069 Make keys names translatable in pop-up 2017-08-14 11:33:14 +02:00
LunaMoo
45304476e2 Polish the new workaround, seems to be nice and simple. 2017-04-27 11:12:11 +02:00
LunaMoo
a0b904c7e8 Try on a nicer mapping workaround. 2017-04-27 10:09:57 +02:00
LunaMoo
26c02478af Mouse Control(Windows only for now) 2017-04-26 18:03:48 +02:00
Unknown W. Brackets
07d2b4fb46 UI: Make popups transition their button. 2017-03-21 18:45:49 -07:00
Unknown W. Brackets
073e056369 UI: Allow overriding dialog logic on finish.
This seems cleaner.
2017-03-19 17:43:03 -07:00
Unknown W. Brackets
9e390510df Remove legacy InputState. 2017-03-14 22:07:07 -07: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
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