Commit Graph

92 Commits

Author SHA1 Message Date
cold-brewed
bf8e695d94 qt: Clean up some warnings 2023-06-11 11:54:01 -04:00
Jasmine Iwanek
ed1b369abd Yet more sonarlint fixes 2023-05-29 06:21:17 -04:00
OBattler
a2aa4ae85e QT now correctly allows capture when there's no mouse but the keyboard requires capture. 2023-04-13 12:47:31 +02:00
Cacodemon345
1e58f4dc93 Fix switch input on secondary monitors 2023-03-05 16:59:08 +06:00
Cacodemon345
7de41b383c Absolute mouse input now works on secondary monitors 2023-03-04 23:10:43 +06:00
Cacodemon345
0395ea02a1 qt: Poll from Qt code instead of RawInput code on Windows when absolute mode is used
Fixes tablet input
2023-02-24 16:50:38 +06:00
Cacodemon345
17d4e4a7e2 Merge branch 'master' into qt-wacom-serial 2023-02-07 17:04:25 +06:00
Jasmine Iwanek
a40630ba63 Even more tabs to spaces 2023-01-07 14:09:51 -05:00
Cacodemon345
efda203365 Process absolute coordinates on macOS 2023-01-03 22:23:43 +06:00
Cacodemon345
ef18a27bc9 Made absolute mouse coordinates work under Windows as well 2023-01-03 21:43:10 +06:00
Cacodemon345
96f7b7aa14 Add Wacom SD-510C tablet emulation 2023-01-03 16:47:20 +06:00
Jasmine Iwanek
3fe4f75108 A bit more clang-format 2022-11-19 11:53:07 -05:00
Cacodemon345
65f6f453c0 qt: try another way 2022-11-01 03:15:48 +06:00
OBattler
31f38a0351 Added some parentheses in qt_renderstack.cpp. 2022-10-25 17:11:45 +02:00
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