keymap.c 465 B

12345678910111213141516171819202122
  1. // Copyright 2022 Makoto Kurauchi (@MakotoKurauchi)
  2. // SPDX-License-Identifier: GPL-2.0-or-later
  3. #include QMK_KEYBOARD_H
  4. #include "rgblite.h"
  5. const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
  6. [0] = LAYOUT_ortho_1x1(
  7. KC_MUTE
  8. )
  9. };
  10. bool process_record_user(uint16_t keycode, keyrecord_t *record) {
  11. if (record->event.pressed) {
  12. rgblite_increase_hue();
  13. }
  14. return true;
  15. }
  16. void keyboard_post_init_user(void) {
  17. rgblite_increase_hue();
  18. }