Turnstone Operating System
Loading...
Searching...
No Matches
mouse.h File Reference

mouse driver header file More...

#include <types.h>

Classes

struct  mouse_report_t
 

Macros

#define MOUSE_BUTTON_LEFT_VIRTIO   0x110
 
#define MOUSE_BUTTON_RIGHT_VIRTIO   0x111
 
#define MOUSE_BUTTON_MIDDLE_VIRTIO   0x112
 

Typedefs

typedef enum mouse_buttons_t mouse_buttons_t
 
typedef struct mouse_report_t mouse_report_t
 

Enumerations

enum  mouse_buttons_t { MOUSE_BUTTON_LEFT = 0x01 , MOUSE_BUTTON_RIGHT = 0x02 , MOUSE_BUTTON_MIDDLE = 0x04 }
 

Functions

 _Static_assert (sizeof(mouse_report_t)==16, "mouse_report_t size is not 16 bytes")
 
int8_t mouse_report (mouse_report_t *report)
 

Detailed Description

mouse driver header file

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