Add option to always send scancodes
Default is enabled to match v0.19.1 behavior Fixes #1233
This commit is contained in:
parent
0f1dc1bb05
commit
2f4cc9ace0
5 changed files with 51 additions and 1 deletions
|
|
@ -441,6 +441,7 @@ namespace config {
|
|||
true, // keyboard enabled
|
||||
true, // mouse enabled
|
||||
true, // controller enabled
|
||||
true, // always send scancodes
|
||||
};
|
||||
|
||||
sunshine_t sunshine {
|
||||
|
|
@ -1039,6 +1040,8 @@ namespace config {
|
|||
bool_f(vars, "keyboard", input.keyboard);
|
||||
bool_f(vars, "controller", input.controller);
|
||||
|
||||
bool_f(vars, "always_send_scancodes", input.always_send_scancodes);
|
||||
|
||||
int port = sunshine.port;
|
||||
int_f(vars, "port"s, port);
|
||||
sunshine.port = (std::uint16_t) port;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue