1
0
Fork 0
forked from forks/qmk_firmware
qmk_firmware/keyboards/takashicompany/rookey/keymaps/default/keymap.c
takashicompany 54593975bf
Add new keyboard "Rookey" (#22483)
Co-authored-by: jack <0x6a73@protonmail.com>
Co-authored-by: Drashna Jaelre <drashna@live.com>
2024-03-29 20:46:15 -07:00

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