aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAeonstrife <j.v.jeoffer@gmail.com>2021-09-24 21:43:53 +0530
committerGitHub <noreply@github.com>2021-09-24 09:13:53 -0700
commit257bc473e5483b1411bb5015ccbbaadd08e6ff24 (patch)
tree741a0d9874d2d3b44fb2d911e86d16fdebc560d0
parent768803ef727b3436a057257d83234809ed0e444f (diff)
downloadqmk_firmware-257bc473e5483b1411bb5015ccbbaadd08e6ff24.tar.gz
qmk_firmware-257bc473e5483b1411bb5015ccbbaadd08e6ff24.zip
[Keyboard] Add Potato65 Solderable PCB (#14047)
Co-authored-by: Drashna Jaelre <drashna@live.com> Co-authored-by: Ryan <fauxpark@gmail.com>
-rw-r--r--keyboards/buildakb/potato65s/config.h72
-rw-r--r--keyboards/buildakb/potato65s/info.json83
-rw-r--r--keyboards/buildakb/potato65s/keymaps/default/keymap.c39
-rw-r--r--keyboards/buildakb/potato65s/keymaps/default/readme.md3
-rw-r--r--keyboards/buildakb/potato65s/keymaps/via/keymap.c54
-rw-r--r--keyboards/buildakb/potato65s/keymaps/via/readme.md3
-rw-r--r--keyboards/buildakb/potato65s/keymaps/via/rules.mk1
-rw-r--r--keyboards/buildakb/potato65s/potato65s.c17
-rw-r--r--keyboards/buildakb/potato65s/potato65s.h33
-rw-r--r--keyboards/buildakb/potato65s/readme.md24
-rw-r--r--keyboards/buildakb/potato65s/rules.mk21
11 files changed, 350 insertions, 0 deletions
diff --git a/keyboards/buildakb/potato65s/config.h b/keyboards/buildakb/potato65s/config.h
new file mode 100644
index 000000000..518332785
--- /dev/null
+++ b/keyboards/buildakb/potato65s/config.h
@@ -0,0 +1,72 @@
1/*
2Copyright 2021 Maelkk
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 0x4A56
24#define PRODUCT_ID 0x0003
25#define DEVICE_VER 0x0001
26#define MANUFACTURER Maelkk
27#define PRODUCT Potato 65 Solderable
28
29/* key matrix size */
30#define MATRIX_ROWS 5
31#define MATRIX_COLS 15
32
33/* key matrix pins */
34#define MATRIX_ROW_PINS { F5, F4, F6, F0, D2 }
35#define MATRIX_COL_PINS { D3, D4, D6, D7, B4, B5, B6, F1, B0, B1, B2, B3, B7, D0, D1 }
36#define UNUSED_PINS
37
38/* COL2ROW or ROW2COL */
39#define DIODE_DIRECTION COL2ROW
40
41/* Set 0 if debouncing isn't needed */
42#define DEBOUNCE 5
43
44/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
45#define LOCKING_SUPPORT_ENABLE
46
47/* Locking resynchronize hack */
48#define LOCKING_RESYNC_ENABLE
49
50/* disable these deprecated features by default */
51#define NO_ACTION_MACRO
52#define NO_ACTION_FUNCTION
53
54#define RGB_DI_PIN D5
55#ifdef RGB_DI_PIN
56# define RGBLIGHT_EFFECT_BREATHING
57# define RGBLIGHT_EFFECT_RAINBOW_MOOD
58# define RGBLIGHT_EFFECT_RAINBOW_SWIRL
59# define RGBLIGHT_EFFECT_SNAKE
60# define RGBLIGHT_EFFECT_KNIGHT
61# define RGBLIGHT_EFFECT_CHRISTMAS
62# define RGBLIGHT_EFFECT_STATIC_GRADIENT
63# define RGBLIGHT_EFFECT_RGB_TEST
64# define RGBLIGHT_EFFECT_ALTERNATING
65# define RGBLIGHT_EFFECT_TWINKLE
66# define RGBLED_NUM 16
67# define RGBLIGHT_HUE_STEP 8
68# define RGBLIGHT_SAT_STEP 8
69# define RGBLIGHT_VAL_STEP 8
70# define RGBLIGHT_LIMIT_VAL 240
71# define RGBLIGHT_SLEEP
72#endif
diff --git a/keyboards/buildakb/potato65s/info.json b/keyboards/buildakb/potato65s/info.json
new file mode 100644
index 000000000..257ed6022
--- /dev/null
+++ b/keyboards/buildakb/potato65s/info.json
@@ -0,0 +1,83 @@
1{
2 "keyboard_name": "Potato 65 Solderable",
3 "url": "https://github.com/Aeonstrife/potato65solderable",
4 "maintainer": "Maelkk",
5 "layouts": {
6 "LAYOUT_all": {
7 "layout": [
8 { "x":0, "y":0 },
9 { "x":1, "y":0 },
10 { "x":2, "y":0 },
11 { "x":3, "y":0 },
12 { "x":4, "y":0 },
13 { "x":5, "y":0 },
14 { "x":6, "y":0 },
15 { "x":7, "y":0 },
16 { "x":8, "y":0 },
17 { "x":9, "y":0 },
18 { "x":10, "y":0 },
19 { "x":11, "y":0 },
20 { "x":12, "y":0 },
21 { "x":13, "y":0 },
22 { "x":14, "y":0 },
23 { "x":15, "y":0 },
24
25 { "x":0, "y":1, "w":1.5 },
26 { "x":1.5, "y":1 },
27 { "x":2.5, "y":1 },
28 { "x":3.5, "y":1 },
29 { "x":4.5, "y":1 },
30 { "x":5.5, "y":1 },
31 { "x":6.5, "y":1 },
32 { "x":7.5, "y":1 },
33 { "x":8.5, "y":1 },
34 { "x":9.5, "y":1 },
35 { "x":10.5, "y":1 },
36 { "x":11.5, "y":1 },
37 { "x":12.5, "y":1 },
38 { "x":13.5, "y":1, "w":1.5 },
39 { "x":15, "y":1 },
40
41 { "x":0, "y":2, "w":1.75 },
42 { "x":1.75, "y":2 },
43 { "x":2.75, "y":2 },
44 { "x":3.75, "y":2 },
45 { "x":4.75, "y":2 },
46 { "x":5.75, "y":2 },
47 { "x":6.75, "y":2 },
48 { "x":7.75, "y":2 },
49 { "x":8.75, "y":2 },
50 { "x":9.75, "y":2 },
51 { "x":10.75, "y":2 },
52 { "x":11.75, "y":2 },
53 { "x":12.75, "y":2, "w":2.25 },
54 { "x":15, "y":2 },
55
56 { "x":0, "y":3, "w":2.25 },
57 { "x":2.25, "y":3 },
58 { "x":3.25, "y":3 },
59 { "x":4.25, "y":3 },
60 { "x":5.25, "y":3 },
61 { "x":6.25, "y":3 },
62 { "x":7.25, "y":3 },
63 { "x":8.25, "y":3 },
64 { "x":9.25, "y":3 },
65 { "x":10.25, "y":3 },
66 { "x":11.25, "y":3 },
67 { "x":12.25, "y":3, "w":1.75 },
68 { "x":14, "y":3 },
69 { "x":15, "y":3 },
70
71 { "x":0, "y":4, "w":1.25 },
72 { "x":1.25, "y":4, "w":1.25 },
73 { "x":2.5, "y":4, "w":1.25 },
74 { "x":3.75, "y":4, "w":6.25 },
75 { "x":10, "y":4, "w":1.25 },
76 { "x":11.25, "y":4, "w":1.25 },
77 { "x":13, "y":4 },
78 { "x":14, "y":4 },
79 { "x":15, "y":4 }
80 ]
81 }
82 }
83}
diff --git a/keyboards/buildakb/potato65s/keymaps/default/keymap.c b/keyboards/buildakb/potato65s/keymaps/default/keymap.c
new file mode 100644
index 000000000..1382100ce
--- /dev/null
+++ b/keyboards/buildakb/potato65s/keymaps/default/keymap.c
@@ -0,0 +1,39 @@
1/* Copyright 2021 Maelkk
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 QMK_KEYBOARD_H
18
19enum layer_names {
20 _BASE,
21 _FN
22};
23
24const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
25 [_BASE] = LAYOUT_all(
26 KC_ESC, 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_BSPC, KC_DEL, KC_HOME,
27 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, KC_PGUP,
28 MO(1), 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_PGDN,
29 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, KC_END,
30 KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT
31 ),
32 [_FN1] = LAYOUT_all(
33 KC_TILD, 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_TRNS,
34 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_TRNS,
35 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,
36 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_VOLU, KC_MUTE,
37 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_MPRV, KC_VOLD, KC_MNXT
38 )
39}; \ No newline at end of file
diff --git a/keyboards/buildakb/potato65s/keymaps/default/readme.md b/keyboards/buildakb/potato65s/keymaps/default/readme.md
new file mode 100644
index 000000000..bb34368c9
--- /dev/null
+++ b/keyboards/buildakb/potato65s/keymaps/default/readme.md
@@ -0,0 +1,3 @@
1# Default Potato65 Hotswap Layout
2
3This is the default layout for the Potato65 Hotswap keyboard. Largely based on the KBD67 layout.
diff --git a/keyboards/buildakb/potato65s/keymaps/via/keymap.c b/keyboards/buildakb/potato65s/keymaps/via/keymap.c
new file mode 100644
index 000000000..ad49cf5a4
--- /dev/null
+++ b/keyboards/buildakb/potato65s/keymaps/via/keymap.c
@@ -0,0 +1,54 @@
1/* Copyright 2021 Maelkk
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
18enum layer_names {
19 _BASE,
20 _FN1,
21 _FN2,
22 _FN3
23};
24
25const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
26 [_BASE] = LAYOUT_all(
27 KC_ESC, 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_BSPC, KC_DEL, KC_HOME,
28 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, KC_PGUP,
29 MO(1), 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_PGDN,
30 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, KC_END,
31 KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT
32 ),
33 [_FN1] = LAYOUT_all(
34 KC_TILD, 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_TRNS,
35 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_TRNS,
36 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,
37 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_VOLU, KC_MUTE,
38 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_MPRV, KC_VOLD, KC_MNXT
39 ),
40 [_FN2] = LAYOUT_all(
41 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
42 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
43 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
44 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
45 _______, _______, _______, _______, _______, _______, _______, _______, _______
46 ),
47 [_FN3] = LAYOUT_all(
48 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
49 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
50 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
51 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
52 _______, _______, _______, _______, _______, _______, _______, _______, _______
53 ),
54}; \ No newline at end of file
diff --git a/keyboards/buildakb/potato65s/keymaps/via/readme.md b/keyboards/buildakb/potato65s/keymaps/via/readme.md
new file mode 100644
index 000000000..4e3ddd122
--- /dev/null
+++ b/keyboards/buildakb/potato65s/keymaps/via/readme.md
@@ -0,0 +1,3 @@
1# Default Potato65 Layout
2
3This is the VIA layout for the Potato65 Hotswap Keyboard. Largely based on the KBD67 layout.
diff --git a/keyboards/buildakb/potato65s/keymaps/via/rules.mk b/keyboards/buildakb/potato65s/keymaps/via/rules.mk
new file mode 100644
index 000000000..1e5b99807
--- /dev/null
+++ b/keyboards/buildakb/potato65s/keymaps/via/rules.mk
@@ -0,0 +1 @@
VIA_ENABLE = yes
diff --git a/keyboards/buildakb/potato65s/potato65s.c b/keyboards/buildakb/potato65s/potato65s.c
new file mode 100644
index 000000000..0d8656412
--- /dev/null
+++ b/keyboards/buildakb/potato65s/potato65s.c
@@ -0,0 +1,17 @@
1/* Copyright 2021 Maelkk
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 "potato65s.h"
diff --git a/keyboards/buildakb/potato65s/potato65s.h b/keyboards/buildakb/potato65s/potato65s.h
new file mode 100644
index 000000000..739a01af2
--- /dev/null
+++ b/keyboards/buildakb/potato65s/potato65s.h
@@ -0,0 +1,33 @@
1/* Copyright 2021 Maelkk
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#define LAYOUT_all( \
22 K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K013, K212, K014, \
23 K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, K114, \
24 K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K213, K214, \
25 K300, K301, K302, K303, K304, K305, K306, K307, K308, K309, K310, K312, K313, K314, \
26 K400, K401, K402, K403, K409, K410, K412, K413, K414 \
27) { \
28 { K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K013, K014 }, \
29 { K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, K114 }, \
30 { K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, K213, K214 }, \
31 { K300, K301, K302, K303, K304, K305, K306, K307, K308, K309, K310, KC_NO, K312, K313, K314 }, \
32 { K400, K401, K402, K403, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, K409, K410, KC_NO, K412, K413, K414 } \
33}
diff --git a/keyboards/buildakb/potato65s/readme.md b/keyboards/buildakb/potato65s/readme.md
new file mode 100644
index 000000000..f24b97ca6
--- /dev/null
+++ b/keyboards/buildakb/potato65s/readme.md
@@ -0,0 +1,24 @@
1# Potato65 Solderable Keyboard
2
3![Potato65 Solderable](https://i.imgur.com/ysAGZCmh.jpg)
4
5A solderable gasket mount stacked acrylic 65% keyboard
6
7- Keyboard Maintainer: [Maelkk](https://github.com/Aeonstrife)
8- Hardware Supported: Potato65 Keyboard
9- Hardware Availability: Private Group-Buy
10
11Make example for this keyboard (after setting up your build environment):
12
13 make buildakb/potato65s:default
14
15Flashing example for this keyboard:
16
17 make buildakb/potato65s:default:flash
18
19To reset into bootloader mode:
20
21While plugged in, press the RESET switch located on the back of the pcb.
22The keyboard should now be in bootloader mode.
23
24See 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). \ No newline at end of file
diff --git a/keyboards/buildakb/potato65s/rules.mk b/keyboards/buildakb/potato65s/rules.mk
new file mode 100644
index 000000000..bb941aca5
--- /dev/null
+++ b/keyboards/buildakb/potato65s/rules.mk
@@ -0,0 +1,21 @@
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 = yes # Enable Bootmagic Lite
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
20AUDIO_ENABLE = no # Audio output
21RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow