ciaa-nxp/modpybkeyboard.c
// get_matrix method : return current keyboard matrix state
get_matrix method : return current keyboard matrix state
get_matrix method : return current keyboard matrix state
mp_obj_t pyb_keyboard_get_matrix(mp_obj_t self_in) {
    pyb_keyboard_obj_t *self = self_in;
    uint8_t key = pyb_keyboard_getKey(self);
    return MP_OBJ_NEW_SMALL_INT(key);
}
mp_obj_t pyb_keyboard_get_matrix ( mp_obj_t self_in ) { pyb_keyboard_obj_t * self = self_in ; uint8_t key = pyb_keyboard_getKey ( self ) ; return MP_OBJ_NEW_SMALL_INT ( key ) ; }
get_matrix method : return current keyboard matrix state
get_matrix method : return current keyboard matrix state