From 78ccd9c201199444bc06161b05ee8d7ba9c31613 Mon Sep 17 00:00:00 2001
From: peepeetee <43021794+peepeetee@users.noreply.github.com>
Date: Sat, 21 Aug 2021 22:53:49 -0500
Subject: Organize KPrepublic, K.T.E.C, xiudi boards into directories (#12159)
* reset; redoing my steps; and recommit
* include xd002/.noci
---
keyboards/kprepublic/bm16a/bm16a.c | 43 +++
keyboards/kprepublic/bm16a/bm16a.h | 39 +++
keyboards/kprepublic/bm16a/config.h | 194 +++++++++++
keyboards/kprepublic/bm16a/info.json | 30 ++
.../kprepublic/bm16a/keymaps/default/config.h | 19 ++
.../kprepublic/bm16a/keymaps/default/keymap.c | 73 ++++
.../kprepublic/bm16a/keymaps/default/readme.md | 1 +
.../kprepublic/bm16a/keymaps/factory/keymap.c | 37 +++
.../kprepublic/bm16a/keymaps/factory/readme.md | 4 +
keyboards/kprepublic/bm16a/keymaps/via/keymap.c | 51 +++
keyboards/kprepublic/bm16a/keymaps/via/readme.md | 1 +
keyboards/kprepublic/bm16a/keymaps/via/rules.mk | 2 +
keyboards/kprepublic/bm16a/readme.md | 15 +
keyboards/kprepublic/bm16a/rules.mk | 32 ++
keyboards/kprepublic/bm16s/bm16s.h | 15 +
keyboards/kprepublic/bm16s/config.h | 45 +++
keyboards/kprepublic/bm16s/info.json | 30 ++
.../kprepublic/bm16s/keymaps/default/keymap.c | 16 +
keyboards/kprepublic/bm16s/keymaps/media/keymap.c | 20 ++
keyboards/kprepublic/bm16s/keymaps/via/keymap.c | 43 +++
keyboards/kprepublic/bm16s/keymaps/via/readme.md | 1 +
keyboards/kprepublic/bm16s/keymaps/via/rules.mk | 2 +
keyboards/kprepublic/bm16s/readme.md | 13 +
keyboards/kprepublic/bm16s/rules.mk | 28 ++
keyboards/kprepublic/bm40hsrgb/bm40hsrgb.c | 53 +++
keyboards/kprepublic/bm40hsrgb/bm40hsrgb.h | 30 ++
keyboards/kprepublic/bm40hsrgb/config.h | 57 ++++
keyboards/kprepublic/bm40hsrgb/info.json | 60 ++++
.../kprepublic/bm40hsrgb/keymaps/default/keymap.c | 108 ++++++
.../kprepublic/bm40hsrgb/keymaps/default/readme.md | 1 +
.../kprepublic/bm40hsrgb/keymaps/signynt/config.h | 80 +++++
.../kprepublic/bm40hsrgb/keymaps/signynt/keymap.c | 241 ++++++++++++++
.../kprepublic/bm40hsrgb/keymaps/signynt/readme.md | 117 +++++++
.../kprepublic/bm40hsrgb/keymaps/signynt/rules.mk | 7 +
.../bm40hsrgb/keymaps/signynt_2_loud/config.h | 80 +++++
.../bm40hsrgb/keymaps/signynt_2_loud/keymap.c | 214 ++++++++++++
.../bm40hsrgb/keymaps/signynt_2_loud/readme.md | 117 +++++++
.../bm40hsrgb/keymaps/signynt_2_loud/rules.mk | 7 +
.../bm40hsrgb/keymaps/signynt_2_quiet/config.h | 80 +++++
.../bm40hsrgb/keymaps/signynt_2_quiet/keymap.c | 178 ++++++++++
.../bm40hsrgb/keymaps/signynt_2_quiet/readme.md | 117 +++++++
.../bm40hsrgb/keymaps/signynt_2_quiet/rules.mk | 7 +
.../kprepublic/bm40hsrgb/keymaps/via/keymap.c | 108 ++++++
.../kprepublic/bm40hsrgb/keymaps/via/readme.md | 1 +
.../kprepublic/bm40hsrgb/keymaps/via/rules.mk | 2 +
keyboards/kprepublic/bm40hsrgb/readme.md | 21 ++
keyboards/kprepublic/bm40hsrgb/rules.mk | 26 ++
keyboards/kprepublic/bm43a/bm43a.c | 51 +++
keyboards/kprepublic/bm43a/bm43a.h | 30 ++
keyboards/kprepublic/bm43a/config.h | 75 +++++
keyboards/kprepublic/bm43a/info.json | 58 ++++
.../kprepublic/bm43a/keymaps/default/config.h | 19 ++
.../kprepublic/bm43a/keymaps/default/keymap.c | 33 ++
.../kprepublic/bm43a/keymaps/default/readme.md | 1 +
.../kprepublic/bm43a/keymaps/stevexyz/keymap.c | 40 +++
.../kprepublic/bm43a/keymaps/stevexyz/readme.md | 25 ++
.../kprepublic/bm43a/keymaps/stevexyz/rules.mk | 8 +
keyboards/kprepublic/bm43a/readme.md | 16 +
keyboards/kprepublic/bm43a/rules.mk | 30 ++
keyboards/kprepublic/bm60poker/bm60poker.c | 52 +++
keyboards/kprepublic/bm60poker/bm60poker.h | 32 ++
keyboards/kprepublic/bm60poker/config.h | 73 ++++
keyboards/kprepublic/bm60poker/info.json | 74 +++++
.../kprepublic/bm60poker/keymaps/default/keymap.c | 34 ++
.../bm60poker/keymaps/ipetepete/keymap.c | 144 ++++++++
.../bm60poker/keymaps/ipetepete/readme.md | 1 +
.../bm60poker/keymaps/ipetepete/rules.mk | 1 +
.../kprepublic/bm60poker/keymaps/via/keymap.c | 47 +++
.../kprepublic/bm60poker/keymaps/via/rules.mk | 2 +
keyboards/kprepublic/bm60poker/readme.md | 15 +
keyboards/kprepublic/bm60poker/rules.mk | 25 ++
keyboards/kprepublic/bm60rgb/bm60rgb.c | 77 +++++
keyboards/kprepublic/bm60rgb/bm60rgb.h | 36 ++
keyboards/kprepublic/bm60rgb/config.h | 62 ++++
keyboards/kprepublic/bm60rgb/info.json | 81 +++++
.../kprepublic/bm60rgb/keymaps/default/keymap.c | 34 ++
.../kprepublic/bm60rgb/keymaps/default/readme.md | 1 +
.../bm60rgb/keymaps/jbradforddillon/keymap.c | 41 +++
.../bm60rgb/keymaps/jbradforddillon/readme.md | 5 +
keyboards/kprepublic/bm60rgb/keymaps/via/keymap.c | 47 +++
keyboards/kprepublic/bm60rgb/keymaps/via/readme.md | 1 +
keyboards/kprepublic/bm60rgb/keymaps/via/rules.mk | 1 +
keyboards/kprepublic/bm60rgb/readme.md | 13 +
keyboards/kprepublic/bm60rgb/rules.mk | 38 +++
keyboards/kprepublic/bm60rgb_iso/bm60rgb_iso.c | 52 +++
keyboards/kprepublic/bm60rgb_iso/bm60rgb_iso.h | 34 ++
keyboards/kprepublic/bm60rgb_iso/config.h | 75 +++++
keyboards/kprepublic/bm60rgb_iso/info.json | 77 +++++
.../bm60rgb_iso/keymaps/default/keymap.c | 33 ++
.../bm60rgb_iso/keymaps/default/readme.md | 1 +
.../keymaps/iso_nordic_sleepmode/config.h | 34 ++
.../keymaps/iso_nordic_sleepmode/keymap.c | 116 +++++++
.../keymaps/iso_nordic_sleepmode/readme.md | 17 +
keyboards/kprepublic/bm60rgb_iso/readme.md | 19 ++
keyboards/kprepublic/bm60rgb_iso/rules.mk | 25 ++
keyboards/kprepublic/bm65iso/bm65iso.c | 59 ++++
keyboards/kprepublic/bm65iso/bm65iso.h | 34 ++
keyboards/kprepublic/bm65iso/config.h | 72 ++++
keyboards/kprepublic/bm65iso/info.json | 85 +++++
.../kprepublic/bm65iso/keymaps/deadolus/config.h | 27 ++
.../kprepublic/bm65iso/keymaps/deadolus/keymap.c | 283 ++++++++++++++++
.../kprepublic/bm65iso/keymaps/deadolus/keymap.h | 63 ++++
.../kprepublic/bm65iso/keymaps/deadolus/readme.md | 20 ++
.../kprepublic/bm65iso/keymaps/deadolus/rules.mk | 4 +
.../kprepublic/bm65iso/keymaps/default/keymap.c | 36 ++
keyboards/kprepublic/bm65iso/keymaps/via/keymap.c | 52 +++
keyboards/kprepublic/bm65iso/keymaps/via/readme.md | 1 +
keyboards/kprepublic/bm65iso/keymaps/via/rules.mk | 1 +
keyboards/kprepublic/bm65iso/readme.md | 24 ++
keyboards/kprepublic/bm65iso/rules.mk | 27 ++
keyboards/kprepublic/bm68rgb/bm68rgb.c | 44 +++
keyboards/kprepublic/bm68rgb/bm68rgb.h | 41 +++
keyboards/kprepublic/bm68rgb/config.h | 126 +++++++
keyboards/kprepublic/bm68rgb/info.json | 81 +++++
.../kprepublic/bm68rgb/keymaps/default/keymap.c | 52 +++
.../kprepublic/bm68rgb/keymaps/default/readme.md | 1 +
.../kprepublic/bm68rgb/keymaps/peepeetee/config.h | 132 ++++++++
.../kprepublic/bm68rgb/keymaps/peepeetee/keymap.c | 303 +++++++++++++++++
.../kprepublic/bm68rgb/keymaps/peepeetee/keymap.h | 63 ++++
.../kprepublic/bm68rgb/keymaps/peepeetee/readme.md | 1 +
keyboards/kprepublic/bm68rgb/keymaps/via/keymap.c | 55 +++
keyboards/kprepublic/bm68rgb/keymaps/via/readme.md | 1 +
keyboards/kprepublic/bm68rgb/keymaps/via/rules.mk | 1 +
keyboards/kprepublic/bm68rgb/readme.md | 24 ++
keyboards/kprepublic/bm68rgb/rules.mk | 27 ++
keyboards/kprepublic/cospad/config.h | 203 ++++++++++++
keyboards/kprepublic/cospad/cospad.c | 16 +
keyboards/kprepublic/cospad/cospad.h | 226 +++++++++++++
keyboards/kprepublic/cospad/info.json | 198 +++++++++++
.../kprepublic/cospad/keymaps/default/keymap.c | 57 ++++
.../kprepublic/cospad/keymaps/detrus/keymap.c | 367 +++++++++++++++++++++
.../cospad/keymaps/split_plus_and_zero/keymap.c | 81 +++++
.../kprepublic/cospad/keymaps/split_zero/keymap.c | 81 +++++
keyboards/kprepublic/cospad/keymaps/via/keymap.c | 85 +++++
keyboards/kprepublic/cospad/keymaps/via/rules.mk | 1 +
keyboards/kprepublic/cospad/readme.md | 18 +
keyboards/kprepublic/cospad/rules.mk | 31 ++
keyboards/kprepublic/jj40/config.h | 54 +++
keyboards/kprepublic/jj40/info.json | 23 ++
keyboards/kprepublic/jj40/jj40.c | 19 ++
keyboards/kprepublic/jj40/jj40.h | 66 ++++
.../kprepublic/jj40/keymaps/ajp10304/readme.md | 119 +++++++
keyboards/kprepublic/jj40/keymaps/cockpit/keymap.c | 144 ++++++++
.../kprepublic/jj40/keymaps/cockpit/readme.md | 55 +++
keyboards/kprepublic/jj40/keymaps/default/keymap.c | 104 ++++++
keyboards/kprepublic/jj40/keymaps/fun40/config.h | 8 +
keyboards/kprepublic/jj40/keymaps/fun40/keymap.c | 98 ++++++
keyboards/kprepublic/jj40/keymaps/fun40/readme.md | 4 +
keyboards/kprepublic/jj40/keymaps/fun40/rules.mk | 21 ++
keyboards/kprepublic/jj40/keymaps/krusli/config.h | 8 +
keyboards/kprepublic/jj40/keymaps/krusli/keymap.c | 90 +++++
.../kprepublic/jj40/keymaps/krusli/numpad.txt | 17 +
keyboards/kprepublic/jj40/keymaps/krusli/readme.md | 4 +
keyboards/kprepublic/jj40/keymaps/krusli/rules.mk | 1 +
.../kprepublic/jj40/keymaps/oscillope/config.h | 8 +
.../kprepublic/jj40/keymaps/oscillope/keymap.c | 124 +++++++
.../kprepublic/jj40/keymaps/oscillope/rules.mk | 11 +
.../kprepublic/jj40/keymaps/skewwhiffy/keymap.c | 219 ++++++++++++
.../kprepublic/jj40/keymaps/stevexyz/config.h | 47 +++
.../kprepublic/jj40/keymaps/stevexyz/keymap.c | 303 +++++++++++++++++
.../kprepublic/jj40/keymaps/stevexyz/readme.md | 21 ++
.../kprepublic/jj40/keymaps/stevexyz/rules.mk | 19 ++
keyboards/kprepublic/jj40/keymaps/suzuken/config.h | 8 +
keyboards/kprepublic/jj40/keymaps/suzuken/keymap.c | 99 ++++++
keyboards/kprepublic/jj40/keymaps/via/keymap.c | 93 ++++++
keyboards/kprepublic/jj40/keymaps/via/rules.mk | 4 +
keyboards/kprepublic/jj40/keymaps/waples/config.h | 8 +
keyboards/kprepublic/jj40/keymaps/waples/keymap.c | 115 +++++++
keyboards/kprepublic/jj40/keymaps/waples/readme.md | 49 +++
keyboards/kprepublic/jj40/keymaps/waples/rules.mk | 10 +
keyboards/kprepublic/jj40/readme.md | 21 ++
keyboards/kprepublic/jj40/rules.mk | 36 ++
keyboards/kprepublic/jj4x4/config.h | 57 ++++
keyboards/kprepublic/jj4x4/info.json | 30 ++
keyboards/kprepublic/jj4x4/jj4x4.c | 19 ++
keyboards/kprepublic/jj4x4/jj4x4.h | 40 +++
.../kprepublic/jj4x4/keymaps/default/keymap.c | 68 ++++
keyboards/kprepublic/jj4x4/keymaps/via/keymap.c | 44 +++
keyboards/kprepublic/jj4x4/keymaps/via/rules.mk | 1 +
keyboards/kprepublic/jj4x4/readme.md | 39 +++
keyboards/kprepublic/jj4x4/rules.mk | 33 ++
keyboards/kprepublic/jj50/config.h | 47 +++
keyboards/kprepublic/jj50/info.json | 13 +
keyboards/kprepublic/jj50/jj50.c | 18 +
keyboards/kprepublic/jj50/jj50.h | 38 +++
.../kprepublic/jj50/keymaps/abstractkb/config.h | 3 +
.../kprepublic/jj50/keymaps/abstractkb/keymap.c | 135 ++++++++
.../kprepublic/jj50/keymaps/abstractkb/readme.md | 6 +
.../jj50/keymaps/abstractkb_gergomatch/config.h | 3 +
.../jj50/keymaps/abstractkb_gergomatch/keymap.c | 135 ++++++++
.../jj50/keymaps/abstractkb_gergomatch/readme.md | 4 +
.../kprepublic/jj50/keymaps/archetype/README.md | 22 ++
.../kprepublic/jj50/keymaps/archetype/config.h | 9 +
.../kprepublic/jj50/keymaps/archetype/keymap.c | 277 ++++++++++++++++
.../kprepublic/jj50/keymaps/archetype/rules.mk | 4 +
.../kprepublic/jj50/keymaps/default/README.md | 133 ++++++++
keyboards/kprepublic/jj50/keymaps/default/keymap.c | 241 ++++++++++++++
.../kprepublic/jj50/keymaps/yoonbae81/config.h | 6 +
.../kprepublic/jj50/keymaps/yoonbae81/keymap.c | 42 +++
.../kprepublic/jj50/keymaps/yoonbae81/rules.mk | 3 +
keyboards/kprepublic/jj50/readme.md | 21 ++
keyboards/kprepublic/jj50/rules.mk | 27 ++
202 files changed, 10924 insertions(+)
create mode 100644 keyboards/kprepublic/bm16a/bm16a.c
create mode 100644 keyboards/kprepublic/bm16a/bm16a.h
create mode 100644 keyboards/kprepublic/bm16a/config.h
create mode 100644 keyboards/kprepublic/bm16a/info.json
create mode 100644 keyboards/kprepublic/bm16a/keymaps/default/config.h
create mode 100644 keyboards/kprepublic/bm16a/keymaps/default/keymap.c
create mode 100644 keyboards/kprepublic/bm16a/keymaps/default/readme.md
create mode 100644 keyboards/kprepublic/bm16a/keymaps/factory/keymap.c
create mode 100644 keyboards/kprepublic/bm16a/keymaps/factory/readme.md
create mode 100644 keyboards/kprepublic/bm16a/keymaps/via/keymap.c
create mode 100644 keyboards/kprepublic/bm16a/keymaps/via/readme.md
create mode 100644 keyboards/kprepublic/bm16a/keymaps/via/rules.mk
create mode 100644 keyboards/kprepublic/bm16a/readme.md
create mode 100644 keyboards/kprepublic/bm16a/rules.mk
create mode 100755 keyboards/kprepublic/bm16s/bm16s.h
create mode 100755 keyboards/kprepublic/bm16s/config.h
create mode 100644 keyboards/kprepublic/bm16s/info.json
create mode 100755 keyboards/kprepublic/bm16s/keymaps/default/keymap.c
create mode 100755 keyboards/kprepublic/bm16s/keymaps/media/keymap.c
create mode 100644 keyboards/kprepublic/bm16s/keymaps/via/keymap.c
create mode 100644 keyboards/kprepublic/bm16s/keymaps/via/readme.md
create mode 100644 keyboards/kprepublic/bm16s/keymaps/via/rules.mk
create mode 100644 keyboards/kprepublic/bm16s/readme.md
create mode 100755 keyboards/kprepublic/bm16s/rules.mk
create mode 100755 keyboards/kprepublic/bm40hsrgb/bm40hsrgb.c
create mode 100755 keyboards/kprepublic/bm40hsrgb/bm40hsrgb.h
create mode 100755 keyboards/kprepublic/bm40hsrgb/config.h
create mode 100644 keyboards/kprepublic/bm40hsrgb/info.json
create mode 100755 keyboards/kprepublic/bm40hsrgb/keymaps/default/keymap.c
create mode 100644 keyboards/kprepublic/bm40hsrgb/keymaps/default/readme.md
create mode 100644 keyboards/kprepublic/bm40hsrgb/keymaps/signynt/config.h
create mode 100644 keyboards/kprepublic/bm40hsrgb/keymaps/signynt/keymap.c
create mode 100644 keyboards/kprepublic/bm40hsrgb/keymaps/signynt/readme.md
create mode 100644 keyboards/kprepublic/bm40hsrgb/keymaps/signynt/rules.mk
create mode 100644 keyboards/kprepublic/bm40hsrgb/keymaps/signynt_2_loud/config.h
create mode 100644 keyboards/kprepublic/bm40hsrgb/keymaps/signynt_2_loud/keymap.c
create mode 100644 keyboards/kprepublic/bm40hsrgb/keymaps/signynt_2_loud/readme.md
create mode 100644 keyboards/kprepublic/bm40hsrgb/keymaps/signynt_2_loud/rules.mk
create mode 100644 keyboards/kprepublic/bm40hsrgb/keymaps/signynt_2_quiet/config.h
create mode 100644 keyboards/kprepublic/bm40hsrgb/keymaps/signynt_2_quiet/keymap.c
create mode 100644 keyboards/kprepublic/bm40hsrgb/keymaps/signynt_2_quiet/readme.md
create mode 100644 keyboards/kprepublic/bm40hsrgb/keymaps/signynt_2_quiet/rules.mk
create mode 100644 keyboards/kprepublic/bm40hsrgb/keymaps/via/keymap.c
create mode 100644 keyboards/kprepublic/bm40hsrgb/keymaps/via/readme.md
create mode 100644 keyboards/kprepublic/bm40hsrgb/keymaps/via/rules.mk
create mode 100644 keyboards/kprepublic/bm40hsrgb/readme.md
create mode 100755 keyboards/kprepublic/bm40hsrgb/rules.mk
create mode 100644 keyboards/kprepublic/bm43a/bm43a.c
create mode 100644 keyboards/kprepublic/bm43a/bm43a.h
create mode 100644 keyboards/kprepublic/bm43a/config.h
create mode 100644 keyboards/kprepublic/bm43a/info.json
create mode 100644 keyboards/kprepublic/bm43a/keymaps/default/config.h
create mode 100644 keyboards/kprepublic/bm43a/keymaps/default/keymap.c
create mode 100644 keyboards/kprepublic/bm43a/keymaps/default/readme.md
create mode 100644 keyboards/kprepublic/bm43a/keymaps/stevexyz/keymap.c
create mode 100644 keyboards/kprepublic/bm43a/keymaps/stevexyz/readme.md
create mode 100644 keyboards/kprepublic/bm43a/keymaps/stevexyz/rules.mk
create mode 100644 keyboards/kprepublic/bm43a/readme.md
create mode 100644 keyboards/kprepublic/bm43a/rules.mk
create mode 100644 keyboards/kprepublic/bm60poker/bm60poker.c
create mode 100644 keyboards/kprepublic/bm60poker/bm60poker.h
create mode 100644 keyboards/kprepublic/bm60poker/config.h
create mode 100644 keyboards/kprepublic/bm60poker/info.json
create mode 100644 keyboards/kprepublic/bm60poker/keymaps/default/keymap.c
create mode 100644 keyboards/kprepublic/bm60poker/keymaps/ipetepete/keymap.c
create mode 100644 keyboards/kprepublic/bm60poker/keymaps/ipetepete/readme.md
create mode 100644 keyboards/kprepublic/bm60poker/keymaps/ipetepete/rules.mk
create mode 100644 keyboards/kprepublic/bm60poker/keymaps/via/keymap.c
create mode 100644 keyboards/kprepublic/bm60poker/keymaps/via/rules.mk
create mode 100644 keyboards/kprepublic/bm60poker/readme.md
create mode 100644 keyboards/kprepublic/bm60poker/rules.mk
create mode 100644 keyboards/kprepublic/bm60rgb/bm60rgb.c
create mode 100644 keyboards/kprepublic/bm60rgb/bm60rgb.h
create mode 100644 keyboards/kprepublic/bm60rgb/config.h
create mode 100644 keyboards/kprepublic/bm60rgb/info.json
create mode 100644 keyboards/kprepublic/bm60rgb/keymaps/default/keymap.c
create mode 100644 keyboards/kprepublic/bm60rgb/keymaps/default/readme.md
create mode 100644 keyboards/kprepublic/bm60rgb/keymaps/jbradforddillon/keymap.c
create mode 100644 keyboards/kprepublic/bm60rgb/keymaps/jbradforddillon/readme.md
create mode 100644 keyboards/kprepublic/bm60rgb/keymaps/via/keymap.c
create mode 100644 keyboards/kprepublic/bm60rgb/keymaps/via/readme.md
create mode 100644 keyboards/kprepublic/bm60rgb/keymaps/via/rules.mk
create mode 100644 keyboards/kprepublic/bm60rgb/readme.md
create mode 100644 keyboards/kprepublic/bm60rgb/rules.mk
create mode 100644 keyboards/kprepublic/bm60rgb_iso/bm60rgb_iso.c
create mode 100644 keyboards/kprepublic/bm60rgb_iso/bm60rgb_iso.h
create mode 100644 keyboards/kprepublic/bm60rgb_iso/config.h
create mode 100644 keyboards/kprepublic/bm60rgb_iso/info.json
create mode 100644 keyboards/kprepublic/bm60rgb_iso/keymaps/default/keymap.c
create mode 100644 keyboards/kprepublic/bm60rgb_iso/keymaps/default/readme.md
create mode 100644 keyboards/kprepublic/bm60rgb_iso/keymaps/iso_nordic_sleepmode/config.h
create mode 100644 keyboards/kprepublic/bm60rgb_iso/keymaps/iso_nordic_sleepmode/keymap.c
create mode 100644 keyboards/kprepublic/bm60rgb_iso/keymaps/iso_nordic_sleepmode/readme.md
create mode 100644 keyboards/kprepublic/bm60rgb_iso/readme.md
create mode 100644 keyboards/kprepublic/bm60rgb_iso/rules.mk
create mode 100644 keyboards/kprepublic/bm65iso/bm65iso.c
create mode 100644 keyboards/kprepublic/bm65iso/bm65iso.h
create mode 100644 keyboards/kprepublic/bm65iso/config.h
create mode 100644 keyboards/kprepublic/bm65iso/info.json
create mode 100644 keyboards/kprepublic/bm65iso/keymaps/deadolus/config.h
create mode 100644 keyboards/kprepublic/bm65iso/keymaps/deadolus/keymap.c
create mode 100644 keyboards/kprepublic/bm65iso/keymaps/deadolus/keymap.h
create mode 100644 keyboards/kprepublic/bm65iso/keymaps/deadolus/readme.md
create mode 100644 keyboards/kprepublic/bm65iso/keymaps/deadolus/rules.mk
create mode 100644 keyboards/kprepublic/bm65iso/keymaps/default/keymap.c
create mode 100644 keyboards/kprepublic/bm65iso/keymaps/via/keymap.c
create mode 100644 keyboards/kprepublic/bm65iso/keymaps/via/readme.md
create mode 100644 keyboards/kprepublic/bm65iso/keymaps/via/rules.mk
create mode 100644 keyboards/kprepublic/bm65iso/readme.md
create mode 100644 keyboards/kprepublic/bm65iso/rules.mk
create mode 100644 keyboards/kprepublic/bm68rgb/bm68rgb.c
create mode 100644 keyboards/kprepublic/bm68rgb/bm68rgb.h
create mode 100644 keyboards/kprepublic/bm68rgb/config.h
create mode 100644 keyboards/kprepublic/bm68rgb/info.json
create mode 100644 keyboards/kprepublic/bm68rgb/keymaps/default/keymap.c
create mode 100644 keyboards/kprepublic/bm68rgb/keymaps/default/readme.md
create mode 100644 keyboards/kprepublic/bm68rgb/keymaps/peepeetee/config.h
create mode 100644 keyboards/kprepublic/bm68rgb/keymaps/peepeetee/keymap.c
create mode 100644 keyboards/kprepublic/bm68rgb/keymaps/peepeetee/keymap.h
create mode 100644 keyboards/kprepublic/bm68rgb/keymaps/peepeetee/readme.md
create mode 100644 keyboards/kprepublic/bm68rgb/keymaps/via/keymap.c
create mode 100644 keyboards/kprepublic/bm68rgb/keymaps/via/readme.md
create mode 100644 keyboards/kprepublic/bm68rgb/keymaps/via/rules.mk
create mode 100644 keyboards/kprepublic/bm68rgb/readme.md
create mode 100644 keyboards/kprepublic/bm68rgb/rules.mk
create mode 100644 keyboards/kprepublic/cospad/config.h
create mode 100644 keyboards/kprepublic/cospad/cospad.c
create mode 100644 keyboards/kprepublic/cospad/cospad.h
create mode 100644 keyboards/kprepublic/cospad/info.json
create mode 100644 keyboards/kprepublic/cospad/keymaps/default/keymap.c
create mode 100644 keyboards/kprepublic/cospad/keymaps/detrus/keymap.c
create mode 100644 keyboards/kprepublic/cospad/keymaps/split_plus_and_zero/keymap.c
create mode 100644 keyboards/kprepublic/cospad/keymaps/split_zero/keymap.c
create mode 100644 keyboards/kprepublic/cospad/keymaps/via/keymap.c
create mode 100644 keyboards/kprepublic/cospad/keymaps/via/rules.mk
create mode 100644 keyboards/kprepublic/cospad/readme.md
create mode 100644 keyboards/kprepublic/cospad/rules.mk
create mode 100644 keyboards/kprepublic/jj40/config.h
create mode 100644 keyboards/kprepublic/jj40/info.json
create mode 100644 keyboards/kprepublic/jj40/jj40.c
create mode 100644 keyboards/kprepublic/jj40/jj40.h
create mode 100644 keyboards/kprepublic/jj40/keymaps/ajp10304/readme.md
create mode 100644 keyboards/kprepublic/jj40/keymaps/cockpit/keymap.c
create mode 100644 keyboards/kprepublic/jj40/keymaps/cockpit/readme.md
create mode 100644 keyboards/kprepublic/jj40/keymaps/default/keymap.c
create mode 100644 keyboards/kprepublic/jj40/keymaps/fun40/config.h
create mode 100644 keyboards/kprepublic/jj40/keymaps/fun40/keymap.c
create mode 100644 keyboards/kprepublic/jj40/keymaps/fun40/readme.md
create mode 100644 keyboards/kprepublic/jj40/keymaps/fun40/rules.mk
create mode 100644 keyboards/kprepublic/jj40/keymaps/krusli/config.h
create mode 100644 keyboards/kprepublic/jj40/keymaps/krusli/keymap.c
create mode 100644 keyboards/kprepublic/jj40/keymaps/krusli/numpad.txt
create mode 100644 keyboards/kprepublic/jj40/keymaps/krusli/readme.md
create mode 100644 keyboards/kprepublic/jj40/keymaps/krusli/rules.mk
create mode 100644 keyboards/kprepublic/jj40/keymaps/oscillope/config.h
create mode 100644 keyboards/kprepublic/jj40/keymaps/oscillope/keymap.c
create mode 100644 keyboards/kprepublic/jj40/keymaps/oscillope/rules.mk
create mode 100644 keyboards/kprepublic/jj40/keymaps/skewwhiffy/keymap.c
create mode 100644 keyboards/kprepublic/jj40/keymaps/stevexyz/config.h
create mode 100644 keyboards/kprepublic/jj40/keymaps/stevexyz/keymap.c
create mode 100644 keyboards/kprepublic/jj40/keymaps/stevexyz/readme.md
create mode 100644 keyboards/kprepublic/jj40/keymaps/stevexyz/rules.mk
create mode 100644 keyboards/kprepublic/jj40/keymaps/suzuken/config.h
create mode 100644 keyboards/kprepublic/jj40/keymaps/suzuken/keymap.c
create mode 100644 keyboards/kprepublic/jj40/keymaps/via/keymap.c
create mode 100755 keyboards/kprepublic/jj40/keymaps/via/rules.mk
create mode 100644 keyboards/kprepublic/jj40/keymaps/waples/config.h
create mode 100644 keyboards/kprepublic/jj40/keymaps/waples/keymap.c
create mode 100644 keyboards/kprepublic/jj40/keymaps/waples/readme.md
create mode 100644 keyboards/kprepublic/jj40/keymaps/waples/rules.mk
create mode 100644 keyboards/kprepublic/jj40/readme.md
create mode 100644 keyboards/kprepublic/jj40/rules.mk
create mode 100644 keyboards/kprepublic/jj4x4/config.h
create mode 100644 keyboards/kprepublic/jj4x4/info.json
create mode 100644 keyboards/kprepublic/jj4x4/jj4x4.c
create mode 100644 keyboards/kprepublic/jj4x4/jj4x4.h
create mode 100644 keyboards/kprepublic/jj4x4/keymaps/default/keymap.c
create mode 100644 keyboards/kprepublic/jj4x4/keymaps/via/keymap.c
create mode 100644 keyboards/kprepublic/jj4x4/keymaps/via/rules.mk
create mode 100644 keyboards/kprepublic/jj4x4/readme.md
create mode 100644 keyboards/kprepublic/jj4x4/rules.mk
create mode 100644 keyboards/kprepublic/jj50/config.h
create mode 100644 keyboards/kprepublic/jj50/info.json
create mode 100644 keyboards/kprepublic/jj50/jj50.c
create mode 100644 keyboards/kprepublic/jj50/jj50.h
create mode 100644 keyboards/kprepublic/jj50/keymaps/abstractkb/config.h
create mode 100644 keyboards/kprepublic/jj50/keymaps/abstractkb/keymap.c
create mode 100644 keyboards/kprepublic/jj50/keymaps/abstractkb/readme.md
create mode 100644 keyboards/kprepublic/jj50/keymaps/abstractkb_gergomatch/config.h
create mode 100644 keyboards/kprepublic/jj50/keymaps/abstractkb_gergomatch/keymap.c
create mode 100644 keyboards/kprepublic/jj50/keymaps/abstractkb_gergomatch/readme.md
create mode 100644 keyboards/kprepublic/jj50/keymaps/archetype/README.md
create mode 100644 keyboards/kprepublic/jj50/keymaps/archetype/config.h
create mode 100644 keyboards/kprepublic/jj50/keymaps/archetype/keymap.c
create mode 100644 keyboards/kprepublic/jj50/keymaps/archetype/rules.mk
create mode 100644 keyboards/kprepublic/jj50/keymaps/default/README.md
create mode 100644 keyboards/kprepublic/jj50/keymaps/default/keymap.c
create mode 100644 keyboards/kprepublic/jj50/keymaps/yoonbae81/config.h
create mode 100644 keyboards/kprepublic/jj50/keymaps/yoonbae81/keymap.c
create mode 100644 keyboards/kprepublic/jj50/keymaps/yoonbae81/rules.mk
create mode 100644 keyboards/kprepublic/jj50/readme.md
create mode 100644 keyboards/kprepublic/jj50/rules.mk
(limited to 'keyboards/kprepublic')
diff --git a/keyboards/kprepublic/bm16a/bm16a.c b/keyboards/kprepublic/bm16a/bm16a.c
new file mode 100644
index 0000000000..3d616f29e9
--- /dev/null
+++ b/keyboards/kprepublic/bm16a/bm16a.c
@@ -0,0 +1,43 @@
+/* Copyright 2019
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see .
+ */
+#include "bm16a.h"
+
+void matrix_init_kb(void) {
+ // put your keyboard start-up code here
+ // runs once when the firmware starts up
+
+ matrix_init_user();
+}
+
+void matrix_scan_kb(void) {
+ // put your looping keyboard code here
+ // runs every cycle (a lot)
+
+ matrix_scan_user();
+}
+
+bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
+ // put your per-action keyboard code here
+ // runs for every action, just before processing by the firmware
+
+ return process_record_user(keycode, record);
+}
+
+void led_set_kb(uint8_t usb_led) {
+ // put your keyboard LED indicator (ex: Caps Lock LED) toggling code here
+
+ led_set_user(usb_led);
+}
diff --git a/keyboards/kprepublic/bm16a/bm16a.h b/keyboards/kprepublic/bm16a/bm16a.h
new file mode 100644
index 0000000000..cf8bab4730
--- /dev/null
+++ b/keyboards/kprepublic/bm16a/bm16a.h
@@ -0,0 +1,39 @@
+/* Copyright 2019
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see .
+ */
+#pragma once
+
+#include "quantum.h"
+
+/* This a shortcut to help you visually see your layout.
+ *
+ * The first section contains all of the arguments representing the physical
+ * layout of the board and position of the keys.
+ *
+ * The second converts the arguments into a two-dimensional array which
+ * represents the switch matrix.
+ */
+#define LAYOUT_ortho_4x4( \
+ K01, K02, K03, K04, \
+ K11, K12, K13, K14, \
+ K21, K22, K23, K24, \
+ K31, K32, K33, K34 \
+) \
+{ \
+ { K01, K02, K03, K04 }, \
+ { K11, K12, K13, K14 }, \
+ { K21, K22, K23, K24 }, \
+ { K31, K32, K33, K34 } \
+}
diff --git a/keyboards/kprepublic/bm16a/config.h b/keyboards/kprepublic/bm16a/config.h
new file mode 100644
index 0000000000..16bc83827f
--- /dev/null
+++ b/keyboards/kprepublic/bm16a/config.h
@@ -0,0 +1,194 @@
+/* Copyright 2019
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see .
+ */
+
+#pragma once
+
+#include "config_common.h"
+
+/* USB Device descriptor parameter */
+#define VENDOR_ID 0x4B50 // "KP"
+#define PRODUCT_ID 0x016A
+#define DEVICE_VER 0x0001
+#define MANUFACTURER KPrepublic
+#define PRODUCT bm16a
+
+/* key matrix size */
+#define MATRIX_ROWS 4
+#define MATRIX_COLS 4
+
+/*
+ * Keyboard Matrix Assignments
+ *
+ * Change this to how you wired your keyboard
+ * COLS: AVR pins used for columns, left to right
+ * ROWS: AVR pins used for rows, top to bottom
+ * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
+ * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
+ *
+*/
+#define MATRIX_ROW_PINS { D3, D5, D1, D2}
+#define MATRIX_COL_PINS { D6, D4, D7, B4}
+#define UNUSED_PINS
+
+/* COL2ROW, ROW2COL*/
+#define DIODE_DIRECTION COL2ROW
+
+/*
+ * Split Keyboard specific options, make sure you have 'SPLIT_KEYBOARD = yes' in your rules.mk, and define SOFT_SERIAL_PIN.
+ */
+//#define SOFT_SERIAL_PIN D0 // or D1, D2, D3, E6
+
+#define BACKLIGHT_PIN B6
+// #define BACKLIGHT_BREATHING
+#define BACKLIGHT_LEVELS 5
+
+#define RGB_DI_PIN E2
+#define RGBLED_NUM 4
+#define RGBLIGHT_ANIMATIONS
+// #ifdef RGB_DI_PIN
+// #define RGBLED_NUM 16
+// #define RGBLIGHT_HUE_STEP 8
+// #define RGBLIGHT_SAT_STEP 8
+// #define RGBLIGHT_VAL_STEP 8
+// #define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */
+// #define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */
+// /*== all animations enable ==*/
+// #define RGBLIGHT_ANIMATIONS
+// /*== or choose animations ==*/
+// #define RGBLIGHT_EFFECT_BREATHING
+// #define RGBLIGHT_EFFECT_RAINBOW_MOOD
+// #define RGBLIGHT_EFFECT_RAINBOW_SWIRL
+// #define RGBLIGHT_EFFECT_SNAKE
+// #define RGBLIGHT_EFFECT_KNIGHT
+// #define RGBLIGHT_EFFECT_CHRISTMAS
+// #define RGBLIGHT_EFFECT_STATIC_GRADIENT
+// #define RGBLIGHT_EFFECT_RGB_TEST
+// #define RGBLIGHT_EFFECT_ALTERNATING
+// #endif
+
+/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
+#define DEBOUNCE 5
+
+/* define if matrix has ghost (lacks anti-ghosting diodes) */
+//#define MATRIX_HAS_GHOST
+
+/* number of backlight levels */
+
+/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
+#define LOCKING_SUPPORT_ENABLE
+/* Locking resynchronize hack */
+#define LOCKING_RESYNC_ENABLE
+
+/* If defined, GRAVE_ESC will always act as ESC when CTRL is held.
+ * This is userful for the Windows task manager shortcut (ctrl+shift+esc).
+ */
+// #define GRAVE_ESC_CTRL_OVERRIDE
+
+/*
+ * Force NKRO
+ *
+ * Force NKRO (nKey Rollover) to be enabled by default, regardless of the saved
+ * state in the bootmagic EEPROM settings. (Note that NKRO must be enabled in the
+ * makefile for this to work.)
+ *
+ * If forced on, NKRO can be disabled via magic key (default = LShift+RShift+N)
+ * until the next keyboard reset.
+ *
+ * NKRO may prevent your keystrokes from being detected in the BIOS, but it is
+ * fully operational during normal computer usage.
+ *
+ * For a less heavy-handed approach, enable NKRO via magic key (LShift+RShift+N)
+ * or via bootmagic (hold SPACE+N while plugging in the keyboard). Once set by
+ * bootmagic, NKRO mode will always be enabled until it is toggled again during a
+ * power-up.
+ *
+ */
+//#define FORCE_NKRO
+
+/*
+ * Magic Key Options
+ *
+ * Magic keys are hotkey commands that allow control over firmware functions of
+ * the keyboard. They are best used in combination with the HID Listen program,
+ * found here: https://www.pjrc.com/teensy/hid_listen.html
+ *
+ * The options below allow the magic key functionality to be changed. This is
+ * useful if your keyboard/keypad is missing keys and you want magic key support.
+ *
+ */
+
+/* key combination for magic key command */
+/* defined by default; to change, uncomment and set to the combination you want */
+// #define IS_COMMAND() (get_mods() == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)))
+
+/* control how magic key switches layers */
+//#define MAGIC_KEY_SWITCH_LAYER_WITH_FKEYS true
+//#define MAGIC_KEY_SWITCH_LAYER_WITH_NKEYS true
+//#define MAGIC_KEY_SWITCH_LAYER_WITH_CUSTOM false
+
+/* override magic key keymap */
+//#define MAGIC_KEY_SWITCH_LAYER_WITH_FKEYS
+//#define MAGIC_KEY_SWITCH_LAYER_WITH_NKEYS
+//#define MAGIC_KEY_SWITCH_LAYER_WITH_CUSTOM
+//#define MAGIC_KEY_HELP H
+//#define MAGIC_KEY_HELP_ALT SLASH
+//#define MAGIC_KEY_DEBUG D
+//#define MAGIC_KEY_DEBUG_MATRIX X
+//#define MAGIC_KEY_DEBUG_KBD K
+//#define MAGIC_KEY_DEBUG_MOUSE M
+//#define MAGIC_KEY_VERSION V
+//#define MAGIC_KEY_STATUS S
+//#define MAGIC_KEY_CONSOLE C
+//#define MAGIC_KEY_LAYER0 0
+//#define MAGIC_KEY_LAYER0_ALT GRAVE
+//#define MAGIC_KEY_LAYER1 1
+//#define MAGIC_KEY_LAYER2 2
+//#define MAGIC_KEY_LAYER3 3
+//#define MAGIC_KEY_LAYER4 4
+//#define MAGIC_KEY_LAYER5 5
+//#define MAGIC_KEY_LAYER6 6
+//#define MAGIC_KEY_LAYER7 7
+//#define MAGIC_KEY_LAYER8 8
+//#define MAGIC_KEY_LAYER9 9
+//#define MAGIC_KEY_BOOTLOADER B
+//#define MAGIC_KEY_BOOTLOADER_ALT ESC
+//#define MAGIC_KEY_LOCK CAPS
+//#define MAGIC_KEY_EEPROM E
+//#define MAGIC_KEY_EEPROM_CLEAR BSPACE
+//#define MAGIC_KEY_NKRO N
+//#define MAGIC_KEY_SLEEP_LED Z
+
+/*
+ * Feature disable options
+ * These options are also useful to firmware size reduction.
+ */
+
+/* disable debug print */
+//#define NO_DEBUG
+
+/* disable print */
+//#define NO_PRINT
+
+/* disable action features */
+//#define NO_ACTION_LAYER
+//#define NO_ACTION_TAPPING
+//#define NO_ACTION_ONESHOT
+//#define NO_ACTION_MACRO
+//#define NO_ACTION_FUNCTION
+
+/* Bootmagic Lite key configuration */
+// #define BOOTMAGIC_LITE_ROW 0
+// #define BOOTMAGIC_LITE_COLUMN 0
diff --git a/keyboards/kprepublic/bm16a/info.json b/keyboards/kprepublic/bm16a/info.json
new file mode 100644
index 0000000000..4f87c5ae1d
--- /dev/null
+++ b/keyboards/kprepublic/bm16a/info.json
@@ -0,0 +1,30 @@
+{
+ "keyboard_name": "bm16a",
+ "url": "",
+ "maintainer": "qmk",
+ "width": 4,
+ "height": 4,
+ "layouts": {
+ "LAYOUT_ortho_4x4": {
+ "key_count": 16,
+ "layout": [
+ {"x":0, "y":0},
+ {"x":1, "y":0},
+ {"x":2, "y":0},
+ {"x":3, "y":0},
+ {"x":0, "y":1},
+ {"x":1, "y":1},
+ {"x":2, "y":1},
+ {"x":3, "y":1},
+ {"x":0, "y":2},
+ {"x":1, "y":2},
+ {"x":2, "y":2},
+ {"x":3, "y":2},
+ {"x":0, "y":3},
+ {"x":1, "y":3},
+ {"x":2, "y":3},
+ {"x":3, "y":3}
+ ]
+ }
+ }
+ }
\ No newline at end of file
diff --git a/keyboards/kprepublic/bm16a/keymaps/default/config.h b/keyboards/kprepublic/bm16a/keymaps/default/config.h
new file mode 100644
index 0000000000..08c234aee2
--- /dev/null
+++ b/keyboards/kprepublic/bm16a/keymaps/default/config.h
@@ -0,0 +1,19 @@
+/* Copyright 2019
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see .
+ */
+
+#pragma once
+
+// place overrides here
diff --git a/keyboards/kprepublic/bm16a/keymaps/default/keymap.c b/keyboards/kprepublic/bm16a/keymaps/default/keymap.c
new file mode 100644
index 0000000000..a0b06ee92a
--- /dev/null
+++ b/keyboards/kprepublic/bm16a/keymaps/default/keymap.c
@@ -0,0 +1,73 @@
+/* Copyright 2019
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see .
+ */
+#include QMK_KEYBOARD_H
+
+enum layers {
+ _BASE = 0,
+ _FN1,
+ _FN2,
+};
+
+// Defines the keycodes used by our macros in process_record_user
+enum custom_keycodes {
+ QMKBEST = SAFE_RANGE,
+ QMKURL
+};
+
+const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
+
+ [_BASE] = LAYOUT_ortho_4x4(
+ KC_PGUP, KC_HOME, KC_UP, KC_END , \
+ KC_PGDN, KC_LEFT, KC_DOWN, KC_RGHT, \
+ MO(_FN2), KC_VOLU, KC_MPLY, KC_MPRV, \
+ MO(_FN1), KC_VOLD, KC_MUTE, KC_MNXT \
+ ),
+ [_FN1] = LAYOUT_ortho_4x4(
+ KC_ESC, KC_P7, KC_P8, KC_P9, \
+ KC_TAB, KC_P4, KC_P5, KC_P6, \
+ KC_ENT, KC_P1, KC_P2, KC_P3, \
+ _______, KC_P0, KC_P0, KC_DOT \
+ ),
+ [_FN2] = LAYOUT_ortho_4x4(
+ RGB_TOG, RGB_HUI, RGB_SAI, RGB_VAI, \
+ RGB_MOD, RGB_HUD, RGB_SAD, RGB_VAD, \
+ _______, _______, _______, RESET, \
+ BL_STEP, _______, QMKBEST, QMKURL \
+ )
+
+};
+
+bool process_record_user(uint16_t keycode, keyrecord_t *record) {
+ switch (keycode) {
+ case QMKBEST:
+ if (record->event.pressed) {
+ // when keycode QMKBEST is pressed
+ SEND_STRING("QMK is the best thing ever!");
+ } else {
+ // when keycode QMKBEST is released
+ }
+ break;
+ case QMKURL:
+ if (record->event.pressed) {
+ // when keycode QMKURL is pressed
+ SEND_STRING("https://qmk.fm/" SS_TAP(X_ENTER));
+ } else {
+ // when keycode QMKURL is released
+ }
+ break;
+ }
+ return true;
+}
diff --git a/keyboards/kprepublic/bm16a/keymaps/default/readme.md b/keyboards/kprepublic/bm16a/keymaps/default/readme.md
new file mode 100644
index 0000000000..f356f2cca0
--- /dev/null
+++ b/keyboards/kprepublic/bm16a/keymaps/default/readme.md
@@ -0,0 +1 @@
+# The default keymap for bm16a
\ No newline at end of file
diff --git a/keyboards/kprepublic/bm16a/keymaps/factory/keymap.c b/keyboards/kprepublic/bm16a/keymaps/factory/keymap.c
new file mode 100644
index 0000000000..8a01ff016d
--- /dev/null
+++ b/keyboards/kprepublic/bm16a/keymaps/factory/keymap.c
@@ -0,0 +1,37 @@
+/* Copyright 2019
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see .
+ */
+#include QMK_KEYBOARD_H
+
+enum layers {
+ _BASE = 0,
+ _FN1,
+};
+
+const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
+
+ [_BASE] = LAYOUT_ortho_4x4(
+ KC_P7, KC_P8, KC_P9, KC_PMNS,
+ KC_P4, KC_P5, KC_P6, KC_PPLS,
+ KC_P1, KC_P2, KC_P3, KC_PENT,
+ KC_P0, KC_PDOT, KC_SPC, MO(_FN1)
+ ),
+ [_FN1] = LAYOUT_ortho_4x4(
+ RESET, KC_PAST, KC_PSLS, _______,
+ BL_TOGG, BL_DEC, BL_INC, BL_STEP,
+ RGB_TOG, RGB_MOD, RGB_HUI, RGB_HUD,
+ RGB_SAI, RGB_SAD, _______, _______
+ )
+};
diff --git a/keyboards/kprepublic/bm16a/keymaps/factory/readme.md b/keyboards/kprepublic/bm16a/keymaps/factory/readme.md
new file mode 100644
index 0000000000..11c952366e
--- /dev/null
+++ b/keyboards/kprepublic/bm16a/keymaps/factory/readme.md
@@ -0,0 +1,4 @@
+# A factory-like keymap for the bm16a
+
+This keymap recreates the stock layout this keypad ships with. Use it if you want to return to stock, but with QMK.
+
diff --git a/keyboards/kprepublic/bm16a/keymaps/via/keymap.c b/keyboards/kprepublic/bm16a/keymaps/via/keymap.c
new file mode 100644
index 0000000000..5c8006759c
--- /dev/null
+++ b/keyboards/kprepublic/bm16a/keymaps/via/keymap.c
@@ -0,0 +1,51 @@
+/* Copyright 2019
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see .
+ */
+#include QMK_KEYBOARD_H
+
+enum layers {
+ _BASE = 0,
+ _FN1,
+ _FN2,
+};
+
+const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
+
+ [0] = LAYOUT_ortho_4x4(
+ KC_PGUP, KC_HOME, KC_UP, KC_END ,
+ KC_PGDN, KC_LEFT, KC_DOWN, KC_RGHT,
+ KC_DOT, KC_VOLU, KC_MPLY, KC_MPRV,
+ MO(1), KC_VOLD, KC_MUTE, KC_MNXT
+ ),
+ [1] = LAYOUT_ortho_4x4(
+ RESET, KC_TRNS, KC_TRNS, KC_TRNS,
+ KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
+ KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
+ KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS
+ ),
+ [2] = LAYOUT_ortho_4x4(
+ KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
+ KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
+ KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
+ KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS
+ ),
+
+ [3] = LAYOUT_ortho_4x4(
+ KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
+ KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
+ KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
+ KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS
+ )
+};
diff --git a/keyboards/kprepublic/bm16a/keymaps/via/readme.md b/keyboards/kprepublic/bm16a/keymaps/via/readme.md
new file mode 100644
index 0000000000..b381108759
--- /dev/null
+++ b/keyboards/kprepublic/bm16a/keymaps/via/readme.md
@@ -0,0 +1 @@
+# Via keymap for bm16a
diff --git a/keyboards/kprepublic/bm16a/keymaps/via/rules.mk b/keyboards/kprepublic/bm16a/keymaps/via/rules.mk
new file mode 100644
index 0000000000..36b7ba9cbc
--- /dev/null
+++ b/keyboards/kprepublic/bm16a/keymaps/via/rules.mk
@@ -0,0 +1,2 @@
+VIA_ENABLE = yes
+LTO_ENABLE = yes
diff --git a/keyboards/kprepublic/bm16a/readme.md b/keyboards/kprepublic/bm16a/readme.md
new file mode 100644
index 0000000000..8d43b7014d
--- /dev/null
+++ b/keyboards/kprepublic/bm16a/readme.md
@@ -0,0 +1,15 @@
+# bm16a
+
+![bm16a](https://ae01.alicdn.com/kf/HTB1RRRQaZfrK1RjSszcq6xGGFXaY.jpg)
+
+A 16 key macropad, with USB C, RGB underglow and backlight.
+
+Keyboard Maintainer: QMK Community
+Hardware Supported: The PCBs, controllers supported
+Hardware Availability: [KPrepublic](https://kprepublic.com/products/bm16a-16-keys-custom-mechanical-keyboard-pcb-plate-programmed-numpad-layouts-qmk-firmware-with-rgb-bottom-underglow-alps-mx); [AliExpress](https://www.aliexpress.com/store/product/bm16a-16-keys-Custom-Mechanical-Keyboard-PCB-plate-programmed-numpad-layouts-qmk-firmware-with-rgb-bottom/3034003_32970629907.html)
+
+Make example for this keyboard (after setting up your build environment):
+
+ make bm16a:default
+
+See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs).
diff --git a/keyboards/kprepublic/bm16a/rules.mk b/keyboards/kprepublic/bm16a/rules.mk
new file mode 100644
index 0000000000..5b43833945
--- /dev/null
+++ b/keyboards/kprepublic/bm16a/rules.mk
@@ -0,0 +1,32 @@
+# MCU name
+MCU = atmega32u4
+
+# Bootloader selection
+# Teensy halfkay
+# Pro Micro caterina
+# Atmel DFU atmel-dfu
+# LUFA DFU lufa-dfu
+# QMK DFU qmk-dfu
+# ATmega32A bootloadHID
+# ATmega328P USBasp
+BOOTLOADER = atmel-dfu
+
+# Build Options
+# change yes to no to disable
+#
+BOOTMAGIC_ENABLE = lite # Enable Bootmagic Lite
+MOUSEKEY_ENABLE = yes # Mouse keys
+EXTRAKEY_ENABLE = yes # Audio control and System control
+CONSOLE_ENABLE = no # Console for debug
+COMMAND_ENABLE = no # Commands for debug and configuration
+# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
+SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
+# if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
+NKRO_ENABLE = yes # USB Nkey Rollover
+BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality on B7 by default
+RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
+UNICODE_ENABLE = no # Unicode
+BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
+AUDIO_ENABLE = no # Audio output on port C6
+
+LAYOUTS = ortho_4x4
diff --git a/keyboards/kprepublic/bm16s/bm16s.h b/keyboards/kprepublic/bm16s/bm16s.h
new file mode 100755
index 0000000000..9aca8c0e37
--- /dev/null
+++ b/keyboards/kprepublic/bm16s/bm16s.h
@@ -0,0 +1,15 @@
+#pragma once
+
+#include "quantum.h"
+
+#define LAYOUT_ortho_4x4( \
+ K00, K01, K02, K03, \
+ K10, K11, K12, K13, \
+ K20, K21, K22, K23, \
+ K30, K31, K32, K33 \
+) { \
+ { K00, K01, K02, K03 }, \
+ { K10, K11, K12, K13 }, \
+ { K20, K21, K22, K23 }, \
+ { K30, K31, K32, K33 } \
+}
diff --git a/keyboards/kprepublic/bm16s/config.h b/keyboards/kprepublic/bm16s/config.h
new file mode 100755
index 0000000000..4ee57f3510
--- /dev/null
+++ b/keyboards/kprepublic/bm16s/config.h
@@ -0,0 +1,45 @@
+#pragma once
+#include "config_common.h"
+
+/* USB Device descriptor parameter */
+#define VENDOR_ID 0x4B50 //KP
+#define PRODUCT_ID 0x016B
+#define DEVICE_VER 0x0001
+#define MANUFACTURER KPrepublic
+#define PRODUCT bm16s
+
+/* key matrix size */
+#define MATRIX_ROWS 4
+#define MATRIX_COLS 4
+
+/* key matrix pins */
+#define MATRIX_ROW_PINS { D1, D0, D3, D2 }
+#define MATRIX_COL_PINS { F7, F6, D4, D6 }
+#define UNUSED_PINS
+
+/* COL2ROW or ROW2COL */
+#define DIODE_DIRECTION COL2ROW
+
+/* number of backlight levels */
+
+#ifdef BACKLIGHT_PIN
+ #define BACKLIGHT_LEVELS 3
+#endif
+
+/* Set 0 if debouncing isn't needed */
+#define DEBOUNCE 5
+
+/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
+#define LOCKING_SUPPORT_ENABLE
+
+/* Locking resynchronize hack */
+#define LOCKING_RESYNC_ENABLE
+
+#define RGB_DI_PIN E2
+#ifdef RGB_DI_PIN
+ #define RGBLIGHT_ANIMATIONS
+ #define RGBLED_NUM 16
+ #define RGBLIGHT_HUE_STEP 8
+ #define RGBLIGHT_SAT_STEP 8
+ #define RGBLIGHT_VAL_STEP 8
+#endif
diff --git a/keyboards/kprepublic/bm16s/info.json b/keyboards/kprepublic/bm16s/info.json
new file mode 100644
index 0000000000..706453561e
--- /dev/null
+++ b/keyboards/kprepublic/bm16s/info.json
@@ -0,0 +1,30 @@
+{
+ "keyboard_name": "bm16s",
+ "url": "",
+ "maintainer": "qmk",
+ "width": 4,
+ "height": 4,
+ "layouts": {
+ "LAYOUT_ortho_4x4": {
+ "key_count": 16,
+ "layout": [
+ {"x":0, "y":0},
+ {"x":1, "y":0},
+ {"x":2, "y":0},
+ {"x":3, "y":0},
+ {"x":0, "y":1},
+ {"x":1, "y":1},
+ {"x":2, "y":1},
+ {"x":3, "y":1},
+ {"x":0, "y":2},
+ {"x":1, "y":2},
+ {"x":2, "y":2},
+ {"x":3, "y":2},
+ {"x":0, "y":3},
+ {"x":1, "y":3},
+ {"x":2, "y":3},
+ {"x":3, "y":3}
+ ]
+ }
+ }
+ }
\ No newline at end of file
diff --git a/keyboards/kprepublic/bm16s/keymaps/default/keymap.c b/keyboards/kprepublic/bm16s/keymaps/default/keymap.c
new file mode 100755
index 0000000000..9dd697a0d9
--- /dev/null
+++ b/keyboards/kprepublic/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
diff --git a/keyboards/kprepublic/bm16s/keymaps/media/keymap.c b/keyboards/kprepublic/bm16s/keymaps/media/keymap.c
new file mode 100755
index 0000000000..082879320a
--- /dev/null
+++ b/keyboards/kprepublic/bm16s/keymaps/media/keymap.c
@@ -0,0 +1,20 @@
+#include QMK_KEYBOARD_H
+
+#define RGB_BRU RGB_VAI
+#define RGB_BRD RGB_VAD
+
+const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
+
+ [0] = LAYOUT_ortho_4x4(
+ KC_BRIU, _______, _______, KC_VOLU, \
+ KC_BRID, _______, _______, KC_VOLD, \
+ _______, _______, _______, KC_MUTE, \
+ KC_MPRV, KC_MPLY, KC_MNXT, MO(1) \
+ ),
+ [1] = LAYOUT_ortho_4x4(
+ RESET, _______, _______, _______, \
+ RGB_SPD, RGB_BRU, RGB_SPI, _______, \
+ RGB_RMOD, RGB_BRD, RGB_MOD, _______, \
+ RGB_TOG, _______, _______, _______ \
+ ),
+};
\ No newline at end of file
diff --git a/keyboards/kprepublic/bm16s/keymaps/via/keymap.c b/keyboards/kprepublic/bm16s/keymaps/via/keymap.c
new file mode 100644
index 0000000000..71b0d2b0f5
--- /dev/null
+++ b/keyboards/kprepublic/bm16s/keymaps/via/keymap.c
@@ -0,0 +1,43 @@
+/* Copyright 2020 Relocks
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see .
+ */
+#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_TRNS, KC_VOLU,
+ BL_TOGG, BL_DEC, BL_INC, KC_VOLD,
+ RGB_TOG, RGB_MOD, RGB_HUI, KC_MUTE,
+ RGB_SAI, RGB_SAD, RGB_HUD, KC_TRNS
+ ),
+ [2] = LAYOUT_ortho_4x4(
+ KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
+ KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
+ KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
+ KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS
+ ),
+ [3] = LAYOUT_ortho_4x4(
+ KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
+ KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
+ KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
+ KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS
+ ),
+};
diff --git a/keyboards/kprepublic/bm16s/keymaps/via/readme.md b/keyboards/kprepublic/bm16s/keymaps/via/readme.md
new file mode 100644
index 0000000000..f5e43b909c
--- /dev/null
+++ b/keyboards/kprepublic/bm16s/keymaps/via/readme.md
@@ -0,0 +1 @@
+# Via keymap for bm16s
diff --git a/keyboards/kprepublic/bm16s/keymaps/via/rules.mk b/keyboards/kprepublic/bm16s/keymaps/via/rules.mk
new file mode 100644
index 0000000000..43061db1dd
--- /dev/null
+++ b/keyboards/kprepublic/bm16s/keymaps/via/rules.mk
@@ -0,0 +1,2 @@
+VIA_ENABLE = yes
+LTO_ENABLE = yes
\ No newline at end of file
diff --git a/keyboards/kprepublic/bm16s/readme.md b/keyboards/kprepublic/bm16s/readme.md
new file mode 100644
index 0000000000..097a380080
--- /dev/null
+++ b/keyboards/kprepublic/bm16s/readme.md
@@ -0,0 +1,13 @@
+# bm16s
+
+A 16-key macropad, with USB C and per-key RGB backlighting. This is a variant of the BM16A, but with low profile Choc switches.
+
+Keyboard Maintainer: QMK Community
+Hardware Supported: The PCBs, controllers supported
+Hardware Availability: [KPrepublic](https://kprepublic.com/collections/pcb/products/bm16s-16-keys-custom-mechanical-keyboard-pcb-plate-programmed-numpad-layouts-qmk-firmware-with-rgb-switch-leds-choc-switch); [AliExpress](https://www.aliexpress.com/item/bm16s-16-keys-Custom-Mechanical-Keyboard-PCB-plate-programmed-numpad-layouts-qmk-firmware-with-rgb-switch/32999247908.html); [Massdrop](https://www.massdrop.com/buy/78169)
+
+Make example for this keyboard (after setting up your build environment):
+
+ make bm16s:default
+
+See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs).
diff --git a/keyboards/kprepublic/bm16s/rules.mk b/keyboards/kprepublic/bm16s/rules.mk
new file mode 100755
index 0000000000..b0c9fdd86a
--- /dev/null
+++ b/keyboards/kprepublic/bm16s/rules.mk
@@ -0,0 +1,28 @@
+# MCU name
+MCU = atmega32u4
+
+# Bootloader selection
+# Teensy halfkay
+# Pro Micro caterina
+# Atmel DFU atmel-dfu
+# LUFA DFU lufa-dfu
+# QMK DFU qmk-dfu
+# ATmega32A bootloadHID
+# ATmega328P USBasp
+BOOTLOADER = atmel-dfu
+
+# Build Options
+# comment out to disable the options.
+#
+BOOTMAGIC_ENABLE = lite # Enable Bootmagic Lite
+MOUSEKEY_ENABLE = yes # Mouse keys
+EXTRAKEY_ENABLE = yes # Audio control and System control
+CONSOLE_ENABLE = no # Console for debug
+COMMAND_ENABLE = no # Commands for debug and configuration
+SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
+NKRO_ENABLE = yes # USB Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
+BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
+AUDIO_ENABLE = no
+RGBLIGHT_ENABLE = yes
+
+LAYOUTS = ortho_4x4
diff --git a/keyboards/kprepublic/bm40hsrgb/bm40hsrgb.c b/keyboards/kprepublic/bm40hsrgb/bm40hsrgb.c
new file mode 100755
index 0000000000..a0ba84db3c
--- /dev/null
+++ b/keyboards/kprepublic/bm40hsrgb/bm40hsrgb.c
@@ -0,0 +1,53 @@
+/* Copyright 2020 tominabox1, Richard Goulter
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see .
+ */
+#include "bm40hsrgb.h"
+
+#if defined(RGB_MATRIX_ENABLE)
+led_config_t g_led_config = {
+ {
+ // Key Matrix to LED Index
+ { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11},
+ {12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23},
+ {24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35},
+ {36, 37, 38, 39, 40, 41, NO_LED, 42, 43, 44, 45, 46}
+ }, {
+ // LED Index to Physical Position
+ { 0, 0}, { 20, 0}, { 40, 0}, {61, 0}, {81, 0}, {101, 0}, {122, 0}, {142, 0}, {162, 0}, {183, 0}, {203, 0}, {224, 0},
+ { 0, 21}, { 20, 21}, { 40, 21}, {61, 21}, {81, 21}, {101, 21}, {122, 21}, {142, 21}, {162, 21}, {183, 21}, {203, 21}, {224, 21},
+ { 0, 42}, { 20, 42}, { 40, 42}, {61, 42}, {81, 42}, {101, 42}, {122, 42}, {142, 42}, {162, 42}, {183, 42}, {203, 42}, {224, 42},
+ { 0, 64}, { 20, 64}, { 40, 64}, {61, 64}, {81, 64}, {111, 64}, {142, 64}, {162, 64}, {183, 64}, {203, 64}, {224, 64},
+ {220, 32}, {176, 32}, {132, 32}, {88, 32}, {44, 32}, {0, 32}
+ }, {
+ // LED Index to Flag
+ 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1,
+ 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1,
+ 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1,
+ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
+ 2, 2, 2, 2, 2, 2
+ }
+};
+
+
+void suspend_power_down_kb(void) {
+ rgb_matrix_set_suspend_state(true);
+ suspend_power_down_user();
+}
+
+void suspend_wakeup_init_kb(void) {
+ rgb_matrix_set_suspend_state(false);
+ suspend_wakeup_init_user();
+}
+#endif
diff --git a/keyboards/kprepublic/bm40hsrgb/bm40hsrgb.h b/keyboards/kprepublic/bm40hsrgb/bm40hsrgb.h
new file mode 100755
index 0000000000..5bde6ec9c5
--- /dev/null
+++ b/keyboards/kprepublic/bm40hsrgb/bm40hsrgb.h
@@ -0,0 +1,30 @@
+/* Copyright 2020 tominabox1
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see .
+ */
+#pragma once
+#include "quantum.h"
+
+#define LAYOUT_planck_mit( \
+ K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, \
+ K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, \
+ K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, \
+ K300, K301, K302, K303, K304, K305, K307, K308, K309, K310, K311 \
+) { \
+ { K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011 }, \
+ { K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111 }, \
+ { K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211 }, \
+ { K300, K301, K302, K303, K304, K305, KC_NO, K307, K308, K309, K310, K311 } \
+}
+
diff --git a/keyboards/kprepublic/bm40hsrgb/config.h b/keyboards/kprepublic/bm40hsrgb/config.h
new file mode 100755
index 0000000000..554927a496
--- /dev/null
+++ b/keyboards/kprepublic/bm40hsrgb/config.h
@@ -0,0 +1,57 @@
+/* Copyright 2020 tominabox1
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see .
+ */
+#pragma once
+
+#include "config_common.h"
+
+/* USB Device descriptor parameter */
+#define VENDOR_ID 0x4B50 // "KP"
+#define PRODUCT_ID 0x3430 // "40"
+#define DEVICE_VER 0x0001
+#define MANUFACTURER KPRepublic
+#define PRODUCT BM40 Hotswap RGB
+
+/* key matrix size */
+#define MATRIX_ROWS 4
+#define MATRIX_COLS 12
+
+/* key matrix pins */
+#define MATRIX_ROW_PINS { B3, B2, E6, B5 }
+#define MATRIX_COL_PINS { B6, C6, B4, D7, D4, D6, C7, F6, F5, F4, F1, F0 }
+#define UNUSED_PINS
+
+/* COL2ROW or ROW2COL */
+#define DIODE_DIRECTION COL2ROW
+
+/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
+#define DEBOUNCE 5
+
+/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
+#define LOCKING_SUPPORT_ENABLE
+
+/* Locking resynchronize hack */
+#define LOCKING_RESYNC_ENABLE
+
+#define RGB_DI_PIN E2
+#define DRIVER_LED_TOTAL 53
+#ifdef RGB_DI_PIN
+# define RGB_MATRIX_KEYPRESSES // reacts to keypresses
+# define RGBLIGHT_LIMIT_VAL 180 // Limit to vendor-recommended value
+#endif
+#ifdef RGB_MATRIX_ENABLE
+# define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended
+# define RGB_MATRIX_MAXIMUM_BRIGHTNESS 180 // Limit to vendor-recommended value
+#endif
diff --git a/keyboards/kprepublic/bm40hsrgb/info.json b/keyboards/kprepublic/bm40hsrgb/info.json
new file mode 100644
index 0000000000..54b4a5890e
--- /dev/null
+++ b/keyboards/kprepublic/bm40hsrgb/info.json
@@ -0,0 +1,60 @@
+{
+ "keyboard_name": "BM40HSRGB",
+ "url": "",
+ "maintainer": "qmk",
+ "width": 12,
+ "height": 4,
+ "layouts": {
+ "LAYOUT_planck_mit": {
+ "layout": [
+ {"label":"K00 (B3,B6)", "x":0, "y":0},
+ {"label":"K01 (B3,C6)", "x":1, "y":0},
+ {"label":"K02 (B3,B4)", "x":2, "y":0},
+ {"label":"K03 (B3,D7)", "x":3, "y":0},
+ {"label":"K04 (B3,D4)", "x":4, "y":0},
+ {"label":"K05 (B3,D6)", "x":5, "y":0},
+ {"label":"K06 (B3,C7)", "x":6, "y":0},
+ {"label":"K07 (B3,F6)", "x":7, "y":0},
+ {"label":"K08 (B3,F5)", "x":8, "y":0},
+ {"label":"K09 (B3,F4)", "x":9, "y":0},
+ {"label":"K0A (B3,F1)", "x":10, "y":0},
+ {"label":"K0B (B3,F0)", "x":11, "y":0},
+ {"label":"K10 (B2,B6)", "x":0, "y":1},
+ {"label":"K11 (B2,C6)", "x":1, "y":1},
+ {"label":"K12 (B2,B4)", "x":2, "y":1},
+ {"label":"K13 (B2,D7)", "x":3, "y":1},
+