qmk_firmware/keyboards/takashicompany/rookey/keymaps/default/keymap.c

25 lines
604 B
C

// Copyright 2023 QMK
// SPDX-License-Identifier: GPL-2.0-or-later
#include QMK_KEYBOARD_H
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[0] = LAYOUT(
LT(1, KC_Q), KC_W, KC_E, KC_R,
KC_A, KC_S, KC_D, KC_F,
KC_V
),
[1] = LAYOUT(
_______, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS
)
};
#if defined(ENCODER_MAP_ENABLE)
const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = {
[0] = { ENCODER_CCW_CW(KC_1, KC_2) },
[1] = { ENCODER_CCW_CW(KC_LEFT, KC_RIGHT) }
};
#endif