[Keyboard] ez_maker/directpins for easy one-offs in qmk_configurator (#13321)
* new keyboard: handwired/directpins * fix promicro keyboard_name * add teensy2 and teensy2++ support * align with handwired/onekey * tweak pids * add teensy 3.2 and teensy lc to directpins * move directpins from handwired to ez_maker * add docs for easy maker
This commit is contained in:
parent
110a320321
commit
60a36863bc
47 changed files with 1141 additions and 0 deletions
20
keyboards/ez_maker/directpins/teensy_2/config.h
Normal file
20
keyboards/ez_maker/directpins/teensy_2/config.h
Normal file
|
@ -0,0 +1,20 @@
|
|||
/*
|
||||
Copyright 2021 Zach White
|
||||
|
||||
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"
|
52
keyboards/ez_maker/directpins/teensy_2/info.json
Normal file
52
keyboards/ez_maker/directpins/teensy_2/info.json
Normal file
|
@ -0,0 +1,52 @@
|
|||
{
|
||||
"manufacturer": "Zach White",
|
||||
"keyboard_name": "DirectPins Teensy 2.0",
|
||||
"maintainer": "skullydazed",
|
||||
"processor": "atmega32u4",
|
||||
"bootloader": "halfkay",
|
||||
"debounce": 5,
|
||||
"diode_direction": "COL2ROW",
|
||||
"features": {
|
||||
"bootmagic_lite": true,
|
||||
"extrakey": true,
|
||||
"mousekey": true
|
||||
},
|
||||
"matrix_pins": {
|
||||
"direct": [
|
||||
["B0", "F0"],
|
||||
["B1", "F1"],
|
||||
["B2", "F4"],
|
||||
["B3", "F5"],
|
||||
["B7", "F6"],
|
||||
["D0", "F7"],
|
||||
["D1", "B6"],
|
||||
["D2", "B5"],
|
||||
["D3", "B4"],
|
||||
["C6", "D7"],
|
||||
["C7", "D6"],
|
||||
["D5", "D4"]
|
||||
]
|
||||
},
|
||||
"usb": {
|
||||
"device_ver": "0x0001",
|
||||
"pid": "0x2322",
|
||||
"vid": "0xFEED"
|
||||
},
|
||||
"layouts": {
|
||||
"LAYOUT_all": {
|
||||
"layout": [
|
||||
{"label":"B0", "matrix": [0, 0], "x":0, "y":1}, {"label":"F0", "matrix": [0, 1], "x":4, "y":1},
|
||||
{"label":"B1", "matrix": [1, 0], "x":0, "y":2}, {"label":"F1", "matrix": [1, 1], "x":4, "y":2},
|
||||
{"label":"B2", "matrix": [2, 0], "x":0, "y":3}, {"label":"F4", "matrix": [2, 1], "x":4, "y":3},
|
||||
{"label":"B3", "matrix": [3, 0], "x":0, "y":4}, {"label":"F5", "matrix": [3, 1], "x":4, "y":4},
|
||||
{"label":"B7", "matrix": [4, 0], "x":0, "y":5}, {"label":"F6", "matrix": [4, 1], "x":4, "y":5},
|
||||
{"label":"D0", "matrix": [5, 0], "x":0, "y":6}, {"label":"F7", "matrix": [5, 1], "x":4, "y":6},
|
||||
{"label":"D1", "matrix": [6, 0], "x":0, "y":7}, {"label":"B6", "matrix": [6, 1], "x":4, "y":7},
|
||||
{"label":"D2", "matrix": [7, 0], "x":0, "y":8}, {"label":"B5", "matrix": [7, 1], "x":4, "y":8},
|
||||
{"label":"D3", "matrix": [8, 0], "x":0, "y":9}, {"label":"B4", "matrix": [8, 1], "x":4, "y":9},
|
||||
{"label":"C6", "matrix": [9, 0], "x":0, "y":10}, {"label":"D7", "matrix": [9, 1], "x":4, "y":10},
|
||||
{"label":"C7", "matrix": [10, 0], "x":0, "y":11}, {"label":"D5", "matrix": [11, 0], "x":1, "y":11}, {"label":"D4", "matrix": [11, 1], "x":3, "y":11}, {"label":"D6", "matrix": [10, 1], "x":4, "y":11}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,20 @@
|
|||
{
|
||||
"keyboard": "ez_maker/directpins/teensy2",
|
||||
"keymap": "default",
|
||||
"layout": "LAYOUT_all",
|
||||
"layers": [
|
||||
[
|
||||
"KC_0", "KC_1",
|
||||
"KC_2", "KC_3",
|
||||
"KC_4", "KC_5",
|
||||
"KC_6", "KC_7",
|
||||
"KC_8", "KC_9",
|
||||
"KC_A", "KC_B",
|
||||
"KC_C", "KC_D",
|
||||
"KC_E", "KC_F",
|
||||
"KC_G", "KC_H",
|
||||
"KC_I", "KC_J",
|
||||
"KC_K", "KC_L", "KC_M", "KC_N"
|
||||
]
|
||||
]
|
||||
}
|
19
keyboards/ez_maker/directpins/teensy_2/readme.md
Normal file
19
keyboards/ez_maker/directpins/teensy_2/readme.md
Normal file
|
@ -0,0 +1,19 @@
|
|||
# DirectPins
|
||||
|
||||

|
||||
|
||||
Easily assign keys to pins for your custom project using QMK Configurator.
|
||||
|
||||
* Keyboard Maintainer: [Zach White](https://github.com/skullydazed)
|
||||
* Hardware Supported: Teensy 2.0
|
||||
* Hardware Availability: https://www.pjrc.com/
|
||||
|
||||
Make example for this keyboard (after setting up your build environment):
|
||||
|
||||
qmk compile -kb ez_maker/directpins/teensy2 -km default
|
||||
|
||||
Flashing example for this keyboard:
|
||||
|
||||
qmk flash -kb ez_maker/directpins/teensy2 -km 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).
|
0
keyboards/ez_maker/directpins/teensy_2/rules.mk
Normal file
0
keyboards/ez_maker/directpins/teensy_2/rules.mk
Normal file
17
keyboards/ez_maker/directpins/teensy_2/teensy2.c
Normal file
17
keyboards/ez_maker/directpins/teensy_2/teensy2.c
Normal file
|
@ -0,0 +1,17 @@
|
|||
/* Copyright 2021 Zach White
|
||||
*
|
||||
* 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 "teensy2.h"
|
19
keyboards/ez_maker/directpins/teensy_2/teensy2.h
Normal file
19
keyboards/ez_maker/directpins/teensy_2/teensy2.h
Normal file
|
@ -0,0 +1,19 @@
|
|||
/* Copyright 2021 Zach White
|
||||
*
|
||||
* 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"
|
Loading…
Add table
Add a link
Reference in a new issue