qmk_firmware

QMK firmware for my keyboards (Corne, Sweep Ferris) and trackball (Ploopy Adept)
Log | Files | Refs | Submodules | LICENSE

keymap.c (560B)


      1 // Copyright 2024 customMK
      2 // SPDX-License-Identifier: GPL-2.0-or-later
      3 
      4 #include QMK_KEYBOARD_H
      5 
      6 const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
      7     [0] = LAYOUT(
      8         KC_ESC, KC_ENT,
      9         KC_Y,   KC_U,   KC_I,     KC_O,   KC_P,
     10         KC_H,   KC_J,   KC_K,     KC_L,   KC_SCLN,  
     11         KC_N,   KC_M,   KC_COMMA, KC_DOT, KC_SLASH
     12     )
     13 };
     14 
     15 #if defined(ENCODER_MAP_ENABLE)
     16 const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = {
     17     [0] =   { ENCODER_CCW_CW(KC_VOLD, KC_VOLU), ENCODER_CCW_CW(MS_WHLD, MS_WHLU) }
     18 };
     19 #endif