# keyboard.c File Reference

`#include <allegro5/allegro5.h>`
`#include "../include/keyboard.h"`

Go to the source code of this file.

## 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.c.