Commit Graph

144 Commits

Author SHA1 Message Date
Cacodemon345
74368bfe7a Don't include cpu.h in timer.h
Change the name of the define used to indicate SVGA multi-monitor-capable cards
2025-03-06 19:26:11 +06:00
Cacodemon345
95f30192e5 USB multimedia keys now work on Windows 2025-02-27 22:09:55 +06:00
Miran Grča
8eee344adb Update qt_main.cpp 2025-02-03 02:58:00 +01:00
Miran Grča
ff68384c49 Merge pull request #5200 from Cacodemon345/windows-dark-mode
Windows dark mode
2025-02-03 02:57:23 +01:00
Miran Grča
11506e740c Update qt_main.cpp 2025-02-03 02:56:36 +01:00
Miran Grča
0998f03d6f Update qt_main.cpp 2025-02-03 02:56:08 +01:00
Miran Grča
79e4386daa Update qt_main.cpp 2025-02-03 02:55:34 +01:00
Jasmine Iwanek
5f273265ae Assorted warning fixes 2025-02-02 03:24:50 -05:00
OBattler
eaa4f16379 Windows hook input: Remove an excessive log line. 2025-01-05 16:42:24 +01:00
OBattler
117bbc43c7 Windows: Pause's fake CTRL needs to be adjusted for break code as well. 2025-01-03 19:44:03 +01:00
OBattler
5a40204e31 Windows: Bring back hook input, this time with fixes for right Shift and Pause. 2025-01-03 16:04:46 +01:00
OBattler
c7c8f0a814 Another attempt to fix the hook. 2025-01-03 14:49:38 +01:00
OBattler
ff098f6c7e Fix the condition of the hook. 2025-01-03 13:03:56 +01:00
OBattler
2ca36cdc7d Fixed a typo in a comment. 2025-01-03 05:21:45 +01:00
OBattler
92e5ed6aae Keyboard hook: Fixed segmentation fault when non-primary monitors are enabled but none is actually in use. 2025-01-03 00:47:35 +01:00
OBattler
06923a2800 Switched back to raw input - it appears it *does* work with the hook. 2025-01-03 00:15:28 +01:00
OBattler
3b79448286 Switch back to only one hook (it turns out the second hook was neither needed nor working) and filter keyboard input properly, fixes #5084. 2025-01-02 02:09:15 +01:00
OBattler
8791e5b227 Make sure the blocked combinations are only blocked from the host, not the guest. 2024-12-31 04:30:42 +01:00
OBattler
f8930ea207 Actually commit the correct file and pray God it will compile. 2024-12-31 04:05:51 +01:00
OBattler
8b05c58fb9 Switched to two hooks, so the emulator doesn't get the input from the entire host OS. 2024-12-31 03:59:38 +01:00
OBattler
a11712b651 Make the hook only run if it's either captured or full screen. 2024-12-31 03:27:21 +01:00
OBattler
defeb47ca5 Switched from raw input to low-level keyboard hook, with -W/--raw to optionally re-enable raw input (needed to debug, so the hook doesn't cause GDB to make system input unusably slow), fixes #4399. 2024-12-31 00:48:50 +01:00
OBattler
cb957fe517 Changed to plat_delay_ms() according to tneukom's latest suggestion. 2024-12-25 00:29:56 +01:00
OBattler
59baaaf5a6 Only call timerBeginPeriod(1); on Windows, fixes Linux and Mac builds. 2024-12-24 20:29:44 +01:00
OBattler
45124363a5 Also replace the other thread sleep with play_delay_ms() and remove the #ifdef's. 2024-12-24 19:30:35 +01:00
OBattler
8db59e3c5c qt/qt_main.cpp: Use plat_delay_ms(1) instead of thread sleeping, closes #5066. 2024-12-24 19:25:00 +01:00
OBattler
f6d89766b0 Remove the usage of the undefined vnc_enabled variable, fixes #4961. 2024-11-13 06:31:16 +01:00
OBattler
cdd01eceea QT: Restore RichardG's hard reset workaround. 2024-08-24 04:24:06 +02:00
Jasmine Iwanek
322adf1c2b Initial underlying code support for more than 2 video cards 2024-07-19 23:27:21 -04:00
Miran Grča
15d2ee28c7 Merge pull request #4274 from Cacodemon345/patch-174
Compile fixes for Qt6 on Windows
2024-06-16 14:36:16 +02:00
Cacodemon345
c9176b2d91 Changes 2024-06-16 14:16:53 +06:00
usergithub64
b97cbceb07 Fixes for translation not working in the main window
Also need to add the appropriate translation strings to the language files
2024-05-24 11:50:01 +03:00
OBattler
2acb11d37c Implemented the Pro Audio Spectrum Plus serial mixer, Pro Audio Spectrum 16 parallel mixer, Pro Audio Spectrum Plus/16 SCSI, ESS ES688, all three ESS PnP AudioDrives, made the wavetables use a separate 44.1 kHz source, and made the Sound Blaster 16 PNP use a proper PNP ROM dump. 2024-05-03 17:02:13 +02:00
cold-brewed
4d8e7bd24e qt: Add UUID features, MAC address configuration, machine move detection 2024-04-02 11:47:29 -04:00
Alexander Babikov
ae7d4454cb Move Windows font overrides away from translations
Determine which font to use with a dedicated function instead
2024-03-20 20:33:28 +05:00
Alexander Babikov
8e06b5449f Overhaul plat_get_string()
Now takes constants with human-readable names instead of
Win32 string table IDs, language.h is no longer needed

ui_msgbox*() no longer accepts string IDs as arguments directly,
plat_get_string() must be explicitly called to retrieve the string
2024-03-20 20:33:28 +05:00
Cacodemon345
0fa576d8bb Compile fixes for Qt6 on Windows 2024-03-16 01:45:23 +06:00
OBattler
2c5a460d23 Removed the Win32 UI and the legacy makefiles. 2024-03-15 18:16:21 +01:00
RichardG867
e0c5eb49f1 DDC: EDID data improvements, hopefully fixes 1600x1200 on older OSes 2024-03-10 18:01:09 -03:00
Alexander Babikov
5acec5dfa4 qt: Remove the Direct3D 9 renderer 2024-02-13 18:40:07 +05:00
Cacodemon345
50e1a88463 Revert "Only the main window and its childs should be native widgets"
This reverts commit fe3aab2a0e.
2024-01-17 01:26:11 +06:00
Cacodemon345
fe3aab2a0e Only the main window and its childs should be native widgets 2024-01-17 00:56:07 +06:00
Cacodemon345
25ec6f65c4 Fix incorrect casing 2024-01-17 00:40:35 +06:00
Cacodemon345
b658238333 Force all widgets to be embedded windows on Windows 2024-01-16 17:11:33 +06:00
Cacodemon345
bf99a1aaad Dark mode theme only for Windows 2024-01-16 01:39:32 +06:00
RichardG867
67c84f1ae6 Add automatically-generated names to threads 2024-01-09 20:14:21 -03:00
Bruno Castelló
5cb2391039 Update src/qt/qt_main.cpp
Accepted changes

Co-authored-by: Alexander Babikov <lemondrops358@gmail.com>
2023-12-31 00:09:50 -03:00
Bruno Castelló
5142127982 fixes typo on mac icon fix 2023-12-30 23:25:20 -03:00
OBattler
1f6a5a8a95 Added a missing #endif. 2023-12-31 01:44:31 +01:00
Alexander Babikov
f96e25e108 Don't set the application icon in qt_main.c on Mac
Should fix it overriding the bundle's icon
2023-12-31 05:24:19 +05:00