Commit Graph

24 Commits

Author SHA1 Message Date
Unknown W. Brackets
6bf5827407 Windows: Fix small atom leak. 2023-03-15 22:02:36 -07:00
Henrik Rydgård
8b431b39ba
Wrap the display globals in a struct (#16998)
* Wrap the display globals in a struct

Makes it easier to search/replace these, for future refactorings.

* Some renaming

* Qt buildfix, also fix the Qt build on Mac (got broken with battery changes)

* Attempt at buildfixing ios

* UWP buildfix
2023-02-25 13:09:44 +01:00
Unknown W. Brackets
9cfcbc46e6 Global: Cleanup initialization/pointer checks.
Cleaning up a lot of cases of uninitialized data, unchecked return values
for failures, and similar.
2022-12-10 21:13:36 -08:00
Henrik Rydgård
50b0e84113 Oops 2021-04-17 22:40:13 +02:00
Henrik Rydgård
f01ba6dc84 Move NativeApp.h to Common/System, split into NativeApp.h and System.h
Buildfix
2020-10-04 11:42:16 +02:00
Henrik Rydgård
b7edf75437 Move Display.cpp/h to Common. 2020-10-04 11:42:16 +02:00
Henrik Rydgård
9e41fafd0d Move math and some file and data conversion files out from native to Common.
Buildfixing

Move some file util files

Buildfix

Move KeyMap.cpp/h to Core where they belong better.

libretro buildfix attempt

Move ini_file

More buildfixes
2020-10-04 09:12:46 +02:00
Henrik Rydgård
11ab77b995 Remove some TLS. 2020-09-29 15:51:51 +02:00
aliaspider
f94e9b1e74 set _WIN32_WINNT to 0x0601 in stdafx.h 2018-03-23 22:54:12 +01:00
aliaspider
15c4406df7 add missing inclues. 2018-03-22 22:14:19 +01:00
Henrik Rydgård
f4cf501cf6 Separate X and Y dpi_scale 2017-08-07 13:37:01 +02:00
Unknown W. Brackets
587e5f7e7a Windows: Cleanup type conversion in touch.
This should help if we have uneven DPI.
2017-04-11 18:53:00 -07:00
Unknown W. Brackets
994e99c94d Windows: Fix mismatch on multitouch finger up.
Fixes buttons "sticking".
2017-04-11 18:48:40 -07:00
Henrik Rydgard
cf365bb257 Minor cleanup with GOLD define - only use it in System_GetPropertyInt 2017-04-05 16:21:08 +02:00
Henrik Rydgard
3ae13f3c05 Touch on Windows Desktop: Apply the DPI scale *after* ScreenToClient.
Might further improve #9554.
2017-04-05 15:36:31 +02:00
Unknown W. Brackets
b00e788648 Correct touch id generation.
GestureDetector still has a max of 10.
2017-03-14 22:21:01 -07:00
Unknown W. Brackets
14b1dac826 Remove legacy input state usage on Windows. 2017-03-14 22:07:05 -07:00
Henrik Rydgård
8b5048be72 Fix high-DPI rendering/input on Windows 2017-01-16 20:53:41 +07:00
Henrik Rydgard
f4b1152b00 Pick some safe changes from the android gradle branch (including windows CMake fixes) 2016-12-05 16:52:03 +01:00
Henrik Rydgard
6cc7a85cde Rename WndMainWindow to MainWindow 2015-09-19 13:14:05 +02:00
Peter Tissen
41f67857f5 disable press and hold for Windows Touch 2014-09-17 09:32:21 +02:00
Unknown W. Brackets
1ce6bf399a Buildfix for 32-bit x86, arg. 2014-03-17 21:52:45 -07:00
Peter Tissen
4a4488eb98 Enable touch support by default
Check for touch support and enable it automatically if available.
It's probably possible to hack around Vista with the HID stuff but
I don't think Vista that want multitouch is a large enough group
to invest the time.
2014-01-23 20:16:38 +01:00
Peter Tissen
b991d49049 Add Windows touch support
This is disabled by default

break out WindowsTouchHandler into a seperate Class ,  that file is way too big anyway
2014-01-22 21:25:49 +01:00