[idd] driver; support custom resolution and refresh rate list

Custom modes can now be configured via the registry under

HKEY_LOCAL_MACHINE\SOFTWARE\LookingGlass\IDD

Create the value "Modes" as a REG_MULTI_SZ with the value as
a list of modes, for example:

1024x768@60
1920x1080@60
1920x1080@120*

The '*' denotes the preferred mode to default to if one has not
been selected by the user.
This commit is contained in:
Geoffrey McRae
2025-08-30 18:02:55 +00:00
parent 5a4a2529af
commit 16a283717a
5 changed files with 36 additions and 52 deletions

View File

@@ -32,6 +32,7 @@
#include "CDebug.h"
#include "CIndirectDeviceContext.h"
#include "CIndirectMonitorContext.h"
#include "CSettings.h"
WDFDEVICE l_wdfDevice = nullptr;