Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add keyboard 3dp660 #10296

Merged
merged 49 commits into from
Sep 24, 2020
Merged
Show file tree
Hide file tree
Changes from 44 commits
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
e7512a3
Merge pull request #1 from qmk/master
gooberpsycho Sep 11, 2020
b2a2d98
Create keymap.c
gooberpsycho Sep 12, 2020
a73bc41
Add files via upload
gooberpsycho Sep 12, 2020
83e9ef4
Added files for handwired 3d printed clueboard 660
gooberpsycho Sep 12, 2020
1ebf9a5
create via layout files
gooberpsycho Sep 12, 2020
caf8677
added layout files for via
gooberpsycho Sep 12, 2020
d260f8a
updated product ID to fix id conflicts
gooberpsycho Sep 12, 2020
7afd44e
change product ID to fix ID conflicts.
gooberpsycho Sep 12, 2020
65c87cd
fixed capitalization error that was causing issues
gooberpsycho Sep 12, 2020
2ef1927
fixed capitalization issues.
gooberpsycho Sep 12, 2020
0c1c2f4
fix syntax errors
gooberpsycho Sep 12, 2020
a764c49
Fixed syntax errors (stray punctuation)
gooberpsycho Sep 12, 2020
ba0840e
Compatibility fixes
gooberpsycho Sep 12, 2020
0848dd2
Compatibility fixes
gooberpsycho Sep 12, 2020
4467b7f
Compatibility fixes
gooberpsycho Sep 12, 2020
20d4c4b
Compatibility fixes
gooberpsycho Sep 12, 2020
df18f70
capitalization fixes
gooberpsycho Sep 12, 2020
aaf0b03
Compatibility fixes
gooberpsycho Sep 12, 2020
9021564
Compatibility fixes
gooberpsycho Sep 12, 2020
ca2c7b1
Compatibility Fixes
gooberpsycho Sep 12, 2020
4312096
Compatibility fixes
gooberpsycho Sep 12, 2020
343c6af
Compatibility fixes
gooberpsycho Sep 12, 2020
3f45309
Compatibility changes
gooberpsycho Sep 12, 2020
8f7f14c
upkeep, fixing typos
gooberpsycho Sep 12, 2020
f2bc6aa
Update keyboards/handwired/3dp660/config.h
gooberpsycho Sep 21, 2020
e44edf6
Update keyboards/handwired/3dp660/rules.mk
gooberpsycho Sep 21, 2020
b82fef9
Update keyboards/handwired/3dp660/3dp660.h
gooberpsycho Sep 21, 2020
33e0df5
Update keyboards/handwired/3dp660/keymaps/default/keymap.c
gooberpsycho Sep 21, 2020
cc536e1
Update keyboards/handwired/3dp660/keymaps/via/keymap.c
gooberpsycho Sep 21, 2020
0270824
Delete 3dp660.json
gooberpsycho Sep 21, 2020
c2e3f28
Update info.json
gooberpsycho Sep 21, 2020
206e125
Update keymap.c
gooberpsycho Sep 21, 2020
1e25c72
Update keymap.c
gooberpsycho Sep 21, 2020
79736b6
Update keyboards/handwired/3dp660/readme.md
gooberpsycho Sep 21, 2020
7218c3b
Update keyboards/handwired/3dp660/rules.mk
gooberpsycho Sep 21, 2020
7ff9bf9
Delete config.h
gooberpsycho Sep 21, 2020
e3fda39
Update keyboards/handwired/3dp660/rules.mk
gooberpsycho Sep 21, 2020
fdf10a0
Update 3dp660.c
gooberpsycho Sep 22, 2020
6c820a8
Update 3dp660.h
gooberpsycho Sep 22, 2020
0830e4b
Update keymap.c
gooberpsycho Sep 22, 2020
54a2f50
Update keymap.c
gooberpsycho Sep 22, 2020
fd87cbc
Update keyboards/handwired/3dp660/readme.md
gooberpsycho Sep 23, 2020
5c5fe68
Update keyboards/handwired/3dp660/keymaps/default/keymap.c
gooberpsycho Sep 23, 2020
26c1681
Update keyboards/handwired/3dp660/keymaps/default/rules.mk
gooberpsycho Sep 23, 2020
3aa11b8
Update rules.mk
gooberpsycho Sep 23, 2020
2d40001
Update rules.mk
gooberpsycho Sep 23, 2020
3613799
Delete rules.mk
gooberpsycho Sep 23, 2020
a48da57
Update keyboards/handwired/3dp660/rules.mk
gooberpsycho Sep 23, 2020
7ffa459
Apply suggestions from code review
gooberpsycho Sep 24, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions keyboards/handwired/3dp660/3dp660.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
/* Copyright 2020 gooberpsycho
*
* 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 <http://www.gnu.org/licenses/>.
*/

#include "3dp660.h"
35 changes: 35 additions & 0 deletions keyboards/handwired/3dp660/3dp660.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
/* Copyright 2020 gooberpsycho
*
* 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 <http://www.gnu.org/licenses/>.
*/

#pragma once
#include "quantum.h"

// The first section contains all of the arguments
// The second converts the arguments into a two-dimensional array
#define LAYOUT_ansi_5x15( \
gooberpsycho marked this conversation as resolved.
Show resolved Hide resolved
k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0A, k0B, k0C, k0D, k0E, \
k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1A, k1B, k1C, k1D, k1E, \
k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2A, k2B, k2C, \
k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3A, k3C, k3D, \
k40, k41, k42, k45, k49, k4A, k4B, k4C, k4D, k4E \
) \
{ \
{k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0A, k0B, k0C, k0D, k0E}, \
{k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1A, k1B, k1C, k1D, k1E}, \
{k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2A, k2B, k2C, KC_NO, KC_NO}, \
{k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3A, KC_NO, k3C, k3D, KC_NO}, \
{k40, k41, k42, KC_NO, KC_NO, k45, KC_NO, KC_NO, KC_NO, k49, k4A, k4B, k4C, k4D, k4E} \
}
51 changes: 51 additions & 0 deletions keyboards/handwired/3dp660/config.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
/*
Copyright 2012 Jun Wako <[email protected]>

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 <http://www.gnu.org/licenses/>.
*/

#pragma once

#include "config_common.h"
/* USB Device descriptor parameter */
#define VENDOR_ID 0xFEED
#define PRODUCT_ID 0x6075
#define DEVICE_VER 0x0001
#define MANUFACTURER Handwired
#define PRODUCT 3dp660

#define TAPPING_TERM 400

/* key matrix size */
#define MATRIX_ROWS 5
#define MATRIX_COLS 15

// ROWS: Top to bottom, COLS: Left to right

#define MATRIX_ROW_PINS { B0, B1, B2, B3, B7 }
#define MATRIX_COL_PINS { D2, D3, C6, C7, D5, D4, D7, B4, B5, B6, F7, F6, F5, F4, F1 }
#define UNUSED_PINS

/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW


/* 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

79 changes: 79 additions & 0 deletions keyboards/handwired/3dp660/info.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
{
"keyboard_name": "3dp660",
"url": "",
"maintainer": "qmk",
"width": 15,
"height": 5,
"layouts": {
"LAYOUT_ansi_5x15": {
gooberpsycho marked this conversation as resolved.
Show resolved Hide resolved
"layout": [
{"label":"Esc", "x":0, "y":0},
{"label":"1", "x":1, "y":0},
{"label":"2", "x":2, "y":0},
{"label":"3", "x":3, "y":0},
{"label":"4", "x":4, "y":0},
{"label":"5", "x":5, "y":0},
{"label":"6", "x":6, "y":0},
{"label":"7", "x":7, "y":0},
{"label":"8", "x":8, "y":0},
{"label":"9", "x":9, "y":0},
{"label":"0", "x":10, "y":0},
{"label":"-", "x":11, "y":0},
{"label":"=", "x":12, "y":0},
{"label":"BKSP", "x":13, "y":0, "w":2},
{"label":"Insert", "x":14, "y":0},
gooberpsycho marked this conversation as resolved.
Show resolved Hide resolved
{"label":"Tab", "x":0, "y":1, "w":1.5},
{"label":"Q", "x":1, "y":1},
{"label":"W", "x":2, "y":1},
{"label":"E", "x":3, "y":1},
{"label":"R", "x":4, "y":1},
{"label":"T", "x":5, "y":1},
{"label":"Y", "x":6, "y":1},
{"label":"U", "x":7, "y":1},
{"label":"I", "x":8, "y":1},
{"label":"O", "x":9, "y":1},
{"label":"P", "x":10, "y":1},
{"label":"[", "x":11, "y":1},
{"label":"]", "x":12, "y":1},
{"label":"|", "x":13, "y":1, "w":1.5},
{"label":"Del", "x":14, "y":1},
{"label":"CAPS", "x":0, "y":2, "w":1.75},
{"label":"A", "x":1, "y":2},
{"label":"S", "x":2, "y":2},
{"label":"D", "x":3, "y":2},
{"label":"F", "x":4, "y":2},
{"label":"G", "x":5, "y":2},
{"label":"H", "x":6, "y":2},
{"label":"J", "x":7, "y":2},
{"label":"K", "x":8, "y":2},
{"label":"L", "x":9, "y":2},
{"label":";", "x":10, "y":2},
{"label":"'", "x":11, "y":2},
{"label":"Enter", "x":12, "y":2, "w":2.25},
gooberpsycho marked this conversation as resolved.
Show resolved Hide resolved
{"label":"Shift", "x":0, "y":3, "w":2.25},
{"label":"Z", "x":1, "y":3},
{"label":"X", "x":2, "y":3},
{"label":"C", "x":3, "y":3},
{"label":"V", "x":4, "y":3},
{"label":"B", "x":5, "y":3},
{"label":"N", "x":6, "y":3},
{"label":"M", "x":7, "y":3},
{"label":",", "x":8, "y":3},
{"label":".", "x":9, "y":3},
{"label":"/", "x":10, "y":3},
{"label":"Shift", "x":11, "y":3, "w":2.25},
{"label":"Up", "x":12, "y":3},
gooberpsycho marked this conversation as resolved.
Show resolved Hide resolved
{"label":"CTRL", "x":0, "y":4, "w":1.25},
{"label":"GUI", "x":1, "y":4, "w":1.25},
{"label":"Alt", "x":2, "y":4, "w":1.25},
{"label":"Space", "x":5, "y":4, "w":6.25},
{"label":"Alt", "x":9, "y":4, "w":1.25},
{"label":"MO(1)", "x":10, "y":4},
{"label":"CTRL", "x":11, "y":4, "w":1.25},
{"label":"Left", "x":12, "y":4},
{"label":"Down", "x":13, "y":4},
{"label":"Right", "x":14, "y":4}
gooberpsycho marked this conversation as resolved.
Show resolved Hide resolved
]
}
}
}
34 changes: 34 additions & 0 deletions keyboards/handwired/3dp660/keymaps/default/keymap.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
/* Copyright 2020 gooberpsycho
*
* 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 <http://www.gnu.org/licenses/>.
*/

#include QMK_KEYBOARD_H
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {

[0] = LAYOUT_ansi_5x15(
gooberpsycho marked this conversation as resolved.
Show resolved Hide resolved
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_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_END,
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_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_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(1), KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT
),
[1] = LAYOUT_ansi_5x15(
gooberpsycho marked this conversation as resolved.
Show resolved Hide resolved
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, 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, 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, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_VOLU,
KC_TRNS, KC_TRNS, KC_TRNS, KC_MPLY, KC_TRNS, KC_TRNS, KC_TRNS, KC_MPRV, KC_VOLD, KC_MNXT
),
};
1 change: 1 addition & 0 deletions keyboards/handwired/3dp660/keymaps/default/rules.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
LTO_ENABLE = YES
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What you could do here is set LTO_ENABLE = yes at keyboard level, and delete this file and remove LTO from the VIA keymap's rules.mk.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I just followed along with merlin on a YT video, so I'm a little green on what you're talking about. What do you mean by "at keyboard level"? Where would I place the LTO line? In the rules.mk in main 3dp660 folder, not keymaps folder? Or somewhere else?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Basically, yes. Anything you set in the keyboard-level rules.mk is inherited by the keymap, unless you override it in the keymap's rules.mk. So you can put the LTO_ENABLE in the keyboard rules.mk, and it will be applied for both (all) keymaps.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Understood, thank you. I'll do that.

48 changes: 48 additions & 0 deletions keyboards/handwired/3dp660/keymaps/via/keymap.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
/* Copyright 2020 gooberpsycho
*
* 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 <http://www.gnu.org/licenses/>.
*/

#include QMK_KEYBOARD_H
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {

[0] = LAYOUT_ansi_5x15(
gooberpsycho marked this conversation as resolved.
Show resolved Hide resolved
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_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_END,
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_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_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(1), KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT
),
[1] = LAYOUT_ansi_5x15(
gooberpsycho marked this conversation as resolved.
Show resolved Hide resolved
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, 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, 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, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_VOLU,
KC_TRNS, KC_TRNS, KC_TRNS, KC_MPLY, KC_TRNS, KC_TRNS, KC_TRNS, KC_MPRV, KC_VOLD, KC_MNXT
),
[2] = LAYOUT_ansi_5x15(
gooberpsycho marked this conversation as resolved.
Show resolved Hide resolved
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, 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, 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, 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, KC_TRNS, KC_TRNS
),
[3] = LAYOUT_ansi_5x15(
gooberpsycho marked this conversation as resolved.
Show resolved Hide resolved
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, 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, 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, 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, KC_TRNS, KC_TRNS
)
};
2 changes: 2 additions & 0 deletions keyboards/handwired/3dp660/keymaps/via/rules.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
VIA_ENABLE = yes
LTO_ENABLE = yes
26 changes: 26 additions & 0 deletions keyboards/handwired/3dp660/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# 3dp660

![](https://i.imgur.com/KWyU57el.jpg)

### Teensy 2.0 Pinout
| rows | 0 | 1 | 2 | 3 | 4 |
| ----------- | --- | --- | --- | --- | --- |
| Teensy pin | B0 | B1 | B2 | B3 | B7 |
| qmk pin | B0 | B1 | B2 | B3 | B7 |

| columns | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 |
| ----------- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
| Teensy pin | D2 | D3 | C6 | C7 | D5 | D4 | D7 | B4 | B5 | B6 | F7 | F6 | F5 | F4 | F1 |
| qmk pin | D2 | D3 | C6 | C7 | D5 | D4 | D7 | B4 | B5 | B6 | F7 | F6 | F5 | F4 | F1 |
gooberpsycho marked this conversation as resolved.
Show resolved Hide resolved


Make example for this keyboard (after setting up your build environment):

make handwired/3dp660:default

Bootmagic is enabled. Press the key at (0,0) while plugging the keyboard in to jump to bootloader. This is numlock in the default keymap.
gooberpsycho marked this conversation as resolved.
Show resolved Hide resolved

* Keyboard Maintainer: [gooberpsycho](https://github.com/gooberpsycho)
* Hardware Availability: [Casefile](https://www.thingiverse.com/thing:2897260)

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).
22 changes: 22 additions & 0 deletions keyboards/handwired/3dp660/rules.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# MCU name
MCU = atmega32u4

# Bootloader selection
BOOTLOADER = halfkay

# Build Options
# change yes to no to disable
#
BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration
gooberpsycho marked this conversation as resolved.
Show resolved Hide resolved
MOUSEKEY_ENABLE = no # Mouse keys
EXTRAKEY_ENABLE = yes # Audio control and System control
CONSOLE_ENABLE = yes # Console for debug
COMMAND_ENABLE = yes # 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
RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
BLUETOOTH_ENABLE = no # Enable Bluetooth
AUDIO_ENABLE = no # Audio output