This commit is contained in:
Anton Kesy
2026-09-13 20:32:28 +02:00
committed by GitHub
parent 2a15f372a5
commit e0f5a84d8d
25 changed files with 26 additions and 26 deletions
+1 -1
View File
@@ -80,7 +80,7 @@ std::filesystem::path active_runtime::openvr_compat_path()
return std::filesystem::path();
},
[](const std::string & path) {
// exlicit value, use it
// explicit value, use it
std::optional<std::filesystem::path> flatpak_root = flatpak_key(flatpak::section::instance, "app-path");
return flatpak_root.value_or("") / path;
},
+1 -1
View File
@@ -28,7 +28,7 @@ wivrn::fd_base open_uinput_or_throw(int flags = O_WRONLY)
int fd = ::open(p, flags | O_NONBLOCK);
if (fd >= 0)
return fd;
if (errno != ENOENT) // exists but inaccessbile
if (errno != ENOENT) // exists but inaccessible
throw std::system_error(errno, std::generic_category(), "error while opening uinput");
}
throw std::runtime_error("no uinput device found");