Nilorea Library
C utilities for networking, threading, graphics
ALLEGRO5: allegro 5 helpers (user input,...)

Functions

int get_keyboard (ALLEGRO_USTR *str, ALLEGRO_EVENT event)
 update a keyboard buffer from an event More...
 

Detailed Description

Function Documentation

◆ get_keyboard()

int get_keyboard ( ALLEGRO_USTR *  str,
ALLEGRO_EVENT  event 
)

update a keyboard buffer from an event

Parameters
strA string to hold the inputs
eventThe event in which we'll try to read an input
Returns
TRUE or FALSE

Definition at line 19 of file n_allegro5.c.

References __n_assert.