Home About us GitHub Contact us Docs

FoxOS

Welcome to the FoxOS website!

ps2_mouse::ps2_mouse

Signature: ps2_mouse::ps2_mouse() : dataport(0x60), commandport(0x64), interrupts::interrupt_handler(0x2C)
Attributes: undefined
Description: Constructor for the ps2 mouse driver class

ps2_mouse::activate

Signature: void ps2_mouse::activate()
Description: Activates the ps2 mouse driver

Return: void

ps2_mouse::is_presend

Signature: bool ps2_mouse::is_presend()
Description: Checks if the ps2 mouse is presend

Return: bool

ps2_mouse::get_name

Signature: char* ps2_mouse::get_name()
Description: Gets the name of the ps2 mouse driver

Return: char*

ps2_mouse::handle

Signature: void ps2_mouse::handle()
Description: interrupt handler for the ps2 mouse driver

Return: void

ps2_mouse::mouse_wait

Signature: void ps2_mouse::mouse_wait()
Description: Waits for the mouse to be ready

Return: void

ps2_mouse::mouse_wait_input

Signature: void ps2_mouse::mouse_wait_input()
Description: Waits for the mouse to be ready for input

Return: void

ps2_mouse::mouse_write

Signature: void ps2_mouse::mouse_write(unsigned char a_write)
Description: Writes to the mouse

Parameters:

Return: void

ps2_mouse::mouse_read

Signature: unsigned char ps2_mouse::mouse_read()
Description: Reads from mouse

Return: unsigned char

Show file on GitHub