test_combos.c 638 B

12345678910111213141516171819
  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. enum combos { modtest, osmshift, single_key };
  7. uint16_t const modtest_combo[] = {KC_Y, KC_U, COMBO_END};
  8. uint16_t const osmshift_combo[] = {KC_Z, KC_X, COMBO_END};
  9. uint16_t const single_key_combo[] = {KC_A, COMBO_END};
  10. // clang-format off
  11. combo_t key_combos[] = {
  12. [modtest] = COMBO(modtest_combo, RSFT_T(KC_SPACE)),
  13. [osmshift] = COMBO(osmshift_combo, OSM(MOD_LSFT)),
  14. [single_key] = COMBO(single_key_combo, KC_B),
  15. };
  16. // clang-format on