Commit Graph

12 Commits

Author SHA1 Message Date
Henrik Rydgård
82573b4f82 Move controller setup to Controls.mm 2024-05-22 11:18:03 +02:00
Henrik Rydgård
947f0a876e Delegate shouldn't keep the specific ViewController type 2024-05-21 14:57:30 +02: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
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
Xie Yi
0e7c85d89e Disable external display by default
Configuration is in system settings
2019-06-19 17:47:14 +08:00
Xie Yi
c0a1404308 Fix invalid mode on iPad Pro 2018
When connected to 4K display via C2HDMI cable, the last item in availableModes is 5K.
2019-06-13 22:57:19 +08:00
Xie Yi
4a7e9d47e3 Ignore mute switch when connected to external display 2019-06-11 15:09:42 +08:00
Xie Yi
364b447ee4 Simple dpi scaling 2019-06-11 14:04:18 +08:00
Xie Yi
a68c982b85 Fix overscan compensation (Hack) 2019-06-11 05:44:58 +08:00
Xie Yi
bed47ea30a Fix iPhone won’t switch to external display 2019-06-11 02:30:19 +08:00
Xie Yi
259f0ce22e Auto switch between internal and external display 2019-06-11 01:24:58 +08:00