diff options
author | Hervé Poussineau <hpoussin@reactos.org> | 2016-02-07 21:34:08 +0100 |
---|---|---|
committer | Timothy Pearson <tpearson@raptorengineering.com> | 2019-11-29 19:45:29 -0600 |
commit | 09c4c2746f962b859167ad46abe270d4674324cb (patch) | |
tree | a2cc0aa89fc36e1b517ee94300defefeef9f16b2 /include | |
parent | 6f9e78529b4adbf57232f5c806be70ce4724ec83 (diff) | |
download | hqemu-09c4c2746f962b859167ad46abe270d4674324cb.zip hqemu-09c4c2746f962b859167ad46abe270d4674324cb.tar.gz |
cuda: port SET_DEVICE_LIST command to new framework
Also implement the command, by taking device list mask into account
when polling ADB devices.
Signed-off-by: Hervé Poussineau <hpoussin@reactos.org>
Reviewed-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'include')
-rw-r--r-- | include/hw/input/adb.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/hw/input/adb.h b/include/hw/input/adb.h index bdfccd4..db51d03 100644 --- a/include/hw/input/adb.h +++ b/include/hw/input/adb.h @@ -79,7 +79,7 @@ struct ADBBusState { int adb_request(ADBBusState *s, uint8_t *buf_out, const uint8_t *buf, int len); -int adb_poll(ADBBusState *s, uint8_t *buf_out); +int adb_poll(ADBBusState *s, uint8_t *buf_out, uint16_t poll_mask); #define TYPE_ADB_KEYBOARD "adb-keyboard" #define TYPE_ADB_MOUSE "adb-mouse" |