aboutsummaryrefslogtreecommitdiff
path: root/keyboards/handwired/bdn9_ble/keymaps/default/keymap.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/handwired/bdn9_ble/keymaps/default/keymap.c')
-rw-r--r--keyboards/handwired/bdn9_ble/keymaps/default/keymap.c49
1 files changed, 49 insertions, 0 deletions
diff --git a/keyboards/handwired/bdn9_ble/keymaps/default/keymap.c b/keyboards/handwired/bdn9_ble/keymaps/default/keymap.c
new file mode 100644
index 000000000..406842146
--- /dev/null
+++ b/keyboards/handwired/bdn9_ble/keymaps/default/keymap.c
@@ -0,0 +1,49 @@
1/* Copyright 2019 Danny Nguyen <danny@keeb.io>
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16#include QMK_KEYBOARD_H
17
18
19// Enable test mode, which sets the keys to letters A-I.
20//#define TESTMODE
21
22const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
23 #ifndef TESTMODE
24 // MEH - hold down ctrl, alt, shift, and press key
25 [0] = LAYOUT(
26 MEH(KC_1), MEH(KC_2), MEH(KC_3),
27 MEH(KC_4), MEH(KC_5), MEH(KC_6),
28 MEH(KC_7), MEH(KC_8), LT(1, MEH(KC_9))
29 ),
30 #else
31 [0] = LAYOUT(
32 KC_A, KC_B, KC_C,
33 KC_D, KC_E, KC_F,
34 KC_G, KC_H, KC_I
35 ),
36 #endif
37 /*
38 * ------------------------------------------------------------------------
39 * | | Automatic BLE output detection | Reset |
40 * | Backlight Step | Use USB port for output | |
41 * | Backlight Tgl | Use Bluetooth for output | (currently pressed) |
42 * ------------------------------------------------------------------------
43 */
44 [1] = LAYOUT(
45 _______, OUT_AUTO, RESET,
46 BL_STEP, OUT_USB, _______,
47 BL_TOGG, OUT_BT, _______
48 )
49};