kodi
Public Attributes | List of all members
MouseState Struct Reference

Holds everything we know about the current state of the mouse. More...

#include <MouseStat.h>

Collaboration diagram for MouseState:
Collaboration graph
[legend]

Public Attributes

int x
 
int y
 
int16_t dx
 
int16_t dy
 
int8_t dz
 
bool button [MOUSE_MAX_BUTTON]
 
bool active
 

Detailed Description

Holds everything we know about the current state of the mouse.

Member Data Documentation

◆ active

bool MouseState::active

True if the mouse is active

◆ button

bool MouseState::button[MOUSE_MAX_BUTTON]

Current state of the buttons

◆ dx

int16_t MouseState::dx

Change in x

◆ dy

int16_t MouseState::dy

Change in y

◆ dz

int8_t MouseState::dz

Change in z (wheel)

◆ x

int MouseState::x

X location

◆ y

int MouseState::y

Y location


The documentation for this struct was generated from the following file: