aboutsummaryrefslogtreecommitdiff
path: root/sway/commands/input/xkb_model.c
diff options
context:
space:
mode:
authorBrian Ashworth <bosrsf04@gmail.com>2019-01-21 02:13:01 -0500
committerBrian Ashworth <bosrsf04@gmail.com>2019-01-21 02:13:01 -0500
commit91c1f449565f3e15398472102293d44fa26364d9 (patch)
treea3adbc2e3e016d60372748d5cbf9c5bf2aed0f51 /sway/commands/input/xkb_model.c
parent9df3a9136c3a1c554ee97f63e57b499d353b8636 (diff)
input_cmd_events: allow toggle modes to be listed
This extends `input <identifier> events toggle` to allow for an optional list of modes to toggle through. If no event modes are listed, all supported modes are cycled through (current behavior). If event modes are listed, they will be cycled through, defaulting to the first mode listed when the current mode is not in the list. This modes listed will also not be checked to see if the device supports them and may fail.
Diffstat (limited to 'sway/commands/input/xkb_model.c')
0 files changed, 0 insertions, 0 deletions