|
Simple Operating System
|
Get mouse position and status, to use mouse call mouseInitialize() More...


Go to the source code of this file.
Classes | |
| struct | Mouse |
| Mouse values, changed by handler when mouse is enabled. More... | |
Macros | |
| #define | HW_EQUIP_PS2 4 |
| #define | MOUSE_PKT_BYTES 3 |
| #define | MOUSE_RESOLUTION 3 |
Enumerations | |
| enum | MouseStatus { NothingPress = 8 , LeftPress = 9 , RightPress = 10 } |
Functions | |
| void | mouseHandler () |
| Handler for mouse device. More... | |
| void | mouseDisable () |
| Disable mouse. | |
| void | mouseEnable () |
| Enable mouse. | |
| int | mouseInitialize () |
| Initialize mouse, by default mouse in enabled. More... | |
Variables | |
| struct Mouse | mouse |
Get mouse position and status, to use mouse call mouseInitialize()
Inspired by https://stackoverflow.com/questions/54280828/making-a-mouse-handler-in-x86-assembly
See more: interrupts.c RBIL
Definition in file mouse.h.
| void mouseHandler | ( | ) |