diff options
| author | Hervé Poussineau | 2016-02-07 21:34:08 +0100 |
|---|---|---|
| committer | David Gibson | 2016-02-16 23:59:30 +0100 |
| commit | 216c906e62626acc82427a00e9410ff39d9669a1 (patch) | |
| tree | a0bd87fd5003ad7da054ba3ffcf380299775c930 /include/hw | |
| parent | cuda: port SET_AUTO_RATE command to new framework (diff) | |
| download | qemu-216c906e62626acc82427a00e9410ff39d9669a1.tar.gz qemu-216c906e62626acc82427a00e9410ff39d9669a1.tar.xz qemu-216c906e62626acc82427a00e9410ff39d9669a1.zip | |
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/hw')
| -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 bdfccd4041..db51d03804 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" |
