aboutsummaryrefslogtreecommitdiff
path: root/console.h
diff options
context:
space:
mode:
authorbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>2008-04-14 21:28:11 +0000
committerbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>2008-04-14 21:28:11 +0000
commita5d7eb6534a091566d63f97c8b35c0ac9623d90b (patch)
tree3144c276da54880290fd4290ad7fe06dc3c16211 /console.h
parent827df9f3c5fdea53531acf02b2db0afb9858f053 (diff)
Add TSC2301 touchscreen & keypad controller.
Add also a facility for setting up touchscreen calibration data per-board based on calibration data generated by tslib. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4214 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'console.h')
-rw-r--r--console.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/console.h b/console.h
index 1e69ffd0ba..c7f29f5073 100644
--- a/console.h
+++ b/console.h
@@ -32,6 +32,14 @@ void kbd_put_keycode(int keycode);
void kbd_mouse_event(int dx, int dy, int dz, int buttons_state);
int kbd_mouse_is_absolute(void);
+struct mouse_transform_info_s {
+ /* Touchscreen resolution */
+ int x;
+ int y;
+ /* Calibration values as used/generated by tslib */
+ int a[7];
+};
+
void do_info_mice(void);
void do_mouse_set(int index);