# keyboard.h File Reference

Go to the source code of this file.

## Defines
#define | KEYPRESSED 0x1
#define | KEYNEW 0x2
#define | KEYREPEAT 0x4
## Typedefs
typedef void *(* | KEY_CALLBACK )(char *, void *)
## Functions
void | keydown (ALLEGRO_KEYBOARD_EVENT *kb)
void | keyup (ALLEGRO_KEYBOARD_EVENT *kb)
void | keyrepeat (ALLEGRO_KEYBOARD_EVENT *kb)
void | keyupdate (void)
void | keyclear (void)
void * | keycheck (KEY_CALLBACK func, void *data)

## Detailed Description

Handles keyboard input

Note:
  Does not trigger keyboard events; events are handled by the keyhandler function in the handler.c routines. The keyhandler function is called by this modules keycheck function via a function pointer.

Definition in file keyboard.h.