aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCian Johnston <public@cianjohnston.ie>2021-08-07 07:51:03 +0100
committerGitHub <noreply@github.com>2021-08-06 23:51:03 -0700
commit9d88786b6fc6b1e9eeeba409cb5e4a17dd2bbe82 (patch)
tree982b5950463418f5fd67858f190c8ce0c4cd71fd
parente4342f86305e512be2b3a52a07e7c7dc591ae6a9 (diff)
downloadqmk_firmware-9d88786b6fc6b1e9eeeba409cb5e4a17dd2bbe82.tar.gz
qmk_firmware-9d88786b6fc6b1e9eeeba409cb5e4a17dd2bbe82.zip
[Keyboard] add handwired/oem_ansi_fullsize (#13857)
* Add new keyboard oem_ansi_fullsize * clang-fmt * Update keyboards/handwired/oem_ansi_fullsize/rules.mk Co-authored-by: Joel Challis <git@zvecr.com> * Update keyboards/handwired/oem_ansi_fullsize/readme.md Co-authored-by: Joel Challis <git@zvecr.com> * update info.json using qmk c2json * update info.json * move diagram to readme * add matrix cols/rows to info.json * fixup! add matrix cols/rows to info.json * rename layout, fix block comment * s/ansi_fullsize/fullsize_ansi/g Co-authored-by: Joel Challis <git@zvecr.com>
-rw-r--r--keyboards/handwired/oem_ansi_fullsize/config.h159
-rw-r--r--keyboards/handwired/oem_ansi_fullsize/info.json122
-rw-r--r--keyboards/handwired/oem_ansi_fullsize/keymaps/default/keymap.c30
-rw-r--r--keyboards/handwired/oem_ansi_fullsize/keymaps/default/readme.md1
-rw-r--r--keyboards/handwired/oem_ansi_fullsize/oem_ansi_fullsize.c17
-rw-r--r--keyboards/handwired/oem_ansi_fullsize/oem_ansi_fullsize.h72
-rw-r--r--keyboards/handwired/oem_ansi_fullsize/readme.md49
-rw-r--r--keyboards/handwired/oem_ansi_fullsize/rules.mk24
8 files changed, 474 insertions, 0 deletions
diff --git a/keyboards/handwired/oem_ansi_fullsize/config.h b/keyboards/handwired/oem_ansi_fullsize/config.h
new file mode 100644
index 000000000..7219bd340
--- /dev/null
+++ b/keyboards/handwired/oem_ansi_fullsize/config.h
@@ -0,0 +1,159 @@
1/*
2Copyright 2021 Cian Johnston
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 0xFEED
24#define PRODUCT_ID 0x0000
25#define DEVICE_VER 0x0001
26#define MANUFACTURER Cian Johnston
27#define PRODUCT oem_ansi_fullsize
28
29/* key matrix size */
30#define MATRIX_ROWS 6
31#define MATRIX_COLS 22
32
33/*
34 * Keyboard Matrix Assignments
35 *
36 * Change this to how you wired your keyboard
37 * COLS: AVR pins used for columns, left to right
38 * ROWS: AVR pins used for rows, top to bottom
39 * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
40 * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
41 *
42 */
43
44#define MATRIX_ROW_PINS \
45 { F5, F4, F3, F2, F1, F0 }
46// R0 R1 R2 R3 R4 R5
47
48#define MATRIX_COL_PINS \
49 { C3, C2, C1, C0, E1, E0, D7, E6, D5, D4, D3, D2, D1, D0, B7, B0, B1, B2, B3, B4, B5, F6 }
50// C0 C1 C2 C3 C4 C5 C6 C7 C8 C9 CA CB CC CD CE CF CG CH CI CJ CK CL
51
52#define UNUSED_PINS
53
54/* COL2ROW, ROW2COL */
55#define DIODE_DIRECTION COL2ROW
56
57/*
58 * Split Keyboard specific options, make sure you have 'SPLIT_KEYBOARD = yes' in your rules.mk, and define SOFT_SERIAL_PIN.
59 */
60//#define SOFT_SERIAL_PIN D0 // or D1, D2, D3, E6
61
62//#define LED_NUM_LOCK_PIN B0
63//#define LED_CAPS_LOCK_PIN B1
64//#define LED_SCROLL_LOCK_PIN B2
65//#define LED_COMPOSE_PIN B3
66//#define LED_KANA_PIN B4
67
68//#define BACKLIGHT_PIN B7
69//#define BACKLIGHT_LEVELS 3
70//#define BACKLIGHT_BREATHING
71
72//#define RGB_DI_PIN E2
73//#ifdef RGB_DI_PIN
74//# define RGBLED_NUM 16
75//# define RGBLIGHT_HUE_STEP 8
76//# define RGBLIGHT_SAT_STEP 8
77//# define RGBLIGHT_VAL_STEP 8
78//# define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */
79//# define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */
80/*== all animations enable ==*/
81//# define RGBLIGHT_ANIMATIONS
82/*== or choose animations ==*/
83//# define RGBLIGHT_EFFECT_BREATHING
84//# define RGBLIGHT_EFFECT_RAINBOW_MOOD
85//# define RGBLIGHT_EFFECT_RAINBOW_SWIRL
86//# define RGBLIGHT_EFFECT_SNAKE
87//# define RGBLIGHT_EFFECT_KNIGHT
88//# define RGBLIGHT_EFFECT_CHRISTMAS
89//# define RGBLIGHT_EFFECT_STATIC_GRADIENT
90//# define RGBLIGHT_EFFECT_RGB_TEST
91//# define RGBLIGHT_EFFECT_ALTERNATING
92/*== customize breathing effect ==*/
93/*==== (DEFAULT) use fixed table instead of exp() and sin() ====*/
94//# define RGBLIGHT_BREATHE_TABLE_SIZE 256 // 256(default) or 128 or 64
95/*==== use exp() and sin() ====*/
96//# define RGBLIGHT_EFFECT_BREATHE_CENTER 1.85 // 1 to 2.7
97//# define RGBLIGHT_EFFECT_BREATHE_MAX 255 // 0 to 255
98//#endif
99
100/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
101#define DEBOUNCE 5
102
103/* define if matrix has ghost (lacks anti-ghosting diodes) */
104//#define MATRIX_HAS_GHOST
105
106/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
107#define LOCKING_SUPPORT_ENABLE
108/* Locking resynchronize hack */
109#define LOCKING_RESYNC_ENABLE
110
111/* If defined, GRAVE_ESC will always act as ESC when CTRL is held.
112 * This is useful for the Windows task manager shortcut (ctrl+shift+esc).
113 */
114//#define GRAVE_ESC_CTRL_OVERRIDE
115
116/*
117 * Force NKRO
118 *
119 * Force NKRO (nKey Rollover) to be enabled by default, regardless of the saved
120 * state in the bootmagic EEPROM settings. (Note that NKRO must be enabled in the
121 * makefile for this to work.)
122 *
123 * If forced on, NKRO can be disabled via magic key (default = LShift+RShift+N)
124 * until the next keyboard reset.
125 *
126 * NKRO may prevent your keystrokes from being detected in the BIOS, but it is
127 * fully operational during normal computer usage.
128 *
129 * For a less heavy-handed approach, enable NKRO via magic key (LShift+RShift+N)
130 * or via bootmagic (hold SPACE+N while plugging in the keyboard). Once set by
131 * bootmagic, NKRO mode will always be enabled until it is toggled again during a
132 * power-up.
133 *
134 */
135//#define FORCE_NKRO
136
137/*
138 * Feature disable options
139 * These options are also useful to firmware size reduction.
140 */
141
142/* disable debug print */
143//#define NO_DEBUG
144
145/* disable print */
146//#define NO_PRINT
147
148/* disable action features */
149//#define NO_ACTION_LAYER
150//#define NO_ACTION_TAPPING
151//#define NO_ACTION_ONESHOT
152
153/* disable these deprecated features by default */
154#define NO_ACTION_MACRO
155#define NO_ACTION_FUNCTION
156
157/* Bootmagic Lite key configuration */
158//#define BOOTMAGIC_LITE_ROW 0
159//#define BOOTMAGIC_LITE_COLUMN 0
diff --git a/keyboards/handwired/oem_ansi_fullsize/info.json b/keyboards/handwired/oem_ansi_fullsize/info.json
new file mode 100644
index 000000000..27a44da88
--- /dev/null
+++ b/keyboards/handwired/oem_ansi_fullsize/info.json
@@ -0,0 +1,122 @@
1{
2 "keyboard_name": "oem_ansi_fullsize",
3 "url": "https://github.com/johnstcn/qmk",
4 "maintainer": "johnstcn",
5 "width": 22.5,
6 "height": 6.25,
7 "layouts": {
8 "LAYOUT_fullsize_ansi": {
9 "layout": [
10 {"matrix": [0, 0], "label": "ESC", "x":0, "y":0},
11 {"matrix": [0, 2], "label": "F1", "x":2, "y":0},
12 {"matrix": [0, 3], "label": "F2", "x":3, "y":0},
13 {"matrix": [0, 4], "label": "F3", "x":4, "y":0},
14 {"matrix": [0, 5], "label": "F4", "x":5, "y":0},
15 {"matrix": [0, 7], "label": "F5", "x":6.5, "y":0},
16 {"matrix": [0, 8], "label": "F6", "x":7.5, "y":0},
17 {"matrix": [0, 9], "label": "F7", "x":8.5, "y":0},
18 {"matrix": [0, 10], "label": "F8", "x":9.5, "y":0},
19 {"matrix": [0, 11], "label": "F9", "x":11, "y":0},
20 {"matrix": [0, 12], "label": "F10", "x":12, "y":0},
21 {"matrix": [0, 13], "label": "F11", "x":13, "y":0},
22 {"matrix": [0, 14], "label": "F12", "x":14, "y":0},
23 {"matrix": [0, 15], "label": "PSCR", "x":15.25, "y":0},
24 {"matrix": [0, 16], "label": "SLCK", "x":16.25, "y":0},
25 {"matrix": [0, 17], "label": "PAUS", "x":17.25, "y":0},
26
27 {"matrix": [1, 0], "label": "GRV", "x":0, "y":1.25},
28 {"matrix": [1, 1], "label": "1", "x":1, "y":1.25},
29 {"matrix": [1, 2], "label": "2", "x":2, "y":1.25},
30 {"matrix": [1, 3], "label": "3", "x":3, "y":1.25},
31 {"matrix": [1, 4], "label": "4", "x":4, "y":1.25},
32 {"matrix": [1, 5], "label": "5", "x":5, "y":1.25},
33 {"matrix": [1, 6], "label": "6", "x":6, "y":1.25},
34 {"matrix": [1, 7], "label": "7", "x":7, "y":1.25},
35 {"matrix": [1, 8], "label": "8", "x":8, "y":1.25},
36 {"matrix": [1, 9], "label": "9", "x":9, "y":1.25},
37 {"matrix": [1, 10], "label": "0", "x":10, "y":1.25},
38 {"matrix": [1, 11], "label": "MINS", "x":11, "y":1.25},
39 {"matrix": [1, 12], "label": "EQL", "x":12, "y":1.25},
40 {"matrix": [1, 14], "label": "BSPC", "x":13, "y":1.25, "w":2},
41 {"matrix": [1, 15], "label": "INS", "x":15.25, "y":1.25},
42 {"matrix": [1, 16], "label": "HOME", "x":16.25, "y":1.25},
43 {"matrix": [1, 17], "label": "PGUP", "x":17.25, "y":1.25},
44 {"matrix": [1, 18], "label": "NLCK", "x":18.5, "y":1.25},
45 {"matrix": [1, 19], "label": "PSLS", "x":19.5, "y":1.25},
46 {"matrix": [1, 20], "label": "PAST", "x":20.5, "y":1.25},
47 {"matrix": [1, 21], "label": "PMNS", "x":21.5, "y":1.25},
48
49 {"matrix": [2, 0], "label": "TAB", "x":0, "y":2.25, "w":1.5},
50 {"matrix": [2, 2], "label": "Q", "x":1.5, "y":2.25},
51 {"matrix": [2, 3], "label": "W", "x":2.5, "y":2.25},
52 {"matrix": [2, 4], "label": "E", "x":3.5, "y":2.25},
53 {"matrix": [2, 5], "label": "R", "x":4.5, "y":2.25},
54 {"matrix": [2, 6], "label": "T", "x":5.5, "y":2.25},
55 {"matrix": [2, 7], "label": "Y", "x":6.5, "y":2.25},
56 {"matrix": [2, 8], "label": "U", "x":7.5, "y":2.25},
57 {"matrix": [2, 9], "label": "I", "x":8.5, "y":2.25},
58 {"matrix": [2, 10], "label": "O", "x":9.5, "y":2.25},
59 {"matrix": [2, 11], "label": "P", "x":10.5, "y":2.25},
60 {"matrix": [2, 12], "label": "LBRC", "x":11.5, "y":2.25},
61 {"matrix": [2, 13], "label": "RBRC", "x":12.5, "y":2.25},
62 {"matrix": [2, 14], "label": "BSLS", "x":13.5, "y":2.25, "w":1.5},
63 {"matrix": [2, 15], "label": "DEL", "x":15.25, "y":2.25},
64 {"matrix": [2, 16], "label": "END", "x":16.25, "y":2.25},
65 {"matrix": [2, 17], "label": "PGDN", "x":17.25, "y":2.25},
66 {"matrix": [2, 18], "label": "P7", "x":18.5, "y":2.25},
67 {"matrix": [2, 19], "label": "P8", "x":19.5, "y":2.25},
68 {"matrix": [2, 20], "label": "P9", "x":20.5, "y":2.25},
69 {"matrix": [2, 21], "label": "PPLS", "x":21.5, "y":2.25, "h": 2},
70
71 {"matrix": [3, 0], "label": "CAPS", "x":0, "y":3.25, "w":1.75},
72 {"matrix": [3, 2], "label": "A", "x":1.75, "y":3.25},
73 {"matrix": [3, 3], "label": "S", "x":2.75, "y":3.25},
74 {"matrix": [3, 4], "label": "D", "x":3.75, "y":3.25},
75 {"matrix": [3, 5], "label": "F", "x":4.75, "y":3.25},
76 {"matrix": [3, 6], "label": "G", "x":5.75, "y":3.25},
77 {"matrix": [3, 7], "label": "H", "x":6.75, "y":3.25},
78 {"matrix": [3, 8], "label": "J", "x":7.75, "y":3.25},
79 {"matrix": [3, 9], "label": "K", "x":8.75, "y":3.25},
80 {"matrix": [3, 10], "label": "L", "x":9.75, "y":3.25},
81 {"matrix": [3, 11], "label": "SCLN", "x":10.75, "y":3.25},
82 {"matrix": [3, 12], "label": "QUOT", "x":11.75, "y":3.25},
83 {"matrix": [3, 13], "label": "ENT", "x":12.75, "y":3.25, "w":2.25},
84 {"matrix": [3, 18], "label": "P4", "x":18.5, "y":3.25},
85 {"matrix": [3, 19], "label": "P5", "x":19.5, "y":3.25},
86 {"matrix": [3, 20], "label": "P6", "x":20.5, "y":3.25},
87
88 {"matrix": [4, 1], "label": "LSFT", "x":0, "y":4.25, "w":2.25},
89 {"matrix": [4, 2], "label": "Z", "x":2.25, "y":4.25},
90 {"matrix": [4, 3], "label": "X", "x":3.25, "y":4.25},
91 {"matrix": [4, 4], "label": "C", "x":4.25, "y":4.25},
92 {"matrix": [4, 5], "label": "V", "x":5.25, "y":4.25},
93 {"matrix": [4, 6], "label": "B", "x":6.25, "y":4.25},
94 {"matrix": [4, 7], "label": "N", "x":7.25, "y":4.25},
95 {"matrix": [4, 8], "label": "M", "x":8.25, "y":4.25},
96 {"matrix": [4, 9], "label": "COMM", "x":9.25, "y":4.25},
97 {"matrix": [4, 10], "label": "DOT", "x":10.25, "y":4.25},
98 {"matrix": [4, 11], "label": "SLSH", "x":11.25, "y":4.25},
99 {"matrix": [4, 13], "label": "RSFT", "x":12.25, "y":4.25, "w":2.75},
100 {"matrix": [4, 16], "label": "UP", "x":16.25, "y":4.25},
101 {"matrix": [4, 18], "label": "P1", "x":18.5, "y":4.25},
102 {"matrix": [4, 19], "label": "P2", "x":19.5, "y":4.25},
103 {"matrix": [4, 20], "label": "P3", "x":20.5, "y":4.25},
104 {"matrix": [4, 21], "label": "PENT", "x":21.5, "y":4.25, "h":2},
105
106 {"matrix": [5, 0], "label": "LCTL", "x":0, "y":5.25, "w":1.25},
107 {"matrix": [5, 1], "label": "LGUI", "x":1.25, "y":5.25, "w":1.25},
108 {"matrix": [5, 3], "label": "LALT", "x":2.5, "y":5.25, "w":1.25},
109 {"matrix": [5, 6], "label": "SPC", "x":3.75, "y":5.25, "w":6.25},
110 {"matrix": [5, 10], "label": "RALT", "x":10, "y":5.25, "w":1.25},
111 {"matrix": [5, 11], "label": "RGUI", "x":11.25, "y":5.25, "w":1.25},
112 {"matrix": [5, 13], "label": "MO(1)", "x":12.5, "y":5.25, "w":1.25},
113 {"matrix": [5, 14], "label": "RCTL", "x":13.75, "y":5.25, "w":1.25},
114 {"matrix": [5, 15], "label": "LEFT", "x":15.25, "y":5.25},
115 {"matrix": [5, 16], "label": "DOWN", "x":16.25, "y":5.25},
116 {"matrix": [5, 17], "label": "RGHT", "x":17.25, "y":5.25},
117 {"matrix": [5, 18], "label": "P0", "x":18.5, "y":5.25, "w":2},
118 {"matrix": [5, 20], "label": "PDOT", "x":20.5, "y":5.25}
119 ]
120 }
121 }
122}
diff --git a/keyboards/handwired/oem_ansi_fullsize/keymaps/default/keymap.c b/keyboards/handwired/oem_ansi_fullsize/keymaps/default/keymap.c
new file mode 100644
index 000000000..48290896f
--- /dev/null
+++ b/keyboards/handwired/oem_ansi_fullsize/keymaps/default/keymap.c
@@ -0,0 +1,30 @@
1/* Copyright 2021 Cian Johnston
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// clang-format off
19const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
20 [0] = LAYOUT_fullsize_ansi(
21 KC_ESC, 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_PSCR, KC_SLCK, KC_PAUS,
22 KC_GRV, 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_INS, KC_HOME, KC_PGUP, KC_NLCK, KC_PSLS, KC_PAST, KC_PMNS,
23 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_DEL, KC_END, KC_PGDN, KC_P7, KC_P8, KC_P9, KC_PPLS,
24 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_P4, KC_P5, KC_P6,
25 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_P1, KC_P2, KC_P3, KC_PENT,
26 KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RGUI, MO(1), KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT, KC_P0, KC_PDOT
27 ),
28};
29// clang-format on
30
diff --git a/keyboards/handwired/oem_ansi_fullsize/keymaps/default/readme.md b/keyboards/handwired/oem_ansi_fullsize/keymaps/default/readme.md
new file mode 100644
index 000000000..882181d20
--- /dev/null
+++ b/keyboards/handwired/oem_ansi_fullsize/keymaps/default/readme.md
@@ -0,0 +1 @@
# The default keymap for oem_ansi_fullsize
diff --git a/keyboards/handwired/oem_ansi_fullsize/oem_ansi_fullsize.c b/keyboards/handwired/oem_ansi_fullsize/oem_ansi_fullsize.c
new file mode 100644
index 000000000..14004599a
--- /dev/null
+++ b/keyboards/handwired/oem_ansi_fullsize/oem_ansi_fullsize.c
@@ -0,0 +1,17 @@
1/* Copyright 2021 Cian Johnston
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 "oem_ansi_fullsize.h"
diff --git a/keyboards/handwired/oem_ansi_fullsize/oem_ansi_fullsize.h b/keyboards/handwired/oem_ansi_fullsize/oem_ansi_fullsize.h
new file mode 100644
index 000000000..ceb873393
--- /dev/null
+++ b/keyboards/handwired/oem_ansi_fullsize/oem_ansi_fullsize.h
@@ -0,0 +1,72 @@
1/* Copyright 2021 Cian Johnston
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 is 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
30/* Matrix col/row mapping
31 *
32 * 10 11 12 13 14 15 16 17 18 19 20 21
33 * C0 C1 C2 C3 C4 C5 C6 C7 C8 C9 CA CB CC CD CE CF CG CH CI CJ CK CL
34 * ┌───┐ ┌───┐┌───┐┌───┐┌───┐ ┌───┐┌───┐┌───┐┌───┐ ┌───┐┌───┐┌───┐┌───┐ ┌───┐┌───┐┌───┐
35 * R0 │K00│ │K02││K03││K04││K05│ │K07││K08││K09││K0A│ │K0B││K0C││K0D││K0E│ │K0F││K0G││K0H│
36 * └───┘ └───┘└───┘└───┘└───┘ └───┘└───┘└───┘└───┘ └───┘└───┘└───┘└───┘ └───┘└───┘└───┘
37 *
38 * ┌───┐┌───┐┌───┐┌───┐┌───┐┌───┐┌───┐┌───┐┌───┐┌───┐┌───┐┌───┐┌───┐┌───────┐ ┌───┐┌───┐┌───┐ ┌───┐┌───┐┌───┐┌───┐
39 * R1 │K10││K11││K12││K13││K14││K15││K16││K17││K18││K19││K1A││K1B││K1C││ K1E │ │K1F││K1G││K1H│ │K1I││K1J││K1K││K1L│
40 * └───┘└───┘└───┘└───┘└───┘└───┘└───┘└───┘└───┘└───┘└───┘└───┘└───┘└───────┘ └───┘└───┘└───┘ └───┘└───┘└───┘└───┘
41 * ┌─────┐┌───┐┌───┐┌───┐┌───┐┌───┐┌───┐┌───┐┌───┐┌───┐┌───┐┌───┐┌───┐┌─────┐ ┌───┐┌───┐┌───┐ ┌───┐┌───┐┌───┐┌───┐
42 * R2 │ K20 ││K22││K23││K24││K25││K26││K27││K28││K29││K2A││K2B││K2C││K2D││ K2E │ │K2F││K2G││K2H│ │K2I││K2J││K2K││ │
43 * └─────┘└───┘└───┘└───┘└───┘└───┘└───┘└───┘└───┘└───┘└───┘└───┘└───┘└─────┘ └───┘└───┘└───┘ └───┘└───┘└───┘│K2L│
44 * ┌───────┐┌───┐┌───┐┌───┐┌───┐┌───┐┌───┐┌───┐┌───┐┌───┐┌───┐┌───┐┌────────┐ ┌───┐┌───┐┌───┐│ │
45 * R3 │ K30 ││K32││K33││K34││K35││K36││K37││K38││K39││K3A││K3B││K3C││ K3D │ │K3I││K3J││K3K││ │
46 * └───────┘└───┘└───┘└───┘└───┘└───┘└───┘└───┘└───┘└───┘└───┘└───┘└────────┘ └───┘└───┘└───┘└───┘
47 * ┌─────────┐┌───┐┌───┐┌───┐┌───┐┌───┐┌───┐┌───┐┌───┐┌───┐┌───┐┌───────────┐ ┌───┐ ┌───┐┌───┐┌───┐┌───┐
48 * R4 │ K41 ││K42││K43││K44││K45││K46││K47││K48││K49││K4A││K4B││ K4D │ │K4G│ │K4I││K4J││K4K││ │
49 * └─────────┘└───┘└───┘└───┘└───┘└───┘└───┘└───┘└───┘└───┘└───┘└───────────┘ └───┘ └───┘└───┘└───┘│K4L│
50 * ┌────┐┌────┐┌────┐┌──────────────────────────────┐┌────┐┌────┐┌────┐┌────┐ ┌───┐┌───┐┌───┐ ┌────────┐┌───┐│ │
51 * R5 │K50 ││K51 ││K53 ││ K56 ││K5A ││K5B ││K5D ││K5E │ │K5F││K5G││K5H│ │ K5I ││K5K││ │
52 * └────┘└────┘└────┘└──────────────────────────────┘└────┘└────┘└────┘└────┘ └───┘└───┘└───┘ └────────┘└───┘└───┘
53 *
54 */
55
56// clang-format off
57#define LAYOUT_fullsize_ansi( \
58 K00, K02, K03, K04, K05, K07, K08, K09, K0A, K0B, K0C, K0D, K0E, K0F, K0G, K0H, \
59 K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1E, K1F, K1G, K1H, K1I, K1J, K1K, K1L, \
60 K20, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2D, K2E, K2F, K2G, K2H, K2I, K2J, K2K, K2L, \
61 K30, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3C, K3D, K3I, K3J, K3K, \
62 K41, K42, K43, K44, K45, K46, K47, K48, K49, K4A, K4B, K4D, K4G, K4I, K4J, K4K, K4L, \
63 K50, K51, K53, K56, K5A, K5B, K5D, K5E, K5F, K5G, K5H, K5I, K5K \
64) { \
65 { K00, KC_NO, K02, K03, K04, K05, KC_NO, K07, K08, K09, K0A, K0B, K0C, K0D, K0E, K0F, K0G, K0H, KC_NO, KC_NO, KC_NO, KC_NO }, \
66 { K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, KC_NO, K1E, K1F, K1G, K1H, K1I, K1J, K1K, K1L }, \
67 { K20, KC_NO, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2D, K2E, K2F, K2G, K2H, K2I, K2J, K2K, K2L }, \
68 { K30, KC_NO, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3C, K3D, KC_NO, KC_NO, KC_NO, KC_NO, K3I, K3J, K3K, KC_NO }, \
69 { KC_NO, K41, K42, K43, K44, K45, K46, K47, K48, K49, K4A, K4B, KC_NO, K4D, KC_NO, KC_NO, K4G, KC_NO, K4I, K4J, K4K, K4L }, \
70 { K50, K51, KC_NO, K53, KC_NO, KC_NO, K56, KC_NO, KC_NO, KC_NO, K5A, K5B, KC_NO, K5D, K5E, K5F, K5G, K5H, K5I, KC_NO, K5K, KC_NO }, \
71}
72// clang-format on
diff --git a/keyboards/handwired/oem_ansi_fullsize/readme.md b/keyboards/handwired/oem_ansi_fullsize/readme.md
new file mode 100644
index 000000000..a94413cdf
--- /dev/null
+++ b/keyboards/handwired/oem_ansi_fullsize/readme.md
@@ -0,0 +1,49 @@
1# oem_ansi_fullsize
2
3![oem_ansi_fullsize](https://imgur.com/a/Tw7dwK4)
4This is a basic layout for a full-sized ANSI board. It should be compatible with any 100% full-sized layout, for example [RobotDoctor's MECH-104](https://www.thingiverse.com/thing:4205065).
5
6* Keyboard Maintainer: [Cian Johnston](https://github.com/johnstcn)
7* Hardware Supported: Teensy®++ 2.0 as it has enough pins for the matrix.
8* Hardware Availability: [pjrc.com](https://www.pjrc.com/store/teensypp.html)
9
10The pin layout I used is shown below. Change it as you wish, but be sure to avoid pin D6!
11
12```
13 ┌──────┐
14 ┌────┴──────┴────┐
15 +5V │o o│ GND
16 CL <== B6 │o o│ B7 ==> CE
17 CK <== B5 │o o│ D0 ==> CD
18 CJ <== B4 │o o│ D1 ==> CC
19 CI <== B3 │o o│ D2 ==> CB
20 CH <== B2 │o o│ D3 ==> CA
21 CG <== B1 │o o│ D4 ==> C9
22 CF <== B0 │o o│ D5 ==> C8
23 E7 │o o│ D6 ==> NOPE
24 C7 <== E6 │o o│ D7 ==> C6
25 GND │o o│ E0 ==> C5
26 RST │o o│ E1 ==> C4
27 R5 <== F0 │o o│ C0 ==> C3
28 R4 <== F1 │o A0 o o A4 o│ C1 ==> C2
29 R3 <== F2 │o A1 o o A5 o│ C2 ==> C1
30 R2 <== F3 │o A2 o o A6 o│ C3 ==> C0
31 R1 <== F4 │o A3 o o A7 o│ C4
32 R0 <== F5 │o o│ C5
33 F6 │o o│ C6
34 F7 │o o o o o│ C7
35 └────────────────┘
36 R G +
37 S N 5
38 T D V
39```
40
41Make example for this keyboard (after setting up your build environment):
42
43 make handwired/oem_ansi_fullsize:default
44
45Flashing example for this keyboard:
46
47 make handwired/oem_ansi_fullsize:default:flash
48
49See 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/oem_ansi_fullsize/rules.mk b/keyboards/handwired/oem_ansi_fullsize/rules.mk
new file mode 100644
index 000000000..f5d76ee85
--- /dev/null
+++ b/keyboards/handwired/oem_ansi_fullsize/rules.mk
@@ -0,0 +1,24 @@
1# MCU name
2MCU = at90usb1286
3
4# Bootloader selection
5BOOTLOADER = halfkay
6
7# Build Options
8# change yes to no to disable
9#
10BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration
11MOUSEKEY_ENABLE = no # 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 = no # USB Nkey Rollover
19BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
20RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
21BLUETOOTH_ENABLE = no # Enable Bluetooth
22AUDIO_ENABLE = no # Audio output
23
24LAYOUTS = fullsize_ansi \ No newline at end of file