-
-
Notifications
You must be signed in to change notification settings - Fork 40.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Keyboard] Add Ingrained Keyboard (#15928)
Co-authored-by: Drashna Jaelre <drashna@live.com> Co-authored-by: Ryan <fauxpark@gmail.com> Co-authored-by: James Young <18669334+noroadsleft@users.noreply.github.com> Co-authored-by: Juan Puerto <jpuerto@psc.edu> Co-authored-by: jpuerto-psc <68066250+jpuerto-psc@users.noreply.github.com>
- Loading branch information
1 parent
7adef85
commit 101d7b5
Showing
11 changed files
with
725 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
// Copyright 2021 s8erdude (@jpuerto96) | ||
// SPDX-License-Identifier: GPL-2.0-or-later | ||
|
||
#pragma once | ||
|
||
#include "config_common.h" | ||
|
||
/* key matrix size */ | ||
#define MATRIX_ROWS 8 | ||
#define MATRIX_COLS 12 | ||
|
||
#define MATRIX_ROWS_PER_SIDE (MATRIX_ROWS / 2) | ||
#define MATRIX_COLS_PER_SIDE (MATRIX_COLS / 2) | ||
|
||
#define UNUSED_MCU 13 | ||
#define UNUSED_MCP 6 | ||
|
||
|
||
// wiring | ||
#define MATRIX_ROW_PINS_MCU \ | ||
{ B0, B1, B2, B3 } | ||
#define MATRIX_COL_PINS_MCU \ | ||
{ F7, F6, F5, F4, F1, F0 } | ||
#define UNUSED_PINS_MCU \ | ||
{ B4, B5, B6, B7, C6, C7, D2, D3, D4, D5, D6, D7, E6} | ||
#define MATRIX_ROW_PINS_MCP \ | ||
{ B0, B1, B2, B3 } | ||
#define MATRIX_COL_PINS_MCP \ | ||
{ A0, A1, A2, A3, A4, A5 } | ||
#define UNUSED_PINS_MCP \ | ||
{ B4, B5, B6, B7, A6, A7 } | ||
|
||
/* | ||
* Keyboard Matrix Assignments | ||
* | ||
* Change this to how you wired your keyboard | ||
* COLS: AVR pins used for columns, left to right | ||
* ROWS: AVR pins used for rows, top to bottom | ||
* DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode) | ||
* ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode) | ||
* | ||
*/ | ||
|
||
/* COL2ROW, ROW2COL */ | ||
#define DIODE_DIRECTION COL2ROW | ||
|
||
/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | ||
#define DEBOUNCE 5 | ||
|
||
/* define if matrix has ghost (lacks anti-ghosting diodes) */ | ||
//#define MATRIX_HAS_GHOST |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,276 @@ | ||
{ | ||
"keyboard_name": "ingrained", | ||
"manufacturer": "s8erdude" | ||
"url": "https://github.com/jpuerto96", | ||
"maintainer": "jpuerto96 (s8erdude)", | ||
"usb": { | ||
"vid": "0xB33F", | ||
"pid": "0x58E4", | ||
"device_version": "0.0.1" | ||
}, | ||
"layouts": { | ||
"LAYOUT_split_3x6_3": { | ||
"layout": [ | ||
{ | ||
"label": "Esc", | ||
"x": 0, | ||
"y": 0.3 | ||
}, | ||
{ | ||
"label": "Q", | ||
"x": 1, | ||
"y": 0.3 | ||
}, | ||
{ | ||
"label": "W", | ||
"x": 2, | ||
"y": 0.1 | ||
}, | ||
{ | ||
"label": "E", | ||
"x": 3, | ||
"y": 0 | ||
}, | ||
{ | ||
"label": "R", | ||
"x": 4, | ||
"y": 0.1 | ||
}, | ||
{ | ||
"label": "T", | ||
"x": 5, | ||
"y": 0.2 | ||
}, | ||
{ | ||
"label": "Y", | ||
"x": 9, | ||
"y": 0.2 | ||
}, | ||
{ | ||
"label": "U", | ||
"x": 10, | ||
"y": 0.1 | ||
}, | ||
{ | ||
"label": "I", | ||
"x": 11, | ||
"y": 0 | ||
}, | ||
{ | ||
"label": "O", | ||
"x": 12, | ||
"y": 0.1 | ||
}, | ||
{ | ||
"label": "P", | ||
"x": 13, | ||
"y": 0.3 | ||
}, | ||
{ | ||
"label": "Back Space", | ||
"x": 14, | ||
"y": 0.3 | ||
}, | ||
{ | ||
"label": "Tab", | ||
"x": 0, | ||
"y": 1.3 | ||
}, | ||
{ | ||
"label": "A", | ||
"x": 1, | ||
"y": 1.3 | ||
}, | ||
{ | ||
"label": "S", | ||
"x": 2, | ||
"y": 1.1 | ||
}, | ||
{ | ||
"label": "D", | ||
"x": 3, | ||
"y": 1 | ||
}, | ||
{ | ||
"label": "F", | ||
"x": 4, | ||
"y": 1.1 | ||
}, | ||
{ | ||
"label": "G", | ||
"x": 5, | ||
"y": 1.2 | ||
}, | ||
{ | ||
"label": "H", | ||
"x": 9, | ||
"y": 1.2 | ||
}, | ||
{ | ||
"label": "J", | ||
"x": 10, | ||
"y": 1.1 | ||
}, | ||
{ | ||
"label": "K", | ||
"x": 11, | ||
"y": 1 | ||
}, | ||
{ | ||
"label": "L", | ||
"x": 12, | ||
"y": 1.1 | ||
}, | ||
{ | ||
"label": ";", | ||
"x": 13, | ||
"y": 1.3 | ||
}, | ||
{ | ||
"label": "'", | ||
"x": 14, | ||
"y": 1.3 | ||
}, | ||
{ | ||
"label": "Shift", | ||
"x": 0, | ||
"y": 2.3 | ||
}, | ||
{ | ||
"label": "Z", | ||
"x": 1, | ||
"y": 2.3 | ||
}, | ||
{ | ||
"label": "X", | ||
"x": 2, | ||
"y": 2.1 | ||
}, | ||
{ | ||
"label": "C", | ||
"x": 3, | ||
"y": 2 | ||
}, | ||
{ | ||
"label": "V", | ||
"x": 4, | ||
"y": 2.1 | ||
}, | ||
{ | ||
"label": "B", | ||
"x": 5, | ||
"y": 2.2 | ||
}, | ||
{ | ||
"label": "N", | ||
"x": 9, | ||
"y": 2.2 | ||
}, | ||
{ | ||
"label": "M", | ||
"x": 10, | ||
"y": 2.1 | ||
}, | ||
{ | ||
"label": ",", | ||
"x": 11, | ||
"y": 2 | ||
}, | ||
{ | ||
"label": ".", | ||
"x": 12, | ||
"y": 2.1 | ||
}, | ||
{ | ||
"label": "/", | ||
"x": 13, | ||
"y": 2.3 | ||
}, | ||
{ | ||
"label": "Shift", | ||
"x": 14, | ||
"y": 2.3 | ||
}, | ||
{ | ||
"label": "GUI", | ||
"x": 4, | ||
"y": 3.7 | ||
}, | ||
{ | ||
"label": "Lower", | ||
"x": 5, | ||
"y": 3.7 | ||
}, | ||
{ | ||
"label": "Space", | ||
"x": 6, | ||
"y": 3.2, | ||
"h": 1.5 | ||
}, | ||
{ | ||
"label": "Enter", | ||
"x": 8, | ||
"y": 3.2, | ||
"h": 1.5 | ||
}, | ||
{ | ||
"label": "Raise", | ||
"x": 9, | ||
"y": 3.7 | ||
}, | ||
{ | ||
"label": "Alt", | ||
"x": 10, | ||
"y": 3.7 | ||
} | ||
] | ||
}, | ||
"LAYOUT_split_3x5_3": { | ||
"layout": [ | ||
{"label":"Q", "x":0, "y":0.3}, | ||
{"label":"W", "x":1, "y":0.1}, | ||
{"label":"E", "x":2, "y":0}, | ||
{"label":"R", "x":3, "y":0.1}, | ||
{"label":"T", "x":4, "y":0.2}, | ||
|
||
{"label":"Y", "x":8, "y":0.2}, | ||
{"label":"U", "x":9, "y":0.1}, | ||
{"label":"I", "x":10, "y":0}, | ||
{"label":"O", "x":11, "y":0.1}, | ||
{"label":"P", "x":12, "y":0.3}, | ||
|
||
{"label":"A", "x":0, "y":1.3}, | ||
{"label":"S", "x":1, "y":1.1}, | ||
{"label":"D", "x":2, "y":1}, | ||
{"label":"F", "x":3, "y":1.1}, | ||
{"label":"G", "x":4, "y":1.2}, | ||
|
||
{"label":"H", "x":8, "y":1.2}, | ||
{"label":"J", "x":9, "y":1.1}, | ||
{"label":"K", "x":10, "y":1}, | ||
{"label":"L", "x":11, "y":1.1}, | ||
{"label":";", "x":12, "y":1.3}, | ||
|
||
{"label":"Z", "x":0, "y":2.3}, | ||
{"label":"X", "x":1, "y":2.1}, | ||
{"label":"C", "x":2, "y":2}, | ||
{"label":"V", "x":3, "y":2.1}, | ||
{"label":"B", "x":4, "y":2.2}, | ||
|
||
{"label":"N", "x":8, "y":2.2}, | ||
{"label":"M", "x":9, "y":2.1}, | ||
{"label":",", "x":10, "y":2}, | ||
{"label":".", "x":11, "y":2.1}, | ||
{"label":"/", "x":12, "y":2.3}, | ||
|
||
{"label":"GUI", "x":3, "y":3.7}, | ||
{"label":"Lower", "x":4, "y":3.7}, | ||
{"label":"Space", "x":5, "y":3.2, "h":1.5}, | ||
|
||
{"label":"Enter", "x":7, "y":3.2, "h":1.5}, | ||
{"label":"Raise", "x":8, "y":3.7}, | ||
{"label":"Alt", "x":9, "y":3.7} | ||
] | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
// Copyright 2021 s8erdude (@jpuerto96) | ||
// SPDX-License-Identifier: GPL-2.0-or-later | ||
|
||
#include "ingrained.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
// Copyright 2021 s8erdude (@jpuerto96) | ||
// SPDX-License-Identifier: GPL-2.0-or-later | ||
|
||
#pragma once | ||
|
||
#include "quantum.h" | ||
|
||
/* This is a shortcut to help you visually see your layout. | ||
* | ||
* The first section contains all of the arguments representing the physical | ||
* layout of the board and position of the keys. | ||
* | ||
* The second converts the arguments into a two-dimensional array which | ||
* represents the switch matrix. | ||
*/ | ||
#define XXX KC_NO | ||
|
||
#define LAYOUT_split_3x6_3( \ | ||
k00, k01, k02, k03, k04, k05, k011, k010, k09, k08, k07, k06,\ | ||
k10, k11, k12, k13, k14, k15, k111, k110, k19, k18, k17, k16,\ | ||
k20, k21, k22, k23, k24, k25, k211, k210, k29, k28, k27, k26,\ | ||
k33, k34, k35, k311, k310, k39\ | ||
) { \ | ||
{ k00, k01, k02, k03, k04, k05 },\ | ||
{ k10, k11, k12, k13, k14, k15 },\ | ||
{ k20, k21, k22, k23, k24, k25 },\ | ||
{ XXX, XXX, XXX, k33, k34, k35 },\ | ||
{ k06, k07, k08, k09, k010, k011 },\ | ||
{ k16, k17, k18, k19, k110, k111 },\ | ||
{ k26, k27, k28, k29, k210, k211 },\ | ||
{ XXX, XXX, XXX, k39, k310, k311 }\ | ||
} | ||
#define LAYOUT_split_3x5_3( \ | ||
k01, k02, k03, k04, k05, k011, k010, k09, k08, k07,\ | ||
k11, k12, k13, k14, k15, k111, k110, k19, k18, k17,\ | ||
k21, k22, k23, k24, k25, k211, k210, k29, k28, k27,\ | ||
k33, k34, k35, k311, k310, k39\ | ||
) { \ | ||
{ XXX, k01, k02, k03, k04, k05 },\ | ||
{ XXX, k11, k12, k13, k14, k15 },\ | ||
{ XXX, k21, k22, k23, k24, k25 },\ | ||
{ XXX, XXX, XXX, k33, k34, k35 },\ | ||
{ XXX, k07, k08, k09, k010, k011 },\ | ||
{ XXX, k17, k18, k19, k110, k111 },\ | ||
{ XXX, k27, k28, k29, k210, k211 },\ | ||
{ XXX, XXX, XXX, k39, k310, k311 }\ | ||
} |
Oops, something went wrong.