mirror of
https://github.com/LizardByte/Sunshine.git
synced 2026-12-02 10:05:50 +00:00
feat(macos): add gamepad support using libvirtualhid (#5807)
This commit is contained in:
1 parent
c69d370c35
commit
8fc40974c9
34 files changed
+993
-296
No files matched your search
+3
-1
@@ -501,9 +501,11 @@ int main(int argc, char *argv[]) {
|
||||
|
||||
if (tray_is_enabled && config::sunshine.system_tray) {
|
||||
BOOST_LOG(info) << "Starting system tray"sv;
|
||||
#ifdef _WIN32
|
||||
#if defined(_WIN32) || defined(__APPLE__)
|
||||
system_tray::prepare_tray_virtualhid_license();
|
||||
system_tray::prepare_tray_virtualhid_driver();
|
||||
#endif
|
||||
#ifdef _WIN32
|
||||
// TODO: Windows has a weird bug where when running as a service and on the first Windows boot,
|
||||
// the tray icon would not appear even though Sunshine is running correctly otherwise.
|
||||
// Restarting the service would allow the icon to appear normally.
|
||||
|
||||
Reference in new issue
Block a user