overlay: disable subscreen overlay if "native touch" option is on (#811)

## Link to GitHub Issue or related Pull Request, if one exists
#345 

## Description of change
If IIDX/SDVX/POPN "native touch" option is enabled, show an error
message if user toggles subscreen window.

Those options are meant for users with touch screens, and disables mouse
interactions. Users who like to randomly turn on options often latch on
to this option and get confused when clicks don't register.

## Testing
This commit is contained in:
bicarus
2026-07-18 21:49:50 -07:00
committed by GitHub
parent 2dea0d27bf
commit a8cc85531c
3 changed files with 6 additions and 0 deletions
+2
View File
@@ -14,6 +14,8 @@ namespace overlay::windows {
this->disabled_message = "Valkyrie Model mode is not enabled!";
} else if (games::sdvx::SHOW_VM_MONITOR_WARNING) {
this->disabled_message = "VM mode subscreen overlay is not compatible with -dxmainadapter option, use -mainmonitor instead";
} else if (games::sdvx::NATIVETOUCH) {
this->disabled_message = "Overlay disabled by user (-sdvxnativetouch option is on, used for real touch screens)";
} else if (GRAPHICS_WINDOWED) {
if (GRAPHICS_PREVENT_SECONDARY_WINDOWS) {
this->disabled_message = "Subscreen has been disabled by the user (-sdvxnosub).";