qmk_firmware

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

test_combos.c (638B)


      1 // Copyright 2023 Stefan Kerkmann (@KarlK90)
      2 // Copyright 2023 @filterpaper
      3 // Copyright 2023 Nick Brassel (@tzarc)
      4 // SPDX-License-Identifier: GPL-2.0-or-later
      5 #include "quantum.h"
      6 
      7 enum combos { modtest, osmshift, single_key };
      8 
      9 uint16_t const modtest_combo[]    = {KC_Y, KC_U, COMBO_END};
     10 uint16_t const osmshift_combo[]   = {KC_Z, KC_X, COMBO_END};
     11 uint16_t const single_key_combo[] = {KC_A, COMBO_END};
     12 
     13 // clang-format off
     14 combo_t key_combos[] = {
     15     [modtest]  = COMBO(modtest_combo, RSFT_T(KC_SPACE)),
     16     [osmshift] = COMBO(osmshift_combo, OSM(MOD_LSFT)),
     17     [single_key] = COMBO(single_key_combo, KC_B),
     18 };
     19 // clang-format on