From 12b0a79f9e5bc483b5c16f702ae5b8836425827e Mon Sep 17 00:00:00 2001 From: Henrik Rydberg Date: Wed, 5 Nov 2008 00:02:22 +0100 Subject: Break out capabilities Signed-off-by: Henrik Rydberg --- src/capabilities.h | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 src/capabilities.h (limited to 'src/capabilities.h') diff --git a/src/capabilities.h b/src/capabilities.h new file mode 100644 index 0000000..f09a34e --- /dev/null +++ b/src/capabilities.h @@ -0,0 +1,27 @@ +#ifndef CAPABILITIES_H +#define CAPABILITIES_H + +#include "common.h" +#include + +//////////////////////////////////////////////////////// + +struct Capabilities { + bool has_left, has_middle; + bool has_right, has_mtdata; + bool has_touch_major, has_touch_minor; + bool has_width_major, has_width_minor; + bool has_orientation, has_dummy; + bool has_position_x, has_position_y; + struct input_absinfo abs_touch_major; + struct input_absinfo abs_touch_minor; + struct input_absinfo abs_width_major; + struct input_absinfo abs_width_minor; + struct input_absinfo abs_orientation; + struct input_absinfo abs_position_x; + struct input_absinfo abs_position_y; +}; + +//////////////////////////////////////////////////////// + +#endif -- cgit v1.2.3