virtio_input: add new virtio input driver

Change-Id: I10af2b30c79d1e8ff890d45642988f362d3d0a1e
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4012
Reviewed-by: Alex von Gluck IV <[email protected]>
This commit is contained in:
X512
2021-08-20 12:43:16 +00:00
committed by Alex von Gluck IV
parent b8862188f4
commit 03fd479633
4 changed files with 612 additions and 0 deletions
@@ -0,0 +1,19 @@
/*
* Copyright 2021, Haiku. All rights reserved.
* Distributed under the terms of the MIT License.
*/
#ifndef _VIRTIO_INPUT_DRIVER_H_
#define _VIRTIO_INPUT_DRIVER_H_
#include <SupportDefs.h>
#include <Drivers.h>
enum {
virtioInputRead = B_DEVICE_OP_CODES_END + 1,
virtioInputCancelIO = B_DEVICE_OP_CODES_END + 2,
};
#endif // _VIRTIO_INPUT_DRIVER_H_