diff options
Diffstat (limited to 'LibOVR/Src/Displays/OVR_Win32_Dxgi_Display.h')
-rw-r--r-- | LibOVR/Src/Displays/OVR_Win32_Dxgi_Display.h | 22 |
1 files changed, 17 insertions, 5 deletions
diff --git a/LibOVR/Src/Displays/OVR_Win32_Dxgi_Display.h b/LibOVR/Src/Displays/OVR_Win32_Dxgi_Display.h index ab1582c..bdcd813 100644 --- a/LibOVR/Src/Displays/OVR_Win32_Dxgi_Display.h +++ b/LibOVR/Src/Displays/OVR_Win32_Dxgi_Display.h @@ -372,19 +372,31 @@ typedef struct _RIFT_STATUS_ARRAY // Enable or disable compatibility mode. Entering compatibility mode will fail if // the Rift is already actively scanning out a surface -// Input Buffer: BOOL - Nonzero if compatibility mode is desired, zero if it's not +// Input Buffer: LONG - Bit assignments: +// LSB (bit 0) is a flag for compatibility mode itself. +// 1 means compatibility mode. +// 0 means application direct mode. +// Bit 1 means "Hide DK1's". +// 1 means operate DK1's in synchronous with the compatibility mode exactly. +// 0 means operate in DK1 legacy mode. // Output Buffer: LONG - Result value (see OVR statuses) // 0 = success // -1 = general failure // -2 = failure, rift scanning out +// -3 = already active +// -4 = rift not present #define IOCTL_RIFTMGR_SETCOMPATIBILITYMODE CTL_CODE(FILE_DEVICE_VIDEO, \ FUNCTION_INDEX + 8, METHOD_NEITHER, FILE_ANY_ACCESS) // Call to obtain the current status of compatibility mode // Input Buffer: NOTHING -// Output Buffer: LONG - Result value -// 0 = Not in compatibility mode -// Non-zero = In compatibility mode +// Output Buffer: LONG - Bit assignments: +// LSB (bit 0) is a flag for compatibility mode itself. +// 1 means compatibility mode. +// 0 means application direct mode. +// Bit 1 means "Hide DK1's". +// 1 means operate DK1's in synchronous with the compatibility mode exactly. +// 0 means operate in DK1 legacy mode. #define IOCTL_RIFTMGR_GETCOMPATIBILITYMODE CTL_CODE(FILE_DEVICE_VIDEO, \ FUNCTION_INDEX + 9, METHOD_NEITHER, FILE_ANY_ACCESS) @@ -410,4 +422,4 @@ typedef struct _RIFT_STATUS_ARRAY #define IOCTL_RIFTMGR_GETEDID CTL_CODE(FILE_DEVICE_VIDEO, \ FUNCTION_INDEX + 11, METHOD_NEITHER, FILE_ANY_ACCESS) -#endif
\ No newline at end of file +#endif |