/* Register a function to be executed on a tap event. The tap direction is represented by one of the following:  */
int dmp_register_tap_cb(void(*func)(unsigned char, unsigned char))
/* Register a function to be executed on a tap event. The tap direction is represented by one of the following:  */
int dmp_register_tap_cb(void(*func)(unsigned char, unsigned char))
{
    dmp.tap_cb = func;
    return 0;
}