Henrik Rydgård
5dc9acf839
Cardboard VR: Add an on-screen VR OFF button. Enable Cardboard on iOS.
2019-10-25 16:03:00 +02:00
Unknown W. Brackets
1205753289
UI: Pass touch/button releases to all screens.
...
This way, if you go into a menu and release a button, it still gets
noticed. This also goes for axis centering (and therefore vkeys.)
Also, move TOUCH_RELEASE_ALL to all screen switches.
2019-03-03 17:50:54 -08:00
Henrik Rydgård
260fd3c9ee
ActivateTopScissor doesn't belong in UIContext::Begin.
2018-12-18 10:37:39 +01:00
Unknown W. Brackets
18bfff5f75
UI: Reinit UI texture during game when used.
...
Otherwise we may try to use it when it doesn't exist. This should only
happen on graphics restart.
Potentially related to first crash in #11116 .
2018-06-01 21:07:09 -07:00
Unknown W. Brackets
895de164ed
Android: Fix initial start from shortcut.
...
Fixes #10855 . We have to wait for the permission request to complete.
2018-04-01 23:28:36 -07:00
Henrik Rydgård
70481c9444
Fix the loading status. Prettify the loading screen by putting the status and spinner along the bottom edge.
2018-03-13 11:25:17 +01:00
Henrik Rydgård
b9b41f52c5
Add a simple spinner to the game load screen to not look frozen.
2018-02-08 12:03:29 +01:00
Unknown W. Brackets
c793da500a
UI: Show PIC1 while loading.
...
In case it takes a second, less ugly than a black screen.
2018-01-01 22:58:07 -08:00
Henrik Rydgård
7d0fc9ce65
Rework GL lost-device to work more like Vulkan. Gets rid of gl_lost manager etc.
2017-12-07 15:05:59 +01:00
Unknown W. Brackets
fb91e7f043
UI: Show loading message while shaders preload.
...
This opens the door to doing this for other things we do on game start,
later.
2017-12-03 12:04:42 -08:00
Unknown W. Brackets
15152fc55b
UI: Reorganize EmuScreen so it renders on loading.
2017-12-03 10:39:25 -08:00
Henrik Rydgård
8bfdf7b1b2
Fix annoying little flicker when starting a game.
2017-11-13 15:45:31 +01:00
Henrik Rydgård
0f171acacb
Start refactoring things to be more vulkan-friendly
2017-05-30 09:36:17 +02:00
Unknown W. Brackets
75898392b9
UI: Proxy devmenu keypress through an event.
...
This prevents a mutex issue in #9626 .
2017-04-17 20:33:22 -07:00
Unknown W. Brackets
9e390510df
Remove legacy InputState.
2017-03-14 22:07:07 -07:00
Henrik Rydgard
900539e200
Fix #9340 (touch controls not always getting repositioned correctly)
2017-02-23 09:31:45 +01:00
Unknown W. Brackets
92d930887f
Android: Add both a lost and restore phase.
...
Lost = delete, restore = create. Let's stick to never overlapping.
May help #8912 .
2016-09-10 21:58:42 -07:00
Unknown W. Brackets
afdd01571c
Uncouple savestates from NativeApp some.
...
Still have osm.
2016-05-27 20:41:37 -07:00
Henrik Rydgard
5d6d4a08f4
Change approach somewhat to avoid adding drawing code in the screen manager.
2015-11-18 14:18:35 +01:00
Henrik Rydgard
758ec5a027
Avoid clearing the backbuffer before actually doing any rendering to fbo on every frame - instead, clear when stretching the framebuffer into place. May save quite a bit of bandwidth on tiler GPUs with naive GL drivers.
2015-11-18 12:13:35 +01: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
18655d14a4
Release PSP buttons when losing gameplay focus, fixes part 1 of #7758 , and part 2 of #7758 on Windows only.
2015-05-21 10:49:47 +02:00
Henrik Rydgard
001eda39e0
Add really primitive save preview on "Next Slot". Improve pause screen layout a little.
2015-02-01 18:04:50 +01:00
Henrik Rydgard
5b597db4b5
De-duplicate updates to axis mapped keys.
...
Improves mapping an analog stick to the same thing as a dpad, as this reduces
spurious button resets caused by analog stick noise.
2014-07-20 12:52:11 +02:00
Henrik Rydgard
6ec74ef99e
Be consistent about how we read and update the UI state variable
2014-06-22 09:57:01 +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
Unknown W. Brackets
0a92d377b0
Avoid a race condition during game shutdown.
...
Hoping this is it.
2014-05-21 01:13:40 -07:00
Unknown W. Brackets
14be491aa8
Don't set pending boot flag on "stop".
...
And rename to boot pending, not "boot successful."
2014-05-15 22:17:19 -07:00
Unknown W. Brackets
d820768396
Properly exit error screen when hitting cancel.
...
Fixes #3351 .
2014-01-25 00:40:14 -08:00
Unknown W. Brackets
a73b15b963
In multithreadead, load the game async.
...
This way if it takes time to load, things aren't frozen while it's doing
that. This allows us to show any sort of loading animation or etc. we
want.
Before, it might show a odd looking game select screen while loading, and
then finally go to black. Now it immediately goes to black.
Fixes #2030 .
2014-01-19 14:41:01 -08:00
Henrik Rydgård
40bd1fa650
Add freeze-frame to developer menu. Only useful for developing, like when using nVidia PerfHud.
2013-11-15 13:11:44 +01:00
Siddharth
6cd5b748eb
created auto load feature
2013-10-30 22:46:27 +05:30
Henrik Rydgård
0ae5e5cf1c
Fix returning to game with ESC or other mapped back button, minor
...
cleanups.
2013-10-27 10:04:38 +01:00
Henrik Rydgard
c31ae0645f
Add optional "DevMenu" in-game button for quick access to things like log settings
2013-09-07 20:54:51 +02:00
Henrik Rydgard
8972bf0d12
Fix stickiness of NV Shield d-pad (and other digital pads that are mapped to axises)
2013-07-31 18:08:31 +02:00
Henrik Rydgard
7462d988cf
Boot game in EmuScreen::update instead of the constructor. Avoids issues with starting games from the command line.
2013-07-27 13:26:26 +02:00
Henrik Rydgard
2b35aa9050
Add basic NewUI in-game menu.
2013-07-21 13:31:46 +02:00
Unknown W. Brackets
13f6ca0019
When mapping to an axis, center when both pressed.
...
Fixes #2860 .
2013-07-20 12:11:35 -07:00
Henrik Rydgard
51adb8c64f
Warning fixes, fix hw back button on Android
2013-07-20 20:49:08 +02:00
Henrik Rydgard
ff225fab5a
Finish the touch input rewrite, get rid of the fakeinput hacks.
2013-07-20 14:05:07 +02:00
Henrik Rydgard
325f5dfc21
Replace some of the onscreen touch buttons with a new better impl that doesn't rely on InputState.
2013-07-20 12:08:13 +02:00
papel
9b6f1abed8
Version to savestate and open other game in other screens.
2013-07-17 02:33:26 -03:00
Unknown W. Brackets
82442fa68a
Cut down on analog stick latency.
2013-07-07 16:25:15 -07:00
Unknown W. Brackets
8e5d115c8e
Get basic axis mapping working.
2013-07-07 16:10:20 -07:00
Henrik Rydgard
cee45d0ad2
Win32: Switch to RawInput for keyboard processing. Lets us distinguish LSHIFT/RSHIFT and LCTRL/RCTRL.
2013-07-07 11:25:18 +02:00
Henrik Rydgard
b0ee3a173a
Add mechanism for unlimited mappable virtual keys (not restricted by some bitfield). Use it to implement X/Y analog key mapping.
2013-07-06 20:45:44 +02:00
Henrik Rydgard
cc58e34cf8
Remove legacy key mapping and associate devices with keys (DInput has been left behind for now, will be fixed up soon). Saving is broken, will be fixed soon.
2013-07-06 20:45:44 +02:00
Daniel Dressler
78e0d301c3
Fix misleading var name
...
Update() can be called at subframe intervals.
2013-07-04 12:12:50 -07:00
Daniel Dressler
1c513c1bd0
Fix forgetting pressed keys
2013-07-04 10:59:19 -07:00
Henrik Rydgard
059aed36ee
Add on-screen feedback for some keyboard shortcuts (so you know which setting was changed)
2013-05-22 18:00:06 +02:00