Man Over Board
Loading...
Searching...
No Matches
input.h File Reference

Defines the structures and functions for handling user input. More...

#include "global.h"

Data Structures

struct  Mouse
 Represents the position of the mouse. More...
 
struct  inputState
 Represents the current state of input devices. More...
 

Enumerations

enum  CTRL_CHARS {
  UNDEF = 0x80 , CTRL , LSHIFT , RSHIFT ,
  ALT , CAPS_LOCK
}
 

Functions

inputStateinitInput ()
 Initializes the input system.
 
void deinitInput ()
 Deinitializes the input system.
 

Detailed Description

Defines the structures and functions for handling user input.

Group B: Thomas Kapocsi, Sylvie Mills

Author
Thomas Kapocsi

Function Documentation

◆ initInput()

inputState * initInput ( )

Initializes the input system.

Returns
A pointer to the initialized inputState structure.