mirror of
https://github.com/swaywm/sway.git
synced 2026-04-06 07:15:44 -04:00
cmd_bind{sym,code}: Implement per-device bindings
bindsym --input-device=<identifier> ... bindcode --input-device=<identifier> ...
This commit is contained in:
parent
30dbb8eba0
commit
2e637b7368
9 changed files with 77 additions and 36 deletions
|
|
@ -80,6 +80,6 @@ static struct cmd_results *press_or_release(struct sway_cursor *cursor,
|
|||
return cmd_results_new(CMD_INVALID, "cursor", expected_syntax);
|
||||
}
|
||||
}
|
||||
dispatch_cursor_button(cursor, 0, button, state);
|
||||
dispatch_cursor_button(cursor, NULL, 0, button, state);
|
||||
return cmd_results_new(CMD_SUCCESS, NULL, NULL);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue