mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-09-09 00:07:57 -06:00
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
This commit is contained in:
parent
827df9f3c5
commit
a5d7eb6534
4 changed files with 290 additions and 28 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue