2 Copyright 2018 Cole Markham
4 This program is free software: you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by
6 the Free Software Foundation, either version 2 of the License, or
7 (at your option) any later version.
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 GNU General Public License for more details.
14 You should have received a copy of the GNU General Public License
15 along with this program. If not, see <http://www.gnu.org/licenses/>.
18 #include QMK_KEYBOARD_H
24 const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
28 void tap_dance (qk_tap_dance_state_t *state, void *user_data) {
29 switch (state->count) {
31 register_code(KC_MEDIA_PLAY_PAUSE);
32 unregister_code(KC_MEDIA_PLAY_PAUSE);
35 register_code(KC_MEDIA_NEXT_TRACK);
36 unregister_code(KC_MEDIA_NEXT_TRACK);
42 rgblight_step_reverse();
47 //Tap Dance Definitions
48 qk_tap_dance_action_t tap_dance_actions[] = {
49 [TD_PLAY] = ACTION_TAP_DANCE_FN(tap_dance),