GitOS
Loading...
Searching...
No Matches
PS2Mouse Class Reference

#include <PS2Mouse.hpp>

Data Structures

struct  mouse_packet

Public Member Functions

void handle_cycle ()
void wait (uint8_t type) const
void write (uint8_t byte) const
uint8_t read () const

Static Public Member Functions

static PS2Mouseinstance ()

Data Fields

uint32_t pipe_size = 128

Member Function Documentation

◆ handle_cycle()

void handle_cycle ( )

References inb(), kprintf(), pic_EOI(), and status.

◆ instance()

PS2Mouse * instance ( )
static

References instance().

◆ read()

uint8_t read ( ) const

References inb(), and wait().

◆ wait()

void wait ( uint8_t type) const
inline

References inb(), kprintf(), and type.

◆ write()

void write ( uint8_t byte) const
inline

References outb(), and wait().

Field Documentation

◆ pipe_size

uint32_t pipe_size = 128

The documentation for this class was generated from the following files: