aboutsummaryrefslogtreecommitdiff
path: root/include/seat.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/seat.h')
-rw-r--r--include/seat.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/include/seat.h b/include/seat.h
index e52a961..e0d3533 100644
--- a/include/seat.h
+++ b/include/seat.h
@@ -8,13 +8,19 @@
struct client;
+enum seat_device_type {
+ SEAT_DEVICE_TYPE_NORMAL,
+ SEAT_DEVICE_TYPE_EVDEV,
+ SEAT_DEVICE_TYPE_DRM,
+};
+
struct seat_device {
int device_id;
int fd;
int ref_cnt;
bool active;
char *path;
- dev_t dev;
+ enum seat_device_type type;
};
struct seat {