Originally reported as https://github.com/cub-uanic/tmk_keyboard/issues/10, all credits to @olivierpons