aboutsummaryrefslogtreecommitdiffstats
path: root/include/sway/input/switch.h
blob: 19bb1e772f4c22db4a8302dd9a12900f4a703951 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef _SWAY_INPUT_SWITCH_H
#define _SWAY_INPUT_SWITCH_H

#include "sway/input/seat.h"

struct sway_switch {
    struct sway_seat_device *seat_device;

    struct wl_listener switch_toggle;
};

struct sway_switch *sway_switch_create(struct sway_seat *seat,
        struct sway_seat_device *device);

void sway_switch_configure(struct sway_switch *sway_switch);

void sway_switch_destroy(struct sway_switch *sway_switch);

#endif