Unknown W. Brackets
e59951382a
Global: Make stringutil includes more explicit.
2020-08-10 07:05:22 -07:00
shenweip
c7e2eba231
Add basic Microphone support on Windows.
2020-07-31 10:24:17 +08:00
李通洲
55bb58e13e
NativeApp: add System_GetPropertyFloat all the places
2020-02-04 09:20:34 +08:00
shenweip
3f585782f1
Don't shut down camera when exiting games,also re-enumerating devices if
...
received WM_DEVICECHANGE.
2020-01-24 16:05:28 +08:00
Henrik Rydgård
f57b8b19d2
Windows: Kill the mouse wheel release timer after it's used to prevent spamming keyup events.
2019-09-03 00:02:03 +02:00
LunaMoo
6a37389b5e
Move WM_MOUSEWHEEL back to WndProc to fix wheel events not working in Win 7.
2019-07-31 13:04:26 +02:00
LunaMoo
b53e80c5aa
Fix mouse scroll by releasing with a delay using timer(16ms)
...
Also moved WM_MOUSEWHEEL to DisplayProc where it works fine now.
2019-06-18 02:15:00 +02:00
Henrik Rydgård
2f26297062
Clean up some more ifdefs
2019-05-10 23:25:57 +02:00
driver1998
0aa33d53c0
Disable features not available on Windows ARM32/ARM64
...
ARM32: OpenGL & DirectInput
ARM64: OpenGL
2019-05-04 22:45:16 +08:00
Unknown W. Brackets
d30d75ab38
Windows: Check for devices on Windows events only.
...
A user reported stuttering after the periodic checks, and devices failing
until unplug/replug. Presumably, this is caused by poor drivers reacting
badly to periodic DirectInput queries, so less queries should help.
2018-11-01 21:42:12 -07:00
Henrik Rydgård
785858dbf8
Basic Discord presence integration.
2018-08-13 00:20:09 +02:00
Unknown W. Brackets
b4496f1975
Core: Move config enums to separate file.
...
These are a bit strewn about and there are constants that aren't
consistently used, which just adds confusion.
2018-06-23 10:59:18 -07:00
aliaspider
f94e9b1e74
set _WIN32_WINNT to 0x0601 in stdafx.h
2018-03-23 22:54:12 +01:00
Henrik Rydgård
14c93bdc2b
Minor code/logging cleanups.
2018-02-27 19:44:11 +01:00
Unknown W. Brackets
d496b4da9a
Windows: Allow GL thread on graphics restart.
...
Unfortunately, it no longer works to go Vulkan -> OpenGL, and used to...
2018-02-10 16:55:52 -08:00
Henrik Rydgård
081e15d1c8
Windows: Consistently shutdown the main thread after exiting the message loop.
2018-02-10 09:06:43 +01:00
Henrik Rydgård
ae19c48138
Cleanup the Windows thread stuff to work like the other platforms. Not quite perfect yet.
2018-02-07 16:00:29 +01:00
Henrik Rydgård
42f2312030
Remove the old CPU threading remains, start redesigning interfaces.
2018-01-27 15:10:17 +01:00
Unknown W. Brackets
c0f0bc88af
UI: Trigger view recreate on static sized screens.
...
If a screen doesn't size via layout, it needs to recreate views on resize,
which is what the resized() method is for.
2017-12-27 01:13:47 -08:00
Unknown W. Brackets
8c1c0e1897
Windows: Track minimize as lost focus.
...
It makes sense if we have the other feature. Fixes #9918 .
2017-12-24 18:03:28 -08:00
Unknown W. Brackets
f607f41440
Windows: Stop input poll before emu shutdown.
...
Otherwise, we could crash in the input thread during host deletion.
2017-12-03 19:22:01 -08:00
Henrik Rydgård
6a1fa728d8
Remove Globals.h
2017-08-31 17:15:22 +02:00
Henrik Rydgård
f4cf501cf6
Separate X and Y dpi_scale
2017-08-07 13:37:01 +02:00
Unknown W. Brackets
cc88435b48
Windows: Support multi-display full screen.
...
For when you have an ultrawide monitor, or I guess even multiple.
2017-07-30 09:14:36 -07:00
Unknown W. Brackets
b9c0f76049
Windows: Avoid input race condition on GPU switch.
...
The issue is worse if polling controllers (i.e. XInput) is slow, but we
want to stop that thread while we're resetting `host`.
2017-05-20 12:33:28 -07:00
Unknown W. Brackets
793178c106
Windows: Initialize WindowsHost in EmuThread.
...
This seems like a more appropriate place, and a more appropriate thread,
for it to be initialized on.
2017-05-05 06:53:48 -07:00
LunaMoo
2a60f2e77c
Handle alt+tab and drop down menu when mouse is confined and game is running
2017-05-05 02:26:24 +02:00
Unknown W. Brackets
661b2a3aa8
UI: Make GPU events more consistent.
2017-04-27 20:03:50 -07:00
LunaMoo
26006e9d80
Add an option to trap mouse within window/display area.
2017-04-27 16:29:08 +02:00
LunaMoo
26c02478af
Mouse Control(Windows only for now)
2017-04-26 18:03:48 +02:00
Unknown W. Brackets
6c2f87b1df
GPU: Consistently use useBufferedRendering_.
2017-04-24 11:57:16 -07:00
Unknown W. Brackets
e8e65881b8
Windows: Avoid restarting completely on GPU change.
...
This retains the logger, avoids an annoying window open/close, and most
importantly for me: keeps the debugger attached.
2017-04-15 16:33:30 -07:00
Henrik Rydgard
f18b1a5e8a
When resetting Y, make sure we don't end up outside the screen. See #9563
2017-04-08 23:33:34 +02:00
Henrik Rydgard
0b7da0b6a4
When not resetting Y position, clamp Y to 0 early. See #9563
2017-04-08 23:33:23 +02:00
Henrik Rydgard
3b00088995
Typo fix
2017-04-08 18:41:21 +02:00
Henrik Rydgard
2d8910549e
Switch back to using CXSCREEN/CYSCREEN for centering instead of the virtual screen.
2017-04-08 11:36:05 +02:00
Henrik Rydgard
445a837dde
Windows: Make the window positioning code slightly saner and more straightforward.
2017-04-07 11:04:55 +02:00
Unknown W. Brackets
c3a4f53755
Windows: Fix check state after menu translate.
...
The caching in SetIngameMenuItemStates was pointless, and buggy on
language change.
2017-04-04 21:01:05 -07:00
Unknown W. Brackets
6642bf3170
Windows: Make UI update significantly cheaper.
...
Setting menu strings, reloading shaders, and redrawing the menu were all
a bit slow. This skips those things unless they've changed.
2017-04-04 20:33:22 -07:00
Henrik Rydgard
0a0aa02aae
Win32: Enable/disable menu items when a menu is popped down. Allows us to avoid calling UpdateUI from sceUmd. Should fix #9546
2017-04-04 10:11:03 +02:00
Unknown W. Brackets
e59ebf8ad9
Windows: Add option to browse for bg image.
...
And also to clear the image.
2017-04-02 10:50:09 -07:00
Henrik Rydgård
aefad893f8
Windows: Start at a sensible window size if high-DPI. Avoids the worst of #9437 but does not fix it.
2017-03-17 13:22:00 +01:00
Henrik Rydgård
1424713f62
Minor resource reorg
2017-03-17 12:35:27 +01:00
Unknown W. Brackets
14b1dac826
Remove legacy input state usage on Windows.
2017-03-14 22:07:05 -07:00
Unknown W. Brackets
255c726c1e
Remove legacy pointer tracking outside Windows.
2017-03-14 22:07:05 -07:00
Henrik Rydgård
a895936913
More log cleanup. Fix resize issue: Fixes #9392
2017-03-06 13:50:22 +01:00
Henrik Rydgård
440e72d250
Clean up among the logs. Remove MASTER_LOG.
2017-03-06 13:10:23 +01: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
acde17e3ce
Improvements to D3D11 detection and error handling.
2017-02-23 10:40:55 +01:00
Henrik Rydgard
03b607f389
Better way of updating menus on UMD switching calls
2017-01-29 11:41:31 +01:00