shengine pre-release
shengine by mrsinho
Loading...
Searching...
No Matches
ShInput Struct Reference

Structure representing input in the shengine framework. More...

#include <shWindow.h>

Data Fields

float cursor_pos_x
 
float cursor_pos_y
 
float d_cursor_pos_x
 
float d_cursor_pos_y
 
shMouseEvents mouse_events
 
shMouseEvents d_mouse_events
 
shKeyEvents key_events
 
shKeyEvents d_key_events
 

Detailed Description

Structure representing input in the shengine framework.

The ShInput structure represents input in the shengine framework, including properties such as cursor position, cursor position changes, mouse events, and key events.

Field Documentation

◆ cursor_pos_x

float ShInput::cursor_pos_x

X-coordinate of the cursor position.

◆ cursor_pos_y

float ShInput::cursor_pos_y

Y-coordinate of the cursor position.

◆ d_cursor_pos_x

float ShInput::d_cursor_pos_x

Change in the X-coordinate of the cursor position.

◆ d_cursor_pos_y

float ShInput::d_cursor_pos_y

Change in the Y-coordinate of the cursor position.

◆ d_key_events

shKeyEvents ShInput::d_key_events

Change in key events.

◆ d_mouse_events

shMouseEvents ShInput::d_mouse_events

Change in mouse events.

◆ key_events

shKeyEvents ShInput::key_events

Key events.

◆ mouse_events

shMouseEvents ShInput::mouse_events

Mouse events.


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