Commit Graph

71 Commits

Author SHA1 Message Date
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