mirror of
https://github.com/spice2x/spice2x.github.io.git
synced 2026-08-05 16:10:41 -07:00
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:
@@ -15,6 +15,8 @@ namespace overlay::windows {
|
||||
this->disabled_message = "Game did not launch as Pikapika Pop-kun (invalid <spec>)!";
|
||||
} else if (games::popn::SHOW_PIKA_MONITOR_WARNING) {
|
||||
this->disabled_message = "Subscreen overlay is not compatible with -dxmainadapter option, use -mainmonitor instead";
|
||||
} else if (games::popn::NATIVE_TOUCH) {
|
||||
this->disabled_message = "Overlay disabled by user (-popnnativetouch option is on, used for real touch screens)";
|
||||
} else if (GRAPHICS_WINDOWED && !GRAPHICS_PREVENT_SECONDARY_WINDOWS) {
|
||||
this->disabled_message = "Subscren overlay was not enabled in spicecfg. Use the second window (ALT+TAB).";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user