aboutsummaryrefslogtreecommitdiff
path: root/keyboards/pearlboards
diff options
context:
space:
mode:
authorKoobaczech <67293963+Koobaczech@users.noreply.github.com>2021-07-14 16:55:12 -0400
committerGitHub <noreply@github.com>2021-07-14 13:55:12 -0700
commit867d60bd64b854cd68cd9ae93de27d9eff4ca0b6 (patch)
tree84331d02b259169055fa3bc843e065a1135210ea /keyboards/pearlboards
parent99f637e82c0af1ed61ad24163b83799251f05f79 (diff)
downloadqmk_firmware-867d60bd64b854cd68cd9ae93de27d9eff4ca0b6.tar.gz
qmk_firmware-867d60bd64b854cd68cd9ae93de27d9eff4ca0b6.zip
[Keyboard] Tidying up my projects and subprojects (#13289)
Co-authored-by: Erovia <Erovia@users.noreply.github.com> Co-authored-by: Ryan <fauxpark@gmail.com> Co-authored-by: Ethan Madden <maddene@madden.ninja>
Diffstat (limited to 'keyboards/pearlboards')
-rw-r--r--keyboards/pearlboards/pandora/config.h79
-rw-r--r--keyboards/pearlboards/pandora/info.json12
-rw-r--r--keyboards/pearlboards/pandora/keymaps/default/keymap.c83
-rw-r--r--keyboards/pearlboards/pandora/keymaps/via/keymap.c97
-rw-r--r--keyboards/pearlboards/pandora/keymaps/via/rules.mk1
-rw-r--r--keyboards/pearlboards/pandora/pandora.c17
-rw-r--r--keyboards/pearlboards/pandora/pandora.h38
-rw-r--r--keyboards/pearlboards/pandora/readme.md17
-rw-r--r--keyboards/pearlboards/pandora/rules.mk26
9 files changed, 370 insertions, 0 deletions
diff --git a/keyboards/pearlboards/pandora/config.h b/keyboards/pearlboards/pandora/config.h
new file mode 100644
index 000000000..2df4bcffc
--- /dev/null
+++ b/keyboards/pearlboards/pandora/config.h
@@ -0,0 +1,79 @@
1/*
2Copyright 2021 Koobaczech
3
4This program is free software: you can redistribute it and/or modify
5it under the terms of the GNU General Public License as published by
6the Free Software Foundation, either version 2 of the License, or
7(at your option) any later version.
8
9This program is distributed in the hope that it will be useful,
10but WITHOUT ANY WARRANTY; without even the implied warranty of
11MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12GNU General Public License for more details.
13
14You should have received a copy of the GNU General Public License
15along with this program. If not, see <http://www.gnu.org/licenses/>.
16*/
17
18#pragma once
19
20#include "config_common.h"
21
22/* USB Device descriptor parameter */
23#define VENDOR_ID 0x6963
24#define PRODUCT_ID 0x6963
25#define DEVICE_VER 0x0002
26#define MANUFACTURER Koobaczech
27#define PRODUCT Pandora
28
29/* key matrix size */
30#define MATRIX_ROWS 5
31#define MATRIX_COLS 15
32
33/*
34 * Keyboard Matrix Assignments
35 *
36 * Change this to how you wired your keyboard
37 * COLS: AVR pins used for columns, left to right
38 * ROWS: AVR pins used for rows, top to bottom
39 * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
40 * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
41 *
42 */
43#define MATRIX_ROW_PINS { B4, D7, D6, B3, B0 }
44#define MATRIX_COL_PINS { D2, D1, D0, D3, D5, B5, B6, B7, D4, C6, C7, F0, F1, F4, F7 }
45#define UNUSED_PINS
46
47/* COL2ROW, ROW2COL*/
48#define DIODE_DIRECTION COL2ROW
49
50/* Encoder Function */
51#define ENCODERS_PAD_A { F6 }
52#define ENCODERS_PAD_B { F5 }
53//#define ENCODER_DIRECTION_FLIP
54#define ENCODER_RESOLUTION 1
55#define DIP_SWITCH_PINS { B2, B5 }
56
57/*== all animations enabled ==*/
58/* If RGBLIGHT_SLEEP defined, the RGB lighting will be switched off when the host goes to sleep */
59#define RGB_DI_PIN B1
60#ifdef RGB_DI_PIN
61# define RGBLIGHT_ANIMATIONS
62# define RGBLED_NUM 12
63# define RGBLIGHT_HUE_STEP 8
64# define RGBLIGHT_SAT_STEP 8
65# define RGBLIGHT_VAL_STEP 8
66# define RGBLIGHT_SLEEP
67#endif
68
69/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
70#define DEBOUNCE 5
71
72/* Indicator Led's*/
73#define LED_CAPS_LOCK_PIN E6
74#define LED_PIN_ON_STATE 0
75/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
76#define LOCKING_SUPPORT_ENABLE
77
78/* Locking resynchronize hack */
79#define LOCKING_RESYNC_ENABLE
diff --git a/keyboards/pearlboards/pandora/info.json b/keyboards/pearlboards/pandora/info.json
new file mode 100644
index 000000000..03b75b361
--- /dev/null
+++ b/keyboards/pearlboards/pandora/info.json
@@ -0,0 +1,12 @@
1{
2 "keyboard_name": "Pandora",
3 "url": "",
4 "maintainer": "Koobaczech",
5 "width": 15,
6 "height": 5,
7 "layouts": {
8 "LAYOUT": {
9 "layout": [{"label":"0,0", "x":0, "y":0}, {"label":"0,1", "x":1, "y":0}, {"label":"0,2", "x":2, "y":0}, {"label":"0,3", "x":3, "y":0}, {"label":"0,4", "x":4, "y":0}, {"label":"0,5", "x":5, "y":0}, {"label":"0,6", "x":6, "y":0}, {"label":"0,7", "x":7, "y":0}, {"label":"0,8", "x":8, "y":0}, {"label":"0,9", "x":9, "y":0}, {"label":"0,10", "x":10, "y":0}, {"label":"0,11", "x":11, "y":0}, {"label":"0,12", "x":12, "y":0}, {"label":"0,13", "x":13, "y":0}, {"label":"0,14", "x":14, "y":0}, {"label":"1,0", "x":0, "y":1, "w":1.5}, {"label":"1,1", "x":1.5, "y":1}, {"label":"1,2", "x":2.5, "y":1}, {"label":"1,3", "x":3.5, "y":1}, {"label":"1,4", "x":4.5, "y":1}, {"label":"1,5", "x":5.5, "y":1}, {"label":"1,6", "x":6.5, "y":1}, {"label":"1,7", "x":7.5, "y":1}, {"label":"1,8", "x":8.5, "y":1}, {"label":"1,9", "x":9.5, "y":1}, {"label":"1,10", "x":10.5, "y":1}, {"label":"1,11", "x":11.5, "y":1}, {"label":"1,12", "x":12.5, "y":1}, {"label":"1,13", "x":13.5, "y":1, "w":1.5}, {"label":"2,0", "x":0, "y":2, "w":1.75}, {"label":"2,1", "x":1.75, "y":2}, {"label":"2,2", "x":2.75, "y":2}, {"label":"2,3", "x":3.75, "y":2}, {"label":"2,4", "x":4.75, "y":2}, {"label":"2,5", "x":5.75, "y":2}, {"label":"2,6", "x":6.75, "y":2}, {"label":"2,7", "x":7.75, "y":2}, {"label":"2,8", "x":8.75, "y":2}, {"label":"2,9", "x":9.75, "y":2}, {"label":"2,10", "x":10.75, "y":2}, {"label":"2,11", "x":11.75, "y":2}, {"label":"2,12", "x":12.75, "y":2}, {"label":"2,13", "x":13.75, "y":2, "w":1.25}, {"label":"3,0", "x":0, "y":3, "w":1.25}, {"label":"3,1", "x":1.25, "y":3}, {"label":"3,2", "x":2.25, "y":3}, {"label":"3,3", "x":3.25, "y":3}, {"label":"3,4", "x":4.25, "y":3}, {"label":"3,5", "x":5.25, "y":3}, {"label":"3,6", "x":6.25, "y":3}, {"label":"3,7", "x":7.25, "y":3}, {"label":"3,8", "x":8.25, "y":3}, {"label":"3,9", "x":9.25, "y":3}, {"label":"3,10", "x":10.25, "y":3}, {"label":"3,11", "x":11.25, "y":3}, {"label":"3,12", "x":12.25, "y":3, "w":1.75}, {"label":"3,13", "x":14, "y":3}, {"label":"4,0", "x":0, "y":4, "w":1.25}, {"label":"4,1", "x":1.25, "y":4, "w":1.25}, {"label":"4,2", "x":2.5, "y":4, "w":1.25}, {"label":"4,6", "x":3.75, "y":4, "w":6.25}, {"label":"4,10", "x":10, "y":4, "w":1.25}, {"label":"4,11", "x":11.25, "y":4, "w":1.25}, {"label":"4,12", "x":12.5, "y":4, "w":1.25}, {"label":"4,13", "x":13.75, "y":4, "w":1.25}]
10 }
11 }
12}
diff --git a/keyboards/pearlboards/pandora/keymaps/default/keymap.c b/keyboards/pearlboards/pandora/keymaps/default/keymap.c
new file mode 100644
index 000000000..1fd9fcfb4
--- /dev/null
+++ b/keyboards/pearlboards/pandora/keymaps/default/keymap.c
@@ -0,0 +1,83 @@
1/*
2Copyright 2021 Koobaczech
3
4This program is free software: you can redistribute it and/or modify
5it under the terms of the GNU General Public License as published by
6the Free Software Foundation, either version 2 of the License, or
7(at your option) any later version.
8
9This program is distributed in the hope that it will be useful,
10but WITHOUT ANY WARRANTY; without even the implied warranty of
11MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12GNU General Public License for more details.
13
14You should have received a copy of the GNU General Public License
15along with this program. If not, see <http://www.gnu.org/licenses/>.
16*/
17
18#include QMK_KEYBOARD_H
19
20enum custom_keycodes {
21 RGBWINGS = SAFE_RANGE,
22};
23
24/* Function to only light up winglets RGB. Must be done in static RGB mode */
25bool process_record_user(uint16_t keycode, keyrecord_t *record) {
26 switch (keycode) {
27 case RGBWINGS:
28 if (record->event.pressed) {
29 /* Blackout these RGB components */
30 tap_code16(RGB_MODE_PLAIN);
31 rgblight_setrgb_at(0, 0, 0, 0);
32 rgblight_setrgb_at(0, 0, 0, 1);
33 rgblight_setrgb_at(0, 0, 0, 4);
34 rgblight_setrgb_at(0, 0, 0, 5);
35 rgblight_setrgb_at(0, 0, 0, 6);
36 rgblight_setrgb_at(0, 0, 0, 7);
37 rgblight_setrgb_at(0, 0, 0, 10);
38 rgblight_setrgb_at(0, 0, 0, 11);
39 }
40 break;
41 }
42 return true;
43};
44
45const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
46 [0] = LAYOUT_all(
47 KC_GESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_DEL, KC_BSPC,
48 KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS,
49 KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_NUHS, KC_ENT,
50 KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, MO(1),
51 KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RGUI, KC_APP, KC_RCTL),
52
53 [1] = LAYOUT_all(
54 KC_GRV, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_TRNS, KC_DEL,
55 KC_TRNS, RGB_TOG, RGB_MOD, RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAI, RGB_VAD, KC_TRNS, KC_PSCR, KC_SLCK, KC_PAUS, RESET,
56 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_INS, KC_HOME, KC_PGUP, KC_TRNS, KC_TRNS,
57 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, BL_DEC, BL_TOGG, BL_INC, BL_STEP, KC_TRNS, KC_DEL, KC_END, KC_PGDN, KC_UP, KC_TRNS,
58 KC_TRNS, KC_TRNS, KC_TRNS, RGBWINGS, KC_TRNS, KC_LEFT, KC_DOWN, KC_RIGHT)
59};
60
61// Encoder rotate function
62bool encoder_update_user(uint8_t index, bool clockwise) {
63 /* First encoder */
64 if (index == 0) {
65 if (clockwise) {
66 tap_code(KC_AUDIO_VOL_UP);
67 } else {
68 tap_code(KC_AUDIO_VOL_DOWN);
69 }
70 }
71 return true;
72}
73// Encoder click function
74void dip_switch_update_user(uint8_t index, bool active) {
75 switch (index) {
76 /* First encoder */
77 case 0:
78 if (active) {
79 tap_code(KC_MEDIA_PLAY_PAUSE);
80 }
81 break;
82 }
83}
diff --git a/keyboards/pearlboards/pandora/keymaps/via/keymap.c b/keyboards/pearlboards/pandora/keymaps/via/keymap.c
new file mode 100644
index 000000000..01f9ef8f4
--- /dev/null
+++ b/keyboards/pearlboards/pandora/keymaps/via/keymap.c
@@ -0,0 +1,97 @@
1/*
2Copyright 2021 Koobaczech
3
4This program is free software: you can redistribute it and/or modify
5it under the terms of the GNU General Public License as published by
6the Free Software Foundation, either version 2 of the License, or
7(at your option) any later version.
8
9This program is distributed in the hope that it will be useful,
10but WITHOUT ANY WARRANTY; without even the implied warranty of
11MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12GNU General Public License for more details.
13
14You should have received a copy of the GNU General Public License
15along with this program. If not, see <http://www.gnu.org/licenses/>.
16*/
17
18#include QMK_KEYBOARD_H
19
20enum custom_keycodes {
21 RGBWINGS = SAFE_RANGE,
22};
23
24/* Function to only light up winglets RGB. Must be done in static RGB mode */
25bool process_record_user(uint16_t keycode, keyrecord_t *record) {
26 switch (keycode) {
27 case RGBWINGS:
28 if (record->event.pressed) {
29 /* Blackout these RGB components */
30 tap_code16(RGB_MODE_PLAIN);
31 rgblight_setrgb_at(0, 0, 0, 0);
32 rgblight_setrgb_at(0, 0, 0, 1);
33 rgblight_setrgb_at(0, 0, 0, 4);
34 rgblight_setrgb_at(0, 0, 0, 5);
35 rgblight_setrgb_at(0, 0, 0, 6);
36 rgblight_setrgb_at(0, 0, 0, 7);
37 rgblight_setrgb_at(0, 0, 0, 10);
38 rgblight_setrgb_at(0, 0, 0, 11);
39 }
40 break;
41 }
42 return true;
43};
44
45const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
46 [0] = LAYOUT_all(
47 KC_GESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_DEL, KC_BSPC,
48 KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS,
49 KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_NUHS, KC_ENT,
50 KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, MO(1),
51 KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RGUI, KC_APP, KC_RCTL),
52
53 [1] = LAYOUT_all(
54 KC_GRV, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_TRNS, KC_DEL,
55 KC_TRNS, RGB_TOG, RGB_MOD, RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAI, RGB_VAD, KC_TRNS, KC_PSCR, KC_SLCK, KC_PAUS, RESET,
56 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_INS, KC_HOME, KC_PGUP, KC_TRNS, KC_TRNS,
57 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, BL_DEC, BL_TOGG, BL_INC, BL_STEP, KC_TRNS, KC_DEL, KC_END, KC_PGDN, KC_UP, KC_TRNS,
58 KC_TRNS, KC_TRNS, KC_TRNS, RGBWINGS, KC_TRNS, KC_LEFT, KC_DOWN, KC_RIGHT),
59
60 [2] = LAYOUT_all(
61 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,
62 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,
63 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,
64 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,
65 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS),
66
67 [3] = LAYOUT_all(
68 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,
69 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,
70 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,
71 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,
72 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS)
73};
74
75// Encoder rotate function
76bool encoder_update_user(uint8_t index, bool clockwise) {
77 /* First encoder */
78 if (index == 0) {
79 if (clockwise) {
80 tap_code(KC_AUDIO_VOL_UP);
81 } else {
82 tap_code(KC_AUDIO_VOL_DOWN);
83 }
84 }
85 return true;
86}
87// Encoder click function
88void dip_switch_update_user(uint8_t index, bool active) {
89 switch (index) {
90 /* First encoder */
91 case 0:
92 if (active) {
93 tap_code(KC_MEDIA_PLAY_PAUSE);
94 }
95 break;
96 }
97}
diff --git a/keyboards/pearlboards/pandora/keymaps/via/rules.mk b/keyboards/pearlboards/pandora/keymaps/via/rules.mk
new file mode 100644
index 000000000..1e5b99807
--- /dev/null
+++ b/keyboards/pearlboards/pandora/keymaps/via/rules.mk
@@ -0,0 +1 @@
VIA_ENABLE = yes
diff --git a/keyboards/pearlboards/pandora/pandora.c b/keyboards/pearlboards/pandora/pandora.c
new file mode 100644
index 000000000..78368e968
--- /dev/null
+++ b/keyboards/pearlboards/pandora/pandora.c
@@ -0,0 +1,17 @@
1/* Copyright 2021 Koobaczech
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
17#include "pandora.h"
diff --git a/keyboards/pearlboards/pandora/pandora.h b/keyboards/pearlboards/pandora/pandora.h
new file mode 100644
index 000000000..73df657bc
--- /dev/null
+++ b/keyboards/pearlboards/pandora/pandora.h
@@ -0,0 +1,38 @@
1/* Copyright 2021 Koobaczech
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
17/*
18 * This layout covers all of the possible build layouts. Also, any
19 * built layouts will work without having to change anything.
20*/
21
22#pragma once
23
24#include "quantum.h"
25
26#define LAYOUT_all( \
27 k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, k0e, \
28 k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k1d, \
29 k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, k2d, \
30 k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3c, k3d, \
31 k40, k41, k42, k46, k4a, k4b, k4c, k4d \
32) { \
33 { k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, k0e }, \
34 { k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k1d, KC_NO }, \
35 { k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, k2d, KC_NO }, \
36 { k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3c, k3d, KC_NO }, \
37 { k40, k41, k42, KC_NO, KC_NO, KC_NO, k46, KC_NO, KC_NO, KC_NO, k4a, k4b, k4c, k4d, KC_NO } \
38 }
diff --git a/keyboards/pearlboards/pandora/readme.md b/keyboards/pearlboards/pandora/readme.md
new file mode 100644
index 000000000..2ac1d8acb
--- /dev/null
+++ b/keyboards/pearlboards/pandora/readme.md
@@ -0,0 +1,17 @@
1# Pandora
2
3![Pandora](https://i.imgur.com/fQRmwfOh.jpg)
4
5Pandora is an ultra premium 60 percent keyboard. The construction uses 6063 alu, pvd coated brass/stainless steel and dyed polycarbonate. The finishes include e-coating, anodizing, micro arc anodization, metal polish and fine beadblasting. Layouts are limited to a few ANSI variations such as tsangan/wkl and ISO. The keyboard also has a usb-c daugtherboard, an integrated usb hub and rotary encoder. The case has indicator lights for caps and is gasket mounted. The pcb is designed by me in house and has some super cool tricks up its sleeve as well.
6
7More info at www.pearlboards.net :]
8
9* Keyboard Maintainer: Koobaczech
10* Hardware Supported: Pandora
11* Availability: www.pearlboards.net
12
13Make example for this keyboard (after setting up your build environment):
14
15 make pearlboards/pandora:default
16
17See 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/pearlboards/pandora/rules.mk b/keyboards/pearlboards/pandora/rules.mk
new file mode 100644
index 000000000..d33287b24
--- /dev/null
+++ b/keyboards/pearlboards/pandora/rules.mk
@@ -0,0 +1,26 @@
1# MCU name
2MCU = atmega32u4
3
4# Bootloader selection
5BOOTLOADER = atmel-dfu
6
7# Build Options
8# change yes to no to disable
9#
10BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration
11MOUSEKEY_ENABLE = yes # Mouse keys
12EXTRAKEY_ENABLE = yes # Audio control and System control
13CONSOLE_ENABLE = no # Console for debug
14COMMAND_ENABLE = no # Commands for debug and configuration
15# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
16SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
17# if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
18NKRO_ENABLE = yes # USB Nkey Rollover
19BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
20RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
21BLUETOOTH_ENABLE = no # Enable Bluetooth
22AUDIO_ENABLE = no # Audio output
23DIP_SWITCH_ENABLE = yes
24ENCODER_ENABLE = yes
25OLED_DRIVER_ENABLE = no # Future release
26LTO_ENABLE = yes