# keyboard.c

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

## Function Documentation

void* keycheck | ( | KEY_CALLBACK | func,
|  | void * | data |
| ) |  |  |

Definition at line 82 of file keyboard.c.

void keyclear | ( | void |  | ) |

Definition at line 74 of file keyboard.c.

void keydown | ( | ALLEGRO_KEYBOARD_EVENT * | kb | ) |

Definition at line 34 of file keyboard.c.

void keyrepeat | ( | ALLEGRO_KEYBOARD_EVENT * | kb | ) |

Definition at line 51 of file keyboard.c.

void keyup | ( | ALLEGRO_KEYBOARD_EVENT * | kb | ) |

Definition at line 43 of file keyboard.c.

void keyupdate | ( | void |  | ) |

Definition at line 59 of file keyboard.c.