#include "kbd.h";
typedef void (*KBDSoundCallback)( void* param, int sound );
param | Parameters passed to the callback function |
sound | Constant indicating the SE type |
None.
Defines the format of the callback function called for events that involve SE sound generation such as when a button on the keyboard is touched.
The constants that indicate the SE type are as follows:
KBD_SE_SWITCH_LETER |
When switching keyboards |
KBD_SE_BACKSPACE |
When pressing the backspace key |
KBD_SE_KEYINPUT |
When pressing an ordinary key |
KBD_SE_ENTER |
When pressing the ENTER key |
KBD_SE_KEYINPUT_EX |
When pressing a function key |
KBD_SE_BACKSPACE_REL |
When releasing the backspace key |
KBD_SE_KEYINPUT_REL |
When releasing an ordinary key |
KBD_SE_ENTER_REL |
When releasing the ENTER key |
KBD_SE_KEYINPUT_EX_REL |
When releasing a function key |
KBD_SE_ERROR |
When an error occurs |
KBD_SE_MENU_TP_TAP |
When touching the screen |
CONFIDENTIAL