usb-hid: Fix 0/0 position for Windows in tablet mode
authorJan Kiszka <jan.kiszka@siemens.com>
Sat, 30 Jul 2011 05:18:41 +0000 (07:18 +0200)
committerAndrzej Zaborowski <andrew.zaborowski@intel.com>
Sat, 30 Jul 2011 05:18:41 +0000 (07:18 +0200)
commita6fc0fcdaec749df0b7aaa22ef4e15cc8242360d
tree90ac74de37fdd6603846b93387ec58d4c64aa39c
parent4791b1e3e5ffcc1889cf3cdb4945d41dd526b71f
usb-hid: Fix 0/0 position for Windows in tablet mode

For unknown reasons, Windows drivers (tested with XP and Win7) ignore
usb-tablet events that move the pointer to 0/0. So always report 0/0 as
1/0.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Andrzej Zaborowski <andrew.zaborowski@intel.com>
hw/usb-hid.c