qmk_firmware

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

keymap.c (513B)


      1 // Copyright 2025 RyanDam (https://github.com/RyanDam)
      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_MPLY,   KC_MPRV,   KC_MUTE,   KC_MNXT,
      9     KC_PGUP,   KC_ESC,    KC_UP,     KC_ENT,
     10     KC_PGDN,   KC_LEFT,   KC_DOWN,   KC_RIGHT
     11   ),
     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) },
     18 };
     19 #endif