diff options
| author | marhalloweenvt <marhalloweenvt@gmail.com> | 2020-01-02 23:57:47 +0700 |
|---|---|---|
| committer | James Young <18669334+noroadsleft@users.noreply.github.com> | 2020-01-02 08:57:47 -0800 |
| commit | 53757f97059ce02a1af31aae456b168954f5232e (patch) | |
| tree | 84189edeb1c6eb76ffb656357f7b7fd3c49d1b4f /keyboards/handwired/p65rgb | |
| parent | 8ec0b378bc5cd0f0154e24c4a765f91b60791f2c (diff) | |
| download | qmk_firmware-53757f97059ce02a1af31aae456b168954f5232e.tar.gz qmk_firmware-53757f97059ce02a1af31aae456b168954f5232e.zip | |
[Keyboard] Add p65rgb PCB (#7753)
* [Keyboard] Add new keyboard Symmetry60
* Add new keyboard Symmetry60
* Fix Typo
* Update keyboards/handwired/symmetry60/config.h
* Update keyboards/handwired/symmetry60/readme.md
* Update keyboards/handwired/symmetry60/readme.md
* Update keyboards/handwired/symmetry60/readme.md
* Update keyboards/handwired/symmetry60/rules.mk
* Update keyboards/handwired/symmetry60/symmetry60.h
* Update keyboards/handwired/symmetry60/symmetry60.h
* Update keyboards/handwired/symmetry60/symmetry60.h
* Update readme.md
* Update keymap.c
* Update keymap.c
* Update keymap.c
* Update rules.mk
* Update symmetry60.c
* Update keyboards/handwired/symmetry60/rules.mk
* Add ColorLice
* Update ColorLice
- Adjust info.json to support Configurator
- Adjust layout name to fit with info.json
- Seperate 2 feature: RGB Switch and RGB Underglow
* Update new way of control lock leds
* Remove #ifndef COLORLICE_H
* Update make example
* Revert Helix
* Revert Helix
* Revert Helix
* Revert Helix
* Update keyboards/handwired/colorlice/colorlice.h
* Update keyboards/handwired/colorlice/colorlice.h
* Update default keymap
* Revert Helix
* Update keyboards/handwired/colorlice/readme.md
* Update keyboards/handwired/colorlice/rules.mk
* Update keyboards/handwired/colorlice/colorlice.c
* Update keyboards/handwired/colorlice/colorlice.c
* Remove unnecessary function
* Update keyboards/handwired/colorlice/colorlice.c
* Adjust rules option for working with Configurator
- Move RGB_MATRIX_ENABLE and RGBLIGHT_ENABLE to keyboard rule.
- Add RGB_DI_PIN in keyboard config
* Update keyboards/helix/rev2/keymaps/default/keymap.c
* Update keyboards/handwired/colorlice/readme.md
* Update keymap for Colorlice
* Adjust rules.mk to use space indent
* Update ColorLice to work with QMK online configurator
- Delete rgb_underglow keymap
- Move config from keymap layer to keyboard layer
- Tweak a little layout so it can appear default layout on QMK config
* Update keyboards/handwired/colorlice/rules.mk
* Update keyboards/handwired/colorlice/rules.mk
* Add p65rgb
* Update keyboards/handwired/p65rgb/config.h
* Update p65rgb.c
* Update keymap.c
* Update rules.mk
Diffstat (limited to 'keyboards/handwired/p65rgb')
| -rw-r--r-- | keyboards/handwired/p65rgb/config.h | 64 | ||||
| -rw-r--r-- | keyboards/handwired/p65rgb/info.json | 82 | ||||
| -rw-r--r-- | keyboards/handwired/p65rgb/keymaps/default/keymap.c | 33 | ||||
| -rw-r--r-- | keyboards/handwired/p65rgb/p65rgb.c | 49 | ||||
| -rw-r--r-- | keyboards/handwired/p65rgb/p65rgb.h | 42 | ||||
| -rw-r--r-- | keyboards/handwired/p65rgb/readme.md | 15 | ||||
| -rw-r--r-- | keyboards/handwired/p65rgb/rules.mk | 33 |
7 files changed, 318 insertions, 0 deletions
diff --git a/keyboards/handwired/p65rgb/config.h b/keyboards/handwired/p65rgb/config.h new file mode 100644 index 000000000..c3900c7ec --- /dev/null +++ b/keyboards/handwired/p65rgb/config.h | |||
| @@ -0,0 +1,64 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2019 marhalloweenvt | ||
| 3 | |||
| 4 | This program is free software: you can redistribute it and/or modify | ||
| 5 | it under the terms of the GNU General Public License as published by | ||
| 6 | the Free Software Foundation, either version 2 of the License, or | ||
| 7 | (at your option) any later version. | ||
| 8 | |||
| 9 | This program is distributed in the hope that it will be useful, | ||
| 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 12 | GNU General Public License for more details. | ||
| 13 | |||
| 14 | You should have received a copy of the GNU General Public License | ||
| 15 | along 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 0xFEED | ||
| 24 | #define PRODUCT_ID 0x75B4 | ||
| 25 | #define DEVICE_VER 0x0001 | ||
| 26 | #define MANUFACTURER marhalloweenvt | ||
| 27 | #define PRODUCT p65rgb | ||
| 28 | #define DESCRIPTION Replacement PCB for e6.5 | ||
| 29 | |||
| 30 | /* key matrix size */ | ||
| 31 | #define MATRIX_ROWS 5 | ||
| 32 | #define MATRIX_COLS 17 | ||
| 33 | |||
| 34 | /* key matrix pins */ | ||
| 35 | #define MATRIX_ROW_PINS { C7, C6, B6, B5, D5 } | ||
| 36 | #define MATRIX_COL_PINS { E6, F0, F1, F4, F5, F6, F7, B0, B1, B2, B3, B7, D0, D1, D2, D3, D7 } | ||
| 37 | #define UNUSED_PINS | ||
| 38 | |||
| 39 | /* COL2ROW, ROW2COL*/ | ||
| 40 | #define DIODE_DIRECTION COL2ROW | ||
| 41 | |||
| 42 | #define RGB_DI_PIN B4 | ||
| 43 | #define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects | ||
| 44 | #define RGB_DISABLE_WHEN_USB_SUSPENDED true // turn off effects when suspended | ||
| 45 | #define RGB_MATRIX_KEYPRESSES | ||
| 46 | #define RGB_MATRIX_FRAMEBUFFER_EFFECTS | ||
| 47 | #define RGB_MATRIX_LED_PROCESS_LIMIT 4 | ||
| 48 | #define RGB_MATRIX_LED_FLUSH_LIMIT 26 | ||
| 49 | #define DRIVER_LED_TOTAL 83 | ||
| 50 | #define RGBLIGHT_LIMIT_VAL 180 | ||
| 51 | |||
| 52 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | ||
| 53 | #define DEBOUNCE 5 | ||
| 54 | |||
| 55 | /* define if matrix has ghost (lacks anti-ghosting diodes) */ | ||
| 56 | //#define MATRIX_HAS_GHOST | ||
| 57 | |||
| 58 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||
| 59 | #define LOCKING_SUPPORT_ENABLE | ||
| 60 | /* Locking resynchronize hack */ | ||
| 61 | #define LOCKING_RESYNC_ENABLE | ||
| 62 | |||
| 63 | #define QMK_ESC_OUTPUT E6 // usually COL | ||
| 64 | #define QMK_ESC_INPUT C7 // usually ROW | ||
diff --git a/keyboards/handwired/p65rgb/info.json b/keyboards/handwired/p65rgb/info.json new file mode 100644 index 000000000..b3901525d --- /dev/null +++ b/keyboards/handwired/p65rgb/info.json | |||
| @@ -0,0 +1,82 @@ | |||
| 1 | { | ||
| 2 | "keyboard_name": "p65rgb", | ||
| 3 | "url": "", | ||
| 4 | "maintainer": "marhalloweenvt", | ||
| 5 | "width": 16, | ||
| 6 | "height": 5, | ||
| 7 | "layouts": { | ||
| 8 | "LAYOUT": { | ||
| 9 | "layout": [ | ||
| 10 | {"label":"Esc", "x":0, "y":0}, | ||
| 11 | {"label":"!", "x":1, "y":0}, | ||
| 12 | {"label":"@", "x":2, "y":0}, | ||
| 13 | {"label":"#", "x":3, "y":0}, | ||
| 14 | {"label":"$", "x":4, "y":0}, | ||
| 15 | {"label":"%", "x":5, "y":0}, | ||
| 16 | {"label":"^", "x":6, "y":0}, | ||
| 17 | {"label":"&", "x":7, "y":0}, | ||
| 18 | {"label":"*", "x":8, "y":0}, | ||
| 19 | {"label":"(", "x":9, "y":0}, | ||
| 20 | {"label":")", "x":10, "y":0}, | ||
| 21 | {"label":"_", "x":11, "y":0}, | ||
| 22 | {"label":"+", "x":12, "y":0}, | ||
| 23 | {"label":"~", "x":13, "y":0}, | ||
| 24 | {"label":"|", "x":14, "y":0}, | ||
| 25 | {"label":"Delete", "x":15, "y":0}, | ||
| 26 | {"label":"Tab", "x":0, "y":1, "w":1.5}, | ||
| 27 | {"label":"Q", "x":1.5, "y":1}, | ||
| 28 | {"label":"W", "x":2.5, "y":1}, | ||
| 29 | {"label":"E", "x":3.5, "y":1}, | ||
| 30 | {"label":"R", "x":4.5, "y":1}, | ||
| 31 | {"label":"T", "x":5.5, "y":1}, | ||
| 32 | {"label":"Y", "x":6.5, "y":1}, | ||
| 33 | {"label":"U", "x":7.5, "y":1}, | ||
| 34 | {"label":"I", "x":8.5, "y":1}, | ||
| 35 | {"label":"O", "x":9.5, "y":1}, | ||
| 36 | {"label":"P", "x":10.5, "y":1}, | ||
| 37 | {"label":"{", "x":11.5, "y":1}, | ||
| 38 | {"label":"}", "x":12.5, "y":1}, | ||
| 39 | {"label":"Backspace", "x":13.5, "y":1, "w":1.5}, | ||
| 40 | {"label":"PgUp", "x":15, "y":1}, | ||
| 41 | {"label":"Caps Lock", "x":0, "y":2, "w":1.75}, | ||
| 42 | {"label":"A", "x":1.75, "y":2}, | ||
| 43 | {"label":"S", "x":2.75, "y":2}, | ||
| 44 | {"label":"D", "x":3.75, "y":2}, | ||
| 45 | {"label":"F", "x":4.75, "y":2}, | ||
| 46 | {"label":"G", "x":5.75, "y":2}, | ||
| 47 | {"label":"H", "x":6.75, "y":2}, | ||
| 48 | {"label":"J", "x":7.75, "y":2}, | ||
| 49 | {"label":"K", "x":8.75, "y":2}, | ||
| 50 | {"label":"L", "x":9.75, "y":2}, | ||
| 51 | {"label":":", "x":10.75, "y":2}, | ||
| 52 | {"label":"\"", "x":11.75, "y":2}, | ||
| 53 | {"label":"Enter", "x":12.75, "y":2}, | ||
| 54 | {"label":"Enter", "x":13.75, "y":2, "w":1.25}, | ||
| 55 | {"label":"PgDn", "x":15, "y":2}, | ||
| 56 | {"label":"Shift", "x":0, "y":3, "w":2.25}, | ||
| 57 | {"label":"Z", "x":2.25, "y":3}, | ||
| 58 | {"label":"X", "x":3.25, "y":3}, | ||
| 59 | {"label":"C", "x":4.25, "y":3}, | ||
| 60 | {"label":"V", "x":5.25, "y":3}, | ||
| 61 | {"label":"B", "x":6.25, "y":3}, | ||
| 62 | {"label":"N", "x":7.25, "y":3}, | ||
| 63 | {"label":"M", "x":8.25, "y":3}, | ||
| 64 | {"label":"<", "x":9.25, "y":3}, | ||
| 65 | {"label":">", "x":10.25, "y":3}, | ||
| 66 | {"label":"?", "x":11.25, "y":3}, | ||
| 67 | {"label":"Shift", "x":12.25, "y":3, "w":1.75}, | ||
| 68 | {"label":"Up", "x":14, "y":3}, | ||
| 69 | {"label":"Fn", "x":15, "y":3}, | ||
| 70 | {"label":"Ctrl", "x":0, "y":4, "w":1.25}, | ||
| 71 | {"label":"Win", "x":1.25, "y":4, "w":1.25}, | ||
| 72 | {"label":"Alt", "x":2.5, "y":4, "w":1.25}, | ||
| 73 | {"x":3.75, "y":4, "w":6.25}, | ||
| 74 | {"label":"Fn", "x":10, "y":4, "w":1.25}, | ||
| 75 | {"label":"Menu", "x":11.25, "y":4, "w":1.25}, | ||
| 76 | {"label":"Left", "x":13, "y":4}, | ||
| 77 | {"label":"Down", "x":14, "y":4}, | ||
| 78 | {"label":"Right", "x":15, "y":4} | ||
| 79 | ] | ||
| 80 | } | ||
| 81 | } | ||
| 82 | } | ||
diff --git a/keyboards/handwired/p65rgb/keymaps/default/keymap.c b/keyboards/handwired/p65rgb/keymaps/default/keymap.c new file mode 100644 index 000000000..2a9f6cc71 --- /dev/null +++ b/keyboards/handwired/p65rgb/keymaps/default/keymap.c | |||
| @@ -0,0 +1,33 @@ | |||
| 1 | /* Copyright 2019 marhalloweenvt | ||
| 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 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 19 | |||
| 20 | [0] = LAYOUT( /* Base */ | ||
| 21 | 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_GRV, KC_BSLS, KC_DEL, | ||
| 22 | 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_BSPC, KC_PGUP, | ||
| 23 | CTL_T(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_ENT, KC_ENT, KC_PGDN, | ||
| 24 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, TO(1), | ||
| 25 | KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, MO(1), KC_APP, KC_LEFT, KC_DOWN, KC_RIGHT), | ||
| 26 | [1] = LAYOUT( /* FN */ | ||
| 27 | KC_GESC, 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_TRNS, KC_INS, | ||
| 28 | 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, KC_HOME, | ||
| 29 | CTL_T(KC_CAPS),RGB_SPI, RGB_SPD, KC_TRNS,KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, EEP_RST, KC_END, | ||
| 30 | KC_LSFT, KC_TRNS, KC_TRNS, KC_TRNS,KC_TRNS, KC_TRNS, NK_TOGG, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_VOLU, KC_MUTE, | ||
| 31 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_MPRV, KC_VOLD, KC_MNXT), | ||
| 32 | |||
| 33 | }; | ||
diff --git a/keyboards/handwired/p65rgb/p65rgb.c b/keyboards/handwired/p65rgb/p65rgb.c new file mode 100644 index 000000000..5c045c2fc --- /dev/null +++ b/keyboards/handwired/p65rgb/p65rgb.c | |||
| @@ -0,0 +1,49 @@ | |||
| 1 | /* Copyright 2019 marhalloweenvt | ||
| 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 "p65rgb.h" | ||
| 18 | |||
| 19 | led_config_t g_led_config = { { | ||
| 20 | { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16 }, | ||
| 21 | { 33, 32, 31, 30, 29, 28, 27, 26, 25, 24, 23, 22, 21, 20, 19, 18, 17 }, | ||
| 22 | { 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50 }, | ||
| 23 | { 67, 66, 65, 64, 63, 62, 61, 60, 59, 58, 57, 56, 55, 54, 53, 52, 51 }, | ||
| 24 | { 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82 } | ||
| 25 | }, { | ||
| 26 | { 0, 0 }, { 15, 0 }, { 30, 0 }, { 45, 0 }, { 60, 0 }, { 75, 0 }, { 90, 0 }, {105, 0 }, {120, 0 }, {135, 0 }, {150, 0 }, {165, 0 }, {180, 0 }, {195, 0 }, {205, 0 }, {210, 0 }, {224, 0 }, | ||
| 27 | { 224,16 }, {224, 16 }, {210, 16 }, {180, 16 }, {165, 16 }, {150, 16 }, {135, 16 }, {120, 16 }, {105, 16 }, { 90, 16 }, { 75, 16 }, { 60, 16 }, { 45, 16 }, { 30, 16 }, { 15, 16 }, { 0, 16 }, { 0, 16 }, | ||
| 28 | { 0, 32 }, { 0, 32 }, { 15, 32 }, { 30, 32 }, { 45, 32 }, { 60, 32 }, { 75, 32 }, { 90, 32 }, {105, 32 }, {120, 32 }, {135, 32 }, {150, 32 }, {165, 32 }, {190, 32 }, {205, 32 }, {210, 32 }, {224, 32 }, | ||
| 29 | { 224, 8 }, {224, 48 }, {210, 48 }, {195, 48 }, {180, 48 }, {150, 48 }, {135, 48 }, {120, 48 }, {105, 48 }, { 90, 48 }, { 75, 48 }, { 60, 48 }, { 45, 48 }, { 30, 48 }, { 15, 48 }, { 0, 48 }, { 0, 48 }, | ||
| 30 | { 0, 64 }, { 0, 64 }, { 0, 64 }, { 15, 64 }, { 15, 64 }, { 40, 64 }, { 90, 64 }, {105, 64 }, {150, 64 }, {180, 64 }, {180, 64 }, {195, 64 }, {210, 64 }, {220, 64 }, {224, 64 } | ||
| 31 | }, { | ||
| 32 | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | ||
| 33 | 2, 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, 2, | ||
| 34 | 2, 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, | ||
| 35 | 2, 2, 1, 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, 2, | ||
| 36 | 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2 | ||
| 37 | } }; | ||
| 38 | |||
| 39 | void suspend_power_down_kb(void) | ||
| 40 | { | ||
| 41 | rgb_matrix_set_suspend_state(true); | ||
| 42 | suspend_power_down_user(); | ||
| 43 | } | ||
| 44 | |||
| 45 | void suspend_wakeup_init_kb(void) | ||
| 46 | { | ||
| 47 | rgb_matrix_set_suspend_state(false); | ||
| 48 | suspend_wakeup_init_user(); | ||
| 49 | } | ||
diff --git a/keyboards/handwired/p65rgb/p65rgb.h b/keyboards/handwired/p65rgb/p65rgb.h new file mode 100644 index 000000000..fd7e216d1 --- /dev/null +++ b/keyboards/handwired/p65rgb/p65rgb.h | |||
| @@ -0,0 +1,42 @@ | |||
| 1 | /* Copyright 2019 marhalloweenvt | ||
| 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 | #pragma once | ||
| 18 | |||
| 19 | #include "quantum.h" | ||
| 20 | |||
| 21 | /* This a shortcut to help you visually see your layout. | ||
| 22 | * | ||
| 23 | * The first section contains all of the arguments representing the physical | ||
| 24 | * layout of the board and position of the keys. | ||
| 25 | * | ||
| 26 | * The second converts the arguments into a two-dimensional array which | ||
| 27 | * represents the switch matrix. | ||
| 28 | */ | ||
| 29 | #define LAYOUT( \ | ||
| 30 | k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, k0e, k0f, \ | ||
| 31 | k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k1e, k1f, \ | ||
| 32 | k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, K2e, k2f, \ | ||
| 33 | k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3c, k3e, k3f, \ | ||
| 34 | k40, k41, k42, k45, k49, k4a, k4c, k4e, k4f \ | ||
| 35 | ) { \ | ||
| 36 | { k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, k0e, k0f, KC_NO }, \ | ||
| 37 | { k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, KC_NO, k1e, k1f, KC_NO }, \ | ||
| 38 | { k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, KC_NO, K2e, k2f, KC_NO }, \ | ||
| 39 | { k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, KC_NO, k3c, KC_NO, k3e, k3f, KC_NO }, \ | ||
| 40 | { k40, k41, k42, KC_NO, KC_NO, k45, KC_NO, KC_NO, KC_NO, k49, k4a, KC_NO, k4c, KC_NO, k4e, k4f, KC_NO }, \ | ||
| 41 | } | ||
| 42 | |||
diff --git a/keyboards/handwired/p65rgb/readme.md b/keyboards/handwired/p65rgb/readme.md new file mode 100644 index 000000000..e0c787b86 --- /dev/null +++ b/keyboards/handwired/p65rgb/readme.md | |||
| @@ -0,0 +1,15 @@ | |||
| 1 | # p65rgb | ||
| 2 | |||
| 3 |  | ||
| 4 | |||
| 5 | A replacement PCB for my E6.5 Keyboard | ||
| 6 | |||
| 7 | * Keyboard Maintainer: [marhalloweenvt](https://github.com/marhalloweenvt) | ||
| 8 | * Hardware Supported: p65rgb | ||
| 9 | * Hardware Availability: p65rgb | ||
| 10 | |||
| 11 | Make example for this keyboard (after setting up your build environment): | ||
| 12 | |||
| 13 | make handwired/p65rgb:default | ||
| 14 | |||
| 15 | 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/handwired/p65rgb/rules.mk b/keyboards/handwired/p65rgb/rules.mk new file mode 100644 index 000000000..297aa1cd7 --- /dev/null +++ b/keyboards/handwired/p65rgb/rules.mk | |||
| @@ -0,0 +1,33 @@ | |||
| 1 | # MCU name | ||
| 2 | MCU = atmega32u4 | ||
| 3 | |||
| 4 | # Bootloader selection | ||
| 5 | # Teensy halfkay | ||
| 6 | # Pro Micro caterina | ||
| 7 | # Atmel DFU atmel-dfu | ||
| 8 | # LUFA DFU lufa-dfu | ||
| 9 | # QMK DFU qmk-dfu | ||
| 10 | # ATmega32A bootloadHID | ||
| 11 | # ATmega328P USBasp | ||
| 12 | BOOTLOADER = qmk-dfu | ||
| 13 | |||
| 14 | # Build Options | ||
| 15 | # change yes to no to disable | ||
| 16 | # | ||
| 17 | BOOTMAGIC_ENABLE = yes # Virtual DIP switch configuration | ||
| 18 | MOUSEKEY_ENABLE = yes # Mouse keys | ||
| 19 | EXTRAKEY_ENABLE = yes # Audio control and System control | ||
| 20 | CONSOLE_ENABLE = no # Console for debug | ||
| 21 | COMMAND_ENABLE = no # Commands for debug and configuration | ||
| 22 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE | ||
| 23 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | ||
| 24 | # if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | ||
| 25 | NKRO_ENABLE = yes # USB Nkey Rollover | ||
| 26 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality | ||
| 27 | RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow | ||
| 28 | RGB_MATRIX_ENABLE = WS2812 # Enable keyboard RGB backlight functionality with ws2812 driver | ||
| 29 | MIDI_ENABLE = no # MIDI support | ||
| 30 | BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID | ||
| 31 | AUDIO_ENABLE = no # Audio output on port C6 | ||
| 32 | FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches | ||
| 33 | HD44780_ENABLE = no # Enable support for HD44780 based LCDs | ||
