adb: introduce new ADBDeviceHasData method to ADBDeviceClass
commit969ca2f7a1a41123f08ce67d7a51075c3ee2fd6e
authorMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Tue, 23 Jun 2020 20:49:25 +0000 (23 21:49 +0100)
committerMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Fri, 26 Jun 2020 09:13:51 +0000 (26 10:13 +0100)
treebaf557b5644f040ad6d0a364d4fa43ee0231d69c
parentf3d61457e86cf43eb5322b57e3f9fcd1bb087591
adb: introduce new ADBDeviceHasData method to ADBDeviceClass

This is required later to allow devices to assert a service request (SRQ)
signal to indicate that it has data to send, without having to consume it.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Tested-by: Finn Thain <fthain@telegraphics.com.au>
Acked-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <20200623204936.24064-12-mark.cave-ayland@ilande.co.uk>
hw/input/adb-kbd.c
hw/input/adb-mouse.c
include/hw/input/adb.h