Commit Graph

54 Commits

Author SHA1 Message Date
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
Henrik Rydgard
ec3e345111 Allow mapping ESC now that we have a cancel button 2013-08-20 11:37:29 +02:00
Henrik Rydgard
b186294132 UI tweaks. Change to cleaner background image. 2013-08-20 00:49:25 +02:00
Henrik Rydgard
6ca3b43b9a Measure actual fps (frameskip+unthrottle included), show all three on one line if you choose "both" (which I probably should rename)
Also prevent annoying scrolls in key mapping dialog
2013-08-19 22:06:49 +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
8028ff7f12 Android buildfix 2013-08-17 13:26:19 +02:00
Henrik Rydgard
edb0614a59 Fix analog axis names. Make L2/R2 on x360 controllers analog.
Also slightly nicer behaviour - don't create empty mapping, instead ask for mappings immediately.
2013-08-17 11:18:45 +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