aboutsummaryrefslogtreecommitdiff
path: root/include/hw/input/tsc2xxx.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/hw/input/tsc2xxx.h')
-rw-r--r--include/hw/input/tsc2xxx.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/include/hw/input/tsc2xxx.h b/include/hw/input/tsc2xxx.h
index 3cd8f1b..5b76ebc 100644
--- a/include/hw/input/tsc2xxx.h
+++ b/include/hw/input/tsc2xxx.h
@@ -11,7 +11,13 @@
#ifndef HW_INPUT_TSC2XXX_H
#define HW_INPUT_TSC2XXX_H
-#include "ui/console.h"
+typedef struct MouseTransformInfo {
+ /* Touchscreen resolution */
+ int x;
+ int y;
+ /* Calibration values as used/generated by tslib */
+ int a[7];
+} MouseTransformInfo;
typedef struct uWireSlave {
uint16_t (*receive)(void *opaque);