~ruther/qmk_firmware

ref: f4ed65169fc711d7621cdda94d49c9a72edab4cb qmk_firmware/keyboards/1k/keymaps/tap_dance/keymap.c -rw-r--r-- 387 bytes
f4ed6516 — QMK Bot Merge remote-tracking branch 'origin/master' into develop 1 year, 7 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// Copyright 2022 Makoto Kurauchi (@MakotoKurauchi)
// SPDX-License-Identifier: GPL-2.0-or-later

#include QMK_KEYBOARD_H

enum layers {
  _BASE = 0,
};

enum {
  TD_AB = 0
};

tap_dance_action_t tap_dance_actions[] = {
  [TD_AB]  = ACTION_TAP_DANCE_DOUBLE(KC_A, KC_B)
};

const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
  [_BASE] = LAYOUT_ortho_1x1(
    TD(TD_AB)
  )
};
Do not follow this link