aboutsummaryrefslogtreecommitdiff
path: root/include/wlr
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-04-29 12:15:54 +0100
committeremersion <contact@emersion.fr>2018-04-29 14:30:09 +0100
commit2551ef8871d78a43acbbbac765919ea4f48821f9 (patch)
treeacc9861ab6d5dde94999924fdbd58a19eba6e2a3 /include/wlr
parenta0f490306395ac3705c00ecc85b4a0bba721886e (diff)
input-device: add output_name field, populate it from libinput
Diffstat (limited to 'include/wlr')
-rw-r--r--include/wlr/types/wlr_input_device.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/wlr/types/wlr_input_device.h b/include/wlr/types/wlr_input_device.h
index d65172c1..5cf26b65 100644
--- a/include/wlr/types/wlr_input_device.h
+++ b/include/wlr/types/wlr_input_device.h
@@ -11,7 +11,7 @@ enum wlr_input_device_type {
WLR_INPUT_DEVICE_POINTER,
WLR_INPUT_DEVICE_TOUCH,
WLR_INPUT_DEVICE_TABLET_TOOL,
- WLR_INPUT_DEVICE_TABLET_PAD
+ WLR_INPUT_DEVICE_TABLET_PAD,
};
/* Note: these are circular dependencies */
@@ -27,10 +27,11 @@ struct wlr_input_device {
const struct wlr_input_device_impl *impl;
enum wlr_input_device_type type;
- int vendor, product;
+ unsigned int vendor, product;
char *name;
// Or 0 if not applicable to this device
double width_mm, height_mm;
+ char *output_name;
/* wlr_input_device.type determines which of these is valid */
union {