swayfx/sway/input
Ryan Walklin bdb402404c Support WLR_INPUT_DEVICE_SWITCH in sway
This commit adds support for laptop lid and tablet
mode switches as provided by evdev/libinput and
handled by wlroots.

Adds a new bindswitch command with syntax:
bindswitch <switch>:<state> <command>

Where <switch> is one of:
tablet for WLR_SWITCH_TYPE_TABLET_MODE
lid for WLR_SWITCH_TYPE_LID

<state> is one of:
on for WLR_SWITCH_STATE_ON
off for WLR_SWITCH_STATE_OFF
toggle for WLR_SWITCH_STATE_TOGGLE

(Note that WLR_SWITCH_STATE_TOGGLE doesn't map to
libinput and will trigger at both on and off events)
2019-03-19 23:58:47 -04:00
..
cursor.c Introduce default seatop 2019-03-17 10:02:04 -06:00
input-manager.c Support WLR_INPUT_DEVICE_SWITCH in sway 2019-03-19 23:58:47 -04:00
keyboard.c Make raw keysyms take precedence over translated 2019-03-10 23:01:49 +01:00
seat.c Support WLR_INPUT_DEVICE_SWITCH in sway 2019-03-19 23:58:47 -04:00
seatop_default.c Clean up focus follows mouse logic 2019-03-19 14:38:06 -06:00
seatop_down.c Introduce default seatop 2019-03-17 10:02:04 -06:00
seatop_move_floating.c Introduce default seatop 2019-03-17 10:02:04 -06:00
seatop_move_tiling.c Introduce default seatop 2019-03-17 10:02:04 -06:00
seatop_resize_floating.c Introduce default seatop 2019-03-17 10:02:04 -06:00
seatop_resize_tiling.c Introduce default seatop 2019-03-17 10:02:04 -06:00
switch.c Support WLR_INPUT_DEVICE_SWITCH in sway 2019-03-19 23:58:47 -04:00