summaryrefslogtreecommitdiffstats
path: root/keyboards/bm16s/keymaps/default
diff options
context:
space:
mode:
authorBenjamin <ben@bontakun.net>2019-04-30 19:29:51 -0700
committerDrashna Jaelre <drashna@live.com>2019-04-30 19:29:51 -0700
commit8725197ad679647d2eb7876aee3f9df32edb5766 (patch)
tree731c6841618d208c49bb8a87996dcc22af62bd39 /keyboards/bm16s/keymaps/default
parentd67b99ff3c2cfca63add546ad6d052e2487aa26a (diff)
[Keyboard] Adds support for BM16S keyboard (#5659)
* Added support for BM16S keyboard. * Update keyboards/bm16s/bm16s.h Co-Authored-By: bontakun <ben@bontakun.net> * Update keyboards/bm16s/bm16s.h Co-Authored-By: bontakun <ben@bontakun.net> * Cleaned up a bunch of unneeded stuff. * Made layout name match. * Changed rules file to have correct bootloader and indention. Updated readme to reflect availability on krepublic. Updated keymap to have more obvious RGB controls. * Removed unnecessary file. * Fixed grammar in readme. Co-Authored-By: bontakun <ben@bontakun.net> * Migrated to autogenerated layout config, without issue. * Renamed LAYOUT to match community standards.
Diffstat (limited to 'keyboards/bm16s/keymaps/default')
-rwxr-xr-xkeyboards/bm16s/keymaps/default/keymap.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/keyboards/bm16s/keymaps/default/keymap.c b/keyboards/bm16s/keymaps/default/keymap.c
new file mode 100755
index 0000000000..9dd697a0d9
--- /dev/null
+++ b/keyboards/bm16s/keymaps/default/keymap.c
@@ -0,0 +1,16 @@
+#include QMK_KEYBOARD_H
+
+const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
+ [0] = LAYOUT_ortho_4x4(
+ KC_KP_7, KC_KP_8, KC_KP_9, MO(1), \
+ KC_KP_4, KC_KP_5, KC_KP_6, KC_PMNS, \
+ KC_KP_1, KC_KP_2, KC_KP_3, KC_PPLS, \
+ KC_KP_0, KC_PDOT, KC_PCMM, KC_PENT \
+ ),
+ [1] = LAYOUT_ortho_4x4(
+ RESET, BL_STEP, _______, KC_VOLU, \
+ BL_TOGG, BL_DEC, BL_INC, KC_VOLD, \
+ RGB_TOG, RGB_MOD, RGB_HUI, KC_MUTE, \
+ RGB_SAI, RGB_SAD, RGB_HUD, _______ \
+ ),
+}; \ No newline at end of file