Commit Graph

78 Commits

Author SHA1 Message Date
Jameson Ernst
84f5d9c393 Improve handling of High-DPI mice
- Reduce lower bound of mouse sensitivity
 - Add error accumulators to prevent small motions from being rounded off
2022-09-14 22:11:32 -07:00
Cacodemon345
012db280e2 qt: Remember maximized state of monitor windows if enabled 2022-08-14 12:32:29 +06:00
Cacodemon345
ad3bba009a qt: Raise minimum Xi2 version requirement to 2.1
This is needed for click-and-drag to work with both Qt5 and Qt6, especially the latter which was previously broken, without any hacks.
2022-08-12 13:24:29 +06:00
Cacodemon345
f2cf5dd841 qt: Restore Xinput2 for Qt5 builds 2022-08-12 00:35:40 +06:00
Cacodemon345
dd23397854 qt: Add option to apply fullscreen stretching modes when maximized 2022-08-10 01:27:54 +06:00
Cacodemon345
e2a03f436e qt: properly update "Show non-primary monitors" settings when they are closed 2022-08-02 00:14:09 +06:00
OBattler
14fa83402e One last fix. 2022-07-31 23:38:43 +02:00
OBattler
16f7460c73 Attempt at some QT fixes. 2022-07-31 23:31:59 +02:00
Cacodemon345
08722ffdf5 qt: Fix black screen when switching between renderers 2022-07-29 14:46:54 +06:00
Cacodemon345
3ce22ca61d qt: don't enable blitting too early 2022-07-18 21:46:22 +06:00
Cacodemon345
7beec38ed3 qt: Fix mouse polling 2022-07-16 12:57:54 +06:00
Jasmine Iwanek
a10e010a93 Don't shut down when second display is closed 2022-07-14 23:57:30 -04:00
Cacodemon345
c0c873151b qt: Add Show non-primary monitors option 2022-07-10 11:41:02 +06:00
Cacodemon345
e287886dfb Implement multi-monitor screenshots 2022-07-07 16:09:50 +06:00
Cacodemon345
20d3f0971c Use atomic_bool instead of atomic_flag for doresizes
atomic_flag seems to be broken on Windows for clearing them outside the
thread they were tested and set in
2022-07-06 01:25:39 +06:00
Cacodemon345
85baf0c7fb qt: Restore Close button on monitor windows 2022-07-05 17:57:25 +06:00
Cacodemon345
7ab71cafd3 Working multimonitor 2022-07-04 01:50:42 +06:00
Cacodemon345
07c76cb06e Update qt_rendererstack.cpp 2022-06-26 17:29:41 +06:00
Cacodemon345
d27d15501e qt: attempt fixing black screen 2022-06-26 17:10:28 +06:00
Cacodemon345
74f86753dd qt: Fix crashes and freezes when switching to/from Direct3D 9 2022-06-24 15:41:24 +06:00
Cacodemon345
32b29e91ee qt: add Direct3D 9 renderer 2022-06-22 16:36:38 +06:00
OBattler
92c3768a48 Added two missing checks to the QT renderer. 2022-06-07 19:01:50 +02:00
Cacodemon345
3b74aad9d6 qt: Add mouse sensitivity setting 2022-06-01 15:31:58 +06:00
Cacodemon345
51b7e388a8 qt: Fix dangling pointers on Vulkan init failure 2022-04-27 00:23:29 +06:00
Cacodemon345
886c0acd47 Fix compilation error when building with Wayland 2022-04-26 02:16:32 +06:00
Miran Grča
762a5f1de9 Merge pull request #2303 from Cacodemon345/patch-74
qt: Disable Xi2 mouse input backend
2022-04-25 12:27:52 +02:00
Cacodemon345
6f968e3fd7 qt: Fix compiling with Vulkan support unavailable 2022-04-25 16:09:37 +06:00
Cacodemon345
62b92386bb qt: Disable Xi2 mouse input backend 2022-04-25 14:51:17 +06:00
Cacodemon345
9c070dc192 Add missing includes 2022-04-24 01:05:37 +06:00
Cacodemon345
d5df99fbd8 Merge remote-tracking branch 'upstream/master' into newqt2 2022-04-24 00:58:08 +06:00
Cacodemon345
6edc2a4c2b Merge remote-tracking branch 'upstream/master' into newqt2 2022-04-24 00:56:11 +06:00
RichardG867
bfde3e4867 Qt: Fix middle mouse button uncapture 2022-04-21 13:56:39 -03:00
Cacodemon345
314bf5ad06 Add Vulkan renderer 2022-04-21 16:32:46 +06:00
richardg867
0af6605042 Selectable mouse type on Linux, part 5 2022-04-20 21:38:57 -03:00
richardg867
5f070c8f74 Selectable mouse type on Linux, part 2 2022-04-20 20:54:41 -03:00
Cacodemon345
e5ab6a8564 qt: Avoid reading absolute mouse input from cross-platform Qt code on Windows
This ensures only RAWINPUT sends mouse input to the emulated machine on Windows.
2022-04-08 01:51:32 +06:00
Cacodemon345
c1f9d35de8 qt: Add support for Haiku
* OpenAL backend is enabled by default on Haiku
* bswap include now makes use of builtins if they exist
* Use a local fgetws method for Haiku to avoid crashes
* OpenGL renderers are completely disabled on Haiku (they do not work)
* Software renderer is a widget, not a window on Haiku (fixes blank screen)
* Add option to disable System MIDI at compile time
2022-03-11 12:13:08 +06:00
ts-korhonen
828accc91d qt: More error handling and tweaking to opengl 3 renderer 2022-03-05 02:57:57 +02:00
ts-korhonen
9af1d0cc5f Revert "qt: Disable OpenGL 3.0 renderer for macOS."
This reverts commit d3b00ff27b.
2022-02-28 08:43:14 +02:00
ts-korhonen
d3b00ff27b qt: Disable OpenGL 3.0 renderer for macOS.
Until it's figured out, macOS has dummy implementation to keep it
building.
2022-02-27 21:57:14 +02:00
ts-korhonen
d2a9389ce7 qt: Initial OpenGL 3.0 renderer implementation 2022-02-27 14:56:51 +02:00
Jasmine Iwanek
4674756664 More newline and whitespace cleanups 2022-02-20 16:26:40 -05:00
Cacodemon345
0d31bb0cc6 qt: X11 Xinput2 mouse motion backend 2022-02-15 02:34:13 +06:00
Cacodemon345
bfebbd05d3 qt: Compatibility improvements
* Patch to build with Qt 5.11 and later by jriwanek
* Attempt to fix viewport on hardware renderers
2022-02-11 13:49:45 +06:00
Cacodemon345
775dad5fa3 qt: Use QDesktopWidget for screen retrival 2022-02-10 15:30:39 +06:00
Cacodemon345
a637f61d4f Add missing copyright notices 2022-02-07 15:00:02 +06:00
Cacodemon345
03a6b2b50a Fix bottom line being glitched 2022-02-05 16:45:17 +06:00
Alexander Babikov
45520768ba Fix unsolicited mouse captures after a double-click in an file selection dialog 2022-02-05 01:01:06 +05:00
ts-korhonen
8c8e2219d8 qt: Refactor renderers buffer ownership
Invert the way buffers are created; make renderer create buffers for
renderer stack.
Use QImage bits as the buffer for software renderer.
2022-01-15 21:45:34 +02:00
Cacodemon345
31d3d6309b Copy lines from buffer32 one by one
(cherry picked from commit 00a75d4e602ec3ba6d214eeae4500c90dc77fc5f)
2022-01-14 16:44:54 +02:00