mirror of
https://github.com/moonlight-stream/moonlight-embedded.git
synced 2025-08-18 01:15:59 +00:00
Only initialize input when streaming
This commit is contained in:
parent
6be4ffef9f
commit
ad487cd5ee
@ -274,14 +274,13 @@ int main(int argc, char* argv[]) {
|
||||
}
|
||||
}
|
||||
|
||||
input_init(mapping);
|
||||
|
||||
client_init(address);
|
||||
|
||||
if (strcmp("list", action) == 0) {
|
||||
pair_check();
|
||||
applist(address);
|
||||
} else if (strcmp("stream", action) == 0) {
|
||||
input_init(mapping);
|
||||
pair_check();
|
||||
stream(&config, address, app, sops, localaudio);
|
||||
} else if (strcmp("pair", action) == 0)
|
||||
|
Loading…
x
Reference in New Issue
Block a user