Add the option to always have the virtual display be an isolated display - Windows only (#662)

* Isolated display - web and backend

Isolated display - web and backend

* Moved settings outside of the advanced display

* Update virtual_display.cpp with isolated setting for better maintenance

Update virtual_display.cpp with isolated setting for better maintenance. The isolated routine becomes an additional routine instead of a replacement for the original one.

* Changed source formatting, removed English in non-English languages, removed test code

Changed source formatting, removed English in non-English languages, removed test code

* change blank/unused lines in config.cpp

change blank/unused lines in config.cpp

* Change blank lines in DisplayDeviceOptions.vue

Change blank lines in DisplayDeviceOptions.vue

* Change line spacing in config.h

Change line spacing in config.h

* Changed line spacing in config.cpp

Changed line spacing in config.cpp

* Changed lines/line spacing in virtual_display.cpp

Changed lines/line spacing in virtual_display.cpp

* Fix spaceing on virtual_display.cpp

Fix spaceing on virtual_display.cpp

* Added check to not do anything if the virtual display is not active.

Added check to not do anything to the order of the displays if the isolated checkbox is set and if the virtual display is not active.

* Minor formatting fix w/ add Chinese locale

* Expose `matchDisplay` though not used for now

---------

Co-authored-by: Yukino Song <nutosservice@gmail.com>
This commit is contained in:
thesystemcoder168
2025-05-19 00:00:11 -07:00
committed by GitHub
parent b0871a9a5b
commit 12f3ba2d4b
12 changed files with 707 additions and 1 deletions

View File

@@ -287,6 +287,8 @@
"high_resolution_scrolling_desc": "When enabled, Apollo will pass through high resolution scroll events from Moonlight clients. This can be useful to disable for older applications that scroll too fast with high resolution scroll events.",
"install_steam_audio_drivers": "Install Steam Audio Drivers",
"install_steam_audio_drivers_desc": "If Steam is installed, this will automatically install the Steam Streaming Speakers driver to support 5.1/7.1 surround sound and muting host audio.",
"isolated_virtual_display_option": "Move the Virtual Display to the bottom right-most corner of the display layout",
"isolated_virtual_display_option_desc": "This makes the display isolated from all other display and contains mouse movements to the virtual screen. This reorganizes the displays such that the all other displays are to the left of the virtual display.",
"keep_sink_default": "Keep virtual sink as default",
"keep_sink_default_desc": "Whether to force selected virtual sink as default (effective when host audio output is disabled).",
"key_repeat_delay": "Key Repeat Delay",

View File

@@ -226,6 +226,8 @@
"high_resolution_scrolling_desc": "When enabled, Apollo will pass through high resolution scroll events from Moonlight clients. This can be useful to disable for older applications that scroll too fast with high resolution scroll events.",
"install_steam_audio_drivers": "Install Steam Audio Drivers",
"install_steam_audio_drivers_desc": "If Steam is installed, this will automatically install the Steam Streaming Speakers driver to support 5.1/7.1 surround sound and muting host audio.",
"isolated_virtual_display_option": "Move the Virtual Display to the bottom right-most corner of the display layout",
"isolated_virtual_display_option_desc": "This makes the display isolated from all other display and contains mouse movements to the virtual screen. This reorganizes the displays such that the all other displays are to the left of the virtual display.",
"key_repeat_delay": "Key Repeat Delay",
"key_repeat_delay_desc": "Control how fast keys will repeat themselves. The initial delay in milliseconds before repeating keys.",
"key_repeat_frequency": "Key Repeat Frequency",

View File

@@ -225,6 +225,8 @@
"high_resolution_scrolling_desc": "When enabled, Apollo will pass through high resolution scroll events from Moonlight clients. This can be useful to disable for older applications that scroll too fast with high resolution scroll events.",
"install_steam_audio_drivers": "Install Steam Audio Drivers",
"install_steam_audio_drivers_desc": "If Steam is installed, this will automatically install the Steam Streaming Speakers driver to support 5.1/7.1 surround sound and muting host audio.",
"isolated_virtual_display_option": "Move the Virtual Display to the bottom right-most corner of the display layout",
"isolated_virtual_display_option_desc": "This makes the display isolated from all other display and contains mouse movements to the virtual screen. This reorganizes the displays such that the all other displays are to the left of the virtual display.",
"key_repeat_delay": "Key Repeat Delay",
"key_repeat_delay_desc": "Control how fast keys will repeat themselves. The initial delay in milliseconds before repeating keys.",
"key_repeat_frequency": "Key Repeat Frequency",

View File

@@ -282,6 +282,8 @@
"high_resolution_scrolling_desc": "启用后Apollo 将透传来自 Moonlight 客户端的高分辨率滚动事件。对于那些使用高分辨率滚动事件时滚动速度过快的旧版应用程序来说,禁用此功能非常有用。",
"install_steam_audio_drivers": "安装 Steam 音频驱动程序",
"install_steam_audio_drivers_desc": "如果安装了 Steam则会自动安装 Steam Streaming Speakers 驱动程序,以支持 5.1/7.1 环绕声和主机音频静音。",
"isolated_virtual_display_option": "将虚拟显示器移动到显示布局的右下角",
"isolated_virtual_display_option_desc": "将使虚拟显示器与其他显示器隔离,并将鼠标限制在虚拟屏幕中。这将重新排列显示器,使所有其他显示器位于虚拟显示器的左侧。",
"keep_sink_default": "保持虚拟音频输出设备为默认设备",
"keep_sink_default_desc": "是否强制保持虚拟音频输出设备为默认设备当客户端设置禁止在PC上播放声音时有效",
"key_repeat_delay": "按键重复延迟",