# modules/keyboard/keyboard.h File Reference

## Data Structures
struct | keyboard_config_t
## Defines
#define | KEYBOARD_NUM 2
#define | KEYBOARD_AIN_NUM 4
#define | KEYBOARD_AIN_PITCHWHEEL 0
#define | KEYBOARD_AIN_MODWHEEL 1
#define | KEYBOARD_AIN_SUSTAIN 2
#define | KEYBOARD_AIN_EXPRESSION 3
#define | KEYBOARD_DONT_USE_MIDI_CFG 0
#define | KEYBOARD_DONT_USE_AIN 0
#define | KEYBOARD_USE_SINGLE_KEY_CALIBRATION 1
#define | KEYBOARD_MAX_KEYS 128
## 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]

## Define Documentation

#define KEYBOARD_AIN_EXPRESSION 3

#define KEYBOARD_AIN_MODWHEEL 1

#define KEYBOARD_AIN_NUM 4

#define KEYBOARD_AIN_PITCHWHEEL 0

#define KEYBOARD_AIN_SUSTAIN 2

#define KEYBOARD_DONT_USE_AIN 0

#define KEYBOARD_DONT_USE_MIDI_CFG 0

#define KEYBOARD_MAX_KEYS 128

#define KEYBOARD_NUM 2

#define KEYBOARD_USE_SINGLE_KEY_CALIBRATION 1