Capture Desktop images on Windows
This commit is contained in:
parent
77fe9727c5
commit
d79f0dc73b
6 changed files with 377 additions and 139 deletions
|
|
@ -426,10 +426,10 @@ input_t input() {
|
|||
|
||||
std::filesystem::path mouse_path { "sunshine_mouse" };
|
||||
std::filesystem::path gamepad_path { "sunshine_gamepad" };
|
||||
if(std::filesystem::exists(mouse_path)) {
|
||||
if(std::filesystem::is_symlink(mouse_path)) {
|
||||
std::filesystem::remove(mouse_path);
|
||||
}
|
||||
if(std::filesystem::exists(gamepad_path)) {
|
||||
if(std::filesystem::is_symlink(gamepad_path)) {
|
||||
std::filesystem::remove(gamepad_path);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue