Turnstone Operating System
Loading...
Searching...
No Matches
usb_mouse.64.c File Reference

USB mouse driver. More...

#include <driver/usb.h>
#include <memory.h>
#include <logging.h>
#include <utils.h>
#include <graphics/screen.h>
#include <device/mouse.h>

Classes

struct  usb_mouse_report_t
 
struct  usb_qemu_tablet_report_t
 
struct  usb_driver_t
 

Typedefs

typedef struct usb_mouse_report_t usb_mouse_report_t
 
typedef struct usb_qemu_tablet_report_t usb_qemu_tablet_report_t
 
typedef struct usb_driver_t usb_driver_t
 

Functions

 MODULE ("turnstone.kernel.hw.usb.kbd")
 
static int8_t usb_mouse_transfer_cb (usb_controller_t *usb_controller, usb_transfer_t *usb_transfer)
 
static int8_t usb_qemu_tablet_transfer_cb (usb_controller_t *usb_controller, usb_transfer_t *usb_transfer)
 
int8_t usb_mouse_init (usb_device_t *usb_device)
 
int8_t usb_qemu_tablet_init (usb_device_t *usb_device)
 

Detailed Description

USB mouse driver.

This work is licensed under TURNSTONE OS Public License. Please read and understand latest version of Licence.