logo

qmk_firmware

custom branch of QMK firmware git clone https://anongit.hacktivis.me/git/qmk_firmware.git

keymap.c (478B)


  1. // Copyright 2024 Can Baytok (https://github.com/canbaytok)
  2. // SPDX-License-Identifier: GPL-2.0-or-later
  3. #include QMK_KEYBOARD_H
  4. const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
  5. [0] = LAYOUT(
  6. KC_A, KC_B, KC_C, KC_D,
  7. KC_E, KC_F, KC_G, KC_H,
  8. KC_I, KC_J, KC_K, KC_L
  9. )
  10. };
  11. #if defined(ENCODER_MAP_ENABLE)
  12. const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = {
  13. [0] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) }
  14. };
  15. #endif