debug_keyboard = true;
debug_matrix = true;
#endif
- debug_enable = true;
- debug_matrix = true;
KEY_INIT();
// NOTE: KEY_STATE keep its state in 20us after KEY_ENABLE.
// This takes 25us or more to make sure KEY_STATE returns to idle state.
- _delay_us(75);
+ _delay_us(30);
}
if (matrix[row] ^ matrix_prev[row]) {
matrix_last_modified = timer_read32();
{ UNIMAP_LEFT, UNIMAP_RCTL, UNIMAP_RALT, UNIMAP_NO , UNIMAP_DOWN, UNIMAP_PDOT, UNIMAP_RGHT, UNIMAP_P0 ,
UNIMAP_X , UNIMAP_LGUI, UNIMAP_GRV , UNIMAP_V , UNIMAP_NO , UNIMAP_ESC , UNIMAP_M , UNIMAP_SPC },
{ UNIMAP_RGUI, UNIMAP_DOT , UNIMAP_NO , UNIMAP_NO , UNIMAP_P1 , UNIMAP_PENT, UNIMAP_P2 , UNIMAP_P3 ,
- UNIMAP_Z , UNIMAP_LALT, UNIMAP_RCTL, UNIMAP_C , UNIMAP_K , UNIMAP_NO , UNIMAP_N , UNIMAP_B },
+ UNIMAP_Z , UNIMAP_LALT, UNIMAP_LCTL, UNIMAP_C , UNIMAP_K , UNIMAP_NO , UNIMAP_N , UNIMAP_B },
{ UNIMAP_QUOT, UNIMAP_SLSH, UNIMAP_COMM, UNIMAP_NO , UNIMAP_P4 , UNIMAP_PPLS, UNIMAP_P5 , UNIMAP_P6 ,
UNIMAP_D , UNIMAP_A , UNIMAP_LSFT, UNIMAP_F , UNIMAP_J , UNIMAP_F1 , UNIMAP_H , UNIMAP_G },
{ UNIMAP_RSFT, UNIMAP_SCLN, UNIMAP_L , UNIMAP_RBRC, UNIMAP_UP , UNIMAP_NO , UNIMAP_NO , UNIMAP_NO ,