shithub: qk1

ref: d86e96cdb918c1c516092b7cc6be8a0a8eacd53c
dir: /input.h/

View raw version
// input.h -- external (non-keyboard) input devices

void IN_Init (void);

void IN_Shutdown (void);

void IN_Commands (void);
// oportunity for devices to stick commands on the script buffer

void IN_Move (usercmd_t *cmd);
// add additional movement on top of the keyboard move cmd

void IN_ClearStates (void);
// restores all button and position states to defaults

void IN_Grabm (bool on);
// grab or ungrab mouse