![]() |
Max OS 0.3
|
Event that is triggered when the mouse moves, holds the x and y coordinates. More...
#include <mouse.h>
Public Member Functions | |
| MouseMoveEvent (int8_t x, int8_t y) | |
| Constructor for the MouseMoveEvent class. | |
Public Member Functions inherited from MaxOS::common::Event< MouseEvents > | |
| Event (MouseEvents type) | |
| Constructs a new Event object. | |
Public Attributes | ||
| int8_t | x | |
| The x coordinate of the mouse. | ||
| int8_t | y | |
| The y coordinate of the mouse. | ||
Public Attributes inherited from MaxOS::common::Event< MouseEvents > | ||
| MouseEvents | type | |
| uint8_t * | buffer_value | |
| uint32_t | int_value | |
| bool | bool_value | |
| union { | ||
| uint8_t * buffer_value | ||
| uint32_t int_value | ||
| bool bool_value | ||
| } | return_value | |
Event that is triggered when the mouse moves, holds the x and y coordinates.
Constructor for the MouseMoveEvent class.
| x | The amount the mouse moved in the x direction |
| y | The amount the mouse moved in the y direction |
Definition at line 190 of file mouse.cpp.
| int8_t MaxOS::drivers::peripherals::MouseMoveEvent::x |
| int8_t MaxOS::drivers::peripherals::MouseMoveEvent::y |