# modules/keyboard/keyboard.c File Reference

`#include <mios32.h>`
`#include <string.h>`
`#include "keyboard.h"`

## Defines
#define | DEBUG_MSG MIOS32_MIDI_SendDebugMessage
#define | MATRIX_NUM_ROWS 16
#define | KEYBOARD_NUM_PINS (16*MATRIX_NUM_ROWS)
#define | FANTOM_XR_VARIANT 0
## Functions
s32 | KEYBOARD_Init (u32 mode)
s32 | KEYBOARD_ConnectedNumSet (u8 num)
u8 | KEYBOARD_ConnectedNumGet (void)
void | KEYBOARD_SRIO_ServicePrepare (void)
void | KEYBOARD_SRIO_ServiceFinish (void)
void | KEYBOARD_Periodic_1mS (void)
void | KEYBOARD_AIN_NotifyChange (u32 pin, u32 pin_value)
s32 | KEYBOARD_TerminalHelp (void *_output_function)
s32 | KEYBOARD_TerminalParseLine (char *input, void *_output_function)
s32 | KEYBOARD_TerminalPrintConfig (int kb, void *_output_function)
s32 | KEYBOARD_TerminalPrintDelays (int kb, void *_output_function)
## Variables
keyboard_config_t | keyboard_config [KEYBOARD_NUM]