Claude Chappe' Curse - A C Game
Logo Institut d'Informatique Claude Chappe Logo Université de Le Mans Logo Raeptor Production
 
Loading...
Searching...
No Matches
Input Struct Reference

Structure to store input state. More...

#include <input.h>

Collaboration diagram for Input:

Public Attributes

bool locked
 
u16 active_keys
 
u16 pressed_keys
 
u16 released_keys
 
bool text_input
 
char inputBuffer [100]
 
Mouse mouse
 

Detailed Description

Structure to store input state.

This structure holds the states of keys and mouse, as well as text input buffer.

Member Data Documentation

◆ locked

bool Input::locked

Flag indicating if input is locked.

◆ active_keys

u16 Input::active_keys

Bitfield representing currently active keys.

◆ pressed_keys

u16 Input::pressed_keys

Bitfield representing keys that were pressed.

◆ released_keys

u16 Input::released_keys

Bitfield representing keys that were released.

◆ text_input

bool Input::text_input

Flag indicating text input.

◆ inputBuffer

char Input::inputBuffer[100]

Buffer for text input.

◆ mouse

Mouse Input::mouse

Mouse state.


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