mirror of
https://github.com/swaywm/sway.git
synced 2025-11-16 06:59:49 -05: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
|
|
@ -43,6 +43,7 @@ enum binding_flags {
|
|||
struct sway_binding {
|
||||
enum binding_input_type type;
|
||||
int order;
|
||||
char *input;
|
||||
uint32_t flags;
|
||||
list_t *keys; // sorted in ascending order
|
||||
uint32_t modifiers;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue