macros.h 518 B

1234567891011121314151617181920212223
  1. // Copyright 2022 David Kristoffersen (@davidkristoffersen)
  2. // SPDX-License-Identifier: GPL-3.0-or-later
  3. #pragma once
  4. #include "davidkristoffersen.h"
  5. enum keycodes {
  6. // Test keys
  7. KC_T0 = SAFE_RANGE,
  8. KC_T1,
  9. KC_T2,
  10. // Norwegian Æ, Ø, Å
  11. KC_AE,
  12. KC_OE,
  13. KC_AA
  14. };
  15. bool process_debug(uint16_t keycode, keyrecord_t* record);
  16. bool process_language(uint16_t keycode, keyrecord_t* record);
  17. // Prepend key records with macros
  18. bool process_record_user(uint16_t keycode, keyrecord_t* record);