Merge remote-tracking branch 'origin/master' into develop
This commit is contained in:
commit
1f94e99565
8 changed files with 474 additions and 0 deletions
159
keyboards/handwired/oem_ansi_fullsize/config.h
Normal file
159
keyboards/handwired/oem_ansi_fullsize/config.h
Normal file
|
@ -0,0 +1,159 @@
|
|||
/*
|
||||
Copyright 2021 Cian Johnston
|
||||
|
||||
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 0x0000
|
||||
#define DEVICE_VER 0x0001
|
||||
#define MANUFACTURER Cian Johnston
|
||||
#define PRODUCT oem_ansi_fullsize
|
||||
|
||||
/* key matrix size */
|
||||
#define MATRIX_ROWS 6
|
||||
#define MATRIX_COLS 22
|
||||
|
||||
/*
|
||||
* 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)
|
||||
*
|
||||
*/
|
||||
|
||||
#define MATRIX_ROW_PINS \
|
||||
{ F5, F4, F3, F2, F1, F0 }
|
||||
// R0 R1 R2 R3 R4 R5
|
||||
|
||||
#define MATRIX_COL_PINS \
|
||||
{ C3, C2, C1, C0, E1, E0, D7, E6, D5, D4, D3, D2, D1, D0, B7, B0, B1, B2, B3, B4, B5, F6 }
|
||||
// C0 C1 C2 C3 C4 C5 C6 C7 C8 C9 CA CB CC CD CE CF CG CH CI CJ CK CL
|
||||
|
||||
#define UNUSED_PINS
|
||||
|
||||
/* COL2ROW, ROW2COL */
|
||||
#define DIODE_DIRECTION COL2ROW
|
||||
|
||||
/*
|
||||
* Split Keyboard specific options, make sure you have 'SPLIT_KEYBOARD = yes' in your rules.mk, and define SOFT_SERIAL_PIN.
|
||||
*/
|
||||
//#define SOFT_SERIAL_PIN D0 // or D1, D2, D3, E6
|
||||
|
||||
//#define LED_NUM_LOCK_PIN B0
|
||||
//#define LED_CAPS_LOCK_PIN B1
|
||||
//#define LED_SCROLL_LOCK_PIN B2
|
||||
//#define LED_COMPOSE_PIN B3
|
||||
//#define LED_KANA_PIN B4
|
||||
|
||||
//#define BACKLIGHT_PIN B7
|
||||
//#define BACKLIGHT_LEVELS 3
|
||||
//#define BACKLIGHT_BREATHING
|
||||
|
||||
//#define RGB_DI_PIN E2
|
||||
//#ifdef RGB_DI_PIN
|
||||
//# define RGBLED_NUM 16
|
||||
//# define RGBLIGHT_HUE_STEP 8
|
||||
//# define RGBLIGHT_SAT_STEP 8
|
||||
//# define RGBLIGHT_VAL_STEP 8
|
||||
//# define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */
|
||||
//# define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */
|
||||
/*== all animations enable ==*/
|
||||
//# define RGBLIGHT_ANIMATIONS
|
||||
/*== or choose animations ==*/
|
||||
//# define RGBLIGHT_EFFECT_BREATHING
|
||||
//# define RGBLIGHT_EFFECT_RAINBOW_MOOD
|
||||
//# define RGBLIGHT_EFFECT_RAINBOW_SWIRL
|
||||
//# define RGBLIGHT_EFFECT_SNAKE
|
||||
//# define RGBLIGHT_EFFECT_KNIGHT
|
||||
//# define RGBLIGHT_EFFECT_CHRISTMAS
|
||||
//# define RGBLIGHT_EFFECT_STATIC_GRADIENT
|
||||
//# define RGBLIGHT_EFFECT_RGB_TEST
|
||||
//# define RGBLIGHT_EFFECT_ALTERNATING
|
||||
/*== customize breathing effect ==*/
|
||||
/*==== (DEFAULT) use fixed table instead of exp() and sin() ====*/
|
||||
//# define RGBLIGHT_BREATHE_TABLE_SIZE 256 // 256(default) or 128 or 64
|
||||
/*==== use exp() and sin() ====*/
|
||||
//# define RGBLIGHT_EFFECT_BREATHE_CENTER 1.85 // 1 to 2.7
|
||||
//# define RGBLIGHT_EFFECT_BREATHE_MAX 255 // 0 to 255
|
||||
//#endif
|
||||
|
||||
/* 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
|
||||
|
||||
/* 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
|
||||
|
||||
/* If defined, GRAVE_ESC will always act as ESC when CTRL is held.
|
||||
* This is useful for the Windows task manager shortcut (ctrl+shift+esc).
|
||||
*/
|
||||
//#define GRAVE_ESC_CTRL_OVERRIDE
|
||||
|
||||
/*
|
||||
* Force NKRO
|
||||
*
|
||||
* Force NKRO (nKey Rollover) to be enabled by default, regardless of the saved
|
||||
* state in the bootmagic EEPROM settings. (Note that NKRO must be enabled in the
|
||||
* makefile for this to work.)
|
||||
*
|
||||
* If forced on, NKRO can be disabled via magic key (default = LShift+RShift+N)
|
||||
* until the next keyboard reset.
|
||||
*
|
||||
* NKRO may prevent your keystrokes from being detected in the BIOS, but it is
|
||||
* fully operational during normal computer usage.
|
||||
*
|
||||
* For a less heavy-handed approach, enable NKRO via magic key (LShift+RShift+N)
|
||||
* or via bootmagic (hold SPACE+N while plugging in the keyboard). Once set by
|
||||
* bootmagic, NKRO mode will always be enabled until it is toggled again during a
|
||||
* power-up.
|
||||
*
|
||||
*/
|
||||
//#define FORCE_NKRO
|
||||
|
||||
/*
|
||||
* Feature disable options
|
||||
* These options are also useful to firmware size reduction.
|
||||
*/
|
||||
|
||||
/* disable debug print */
|
||||
//#define NO_DEBUG
|
||||
|
||||
/* disable print */
|
||||
//#define NO_PRINT
|
||||
|
||||
/* disable action features */
|
||||
//#define NO_ACTION_LAYER
|
||||
//#define NO_ACTION_TAPPING
|
||||
//#define NO_ACTION_ONESHOT
|
||||
|
||||
/* disable these deprecated features by default */
|
||||
#define NO_ACTION_MACRO
|
||||
#define NO_ACTION_FUNCTION
|
||||
|
||||
/* Bootmagic Lite key configuration */
|
||||
//#define BOOTMAGIC_LITE_ROW 0
|
||||
//#define BOOTMAGIC_LITE_COLUMN 0
|
122
keyboards/handwired/oem_ansi_fullsize/info.json
Normal file
122
keyboards/handwired/oem_ansi_fullsize/info.json
Normal file
|
@ -0,0 +1,122 @@
|
|||
{
|
||||
"keyboard_name": "oem_ansi_fullsize",
|
||||
"url": "https://github.com/johnstcn/qmk",
|
||||
"maintainer": "johnstcn",
|
||||
"width": 22.5,
|
||||
"height": 6.25,
|
||||
"layouts": {
|
||||
"LAYOUT_fullsize_ansi": {
|
||||
"layout": [
|
||||
{"matrix": [0, 0], "label": "ESC", "x":0, "y":0},
|
||||
{"matrix": [0, 2], "label": "F1", "x":2, "y":0},
|
||||
{"matrix": [0, 3], "label": "F2", "x":3, "y":0},
|
||||
{"matrix": [0, 4], "label": "F3", "x":4, "y":0},
|
||||
{"matrix": [0, 5], "label": "F4", "x":5, "y":0},
|
||||
{"matrix": [0, 7], "label": "F5", "x":6.5, "y":0},
|
||||
{"matrix": [0, 8], "label": "F6", "x":7.5, "y":0},
|
||||
{"matrix": [0, 9], "label": "F7", "x":8.5, "y":0},
|
||||
{"matrix": [0, 10], "label": "F8", "x":9.5, "y":0},
|
||||
{"matrix": [0, 11], "label": "F9", "x":11, "y":0},
|
||||
{"matrix": [0, 12], "label": "F10", "x":12, "y":0},
|
||||
{"matrix": [0, 13], "label": "F11", "x":13, "y":0},
|
||||
{"matrix": [0, 14], "label": "F12", "x":14, "y":0},
|
||||
{"matrix": [0, 15], "label": "PSCR", "x":15.25, "y":0},
|
||||
{"matrix": [0, 16], "label": "SLCK", "x":16.25, "y":0},
|
||||
{"matrix": [0, 17], "label": "PAUS", "x":17.25, "y":0},
|
||||
|
||||
{"matrix": [1, 0], "label": "GRV", "x":0, "y":1.25},
|
||||
{"matrix": [1, 1], "label": "1", "x":1, "y":1.25},
|
||||
{"matrix": [1, 2], "label": "2", "x":2, "y":1.25},
|
||||
{"matrix": [1, 3], "label": "3", "x":3, "y":1.25},
|
||||
{"matrix": [1, 4], "label": "4", "x":4, "y":1.25},
|
||||
{"matrix": [1, 5], "label": "5", "x":5, "y":1.25},
|
||||
{"matrix": [1, 6], "label": "6", "x":6, "y":1.25},
|
||||
{"matrix": [1, 7], "label": "7", "x":7, "y":1.25},
|
||||
{"matrix": [1, 8], "label": "8", "x":8, "y":1.25},
|
||||
{"matrix": [1, 9], "label": "9", "x":9, "y":1.25},
|
||||
{"matrix": [1, 10], "label": "0", "x":10, "y":1.25},
|
||||
{"matrix": [1, 11], "label": "MINS", "x":11, "y":1.25},
|
||||
{"matrix": [1, 12], "label": "EQL", "x":12, "y":1.25},
|
||||
{"matrix": [1, 14], "label": "BSPC", "x":13, "y":1.25, "w":2},
|
||||
{"matrix": [1, 15], "label": "INS", "x":15.25, "y":1.25},
|
||||
{"matrix": [1, 16], "label": "HOME", "x":16.25, "y":1.25},
|
||||
{"matrix": [1, 17], "label": "PGUP", "x":17.25, "y":1.25},
|
||||
{"matrix": [1, 18], "label": "NLCK", "x":18.5, "y":1.25},
|
||||
{"matrix": [1, 19], "label": "PSLS", "x":19.5, "y":1.25},
|
||||
{"matrix": [1, 20], "label": "PAST", "x":20.5, "y":1.25},
|
||||
{"matrix": [1, 21], "label": "PMNS", "x":21.5, "y":1.25},
|
||||
|
||||
{"matrix": [2, 0], "label": "TAB", "x":0, "y":2.25, "w":1.5},
|
||||
{"matrix": [2, 2], "label": "Q", "x":1.5, "y":2.25},
|
||||
{"matrix": [2, 3], "label": "W", "x":2.5, "y":2.25},
|
||||
{"matrix": [2, 4], "label": "E", "x":3.5, "y":2.25},
|
||||
{"matrix": [2, 5], "label": "R", "x":4.5, "y":2.25},
|
||||
{"matrix": [2, 6], "label": "T", "x":5.5, "y":2.25},
|
||||
{"matrix": [2, 7], "label": "Y", "x":6.5, "y":2.25},
|
||||
{"matrix": [2, 8], "label": "U", "x":7.5, "y":2.25},
|
||||
{"matrix": [2, 9], "label": "I", "x":8.5, "y":2.25},
|
||||
{"matrix": [2, 10], "label": "O", "x":9.5, "y":2.25},
|
||||
{"matrix": [2, 11], "label": "P", "x":10.5, "y":2.25},
|
||||
{"matrix": [2, 12], "label": "LBRC", "x":11.5, "y":2.25},
|
||||
{"matrix": [2, 13], "label": "RBRC", "x":12.5, "y":2.25},
|
||||
{"matrix": [2, 14], "label": "BSLS", "x":13.5, "y":2.25, "w":1.5},
|
||||
{"matrix": [2, 15], "label": "DEL", "x":15.25, "y":2.25},
|
||||
{"matrix": [2, 16], "label": "END", "x":16.25, "y":2.25},
|
||||
{"matrix": [2, 17], "label": "PGDN", "x":17.25, "y":2.25},
|
||||
{"matrix": [2, 18], "label": "P7", "x":18.5, "y":2.25},
|
||||
{"matrix": [2, 19], "label": "P8", "x":19.5, "y":2.25},
|
||||
{"matrix": [2, 20], "label": "P9", "x":20.5, "y":2.25},
|
||||
{"matrix": [2, 21], "label": "PPLS", "x":21.5, "y":2.25, "h": 2},
|
||||
|
||||
{"matrix": [3, 0], "label": "CAPS", "x":0, "y":3.25, "w":1.75},
|
||||
{"matrix": [3, 2], "label": "A", "x":1.75, "y":3.25},
|
||||
{"matrix": [3, 3], "label": "S", "x":2.75, "y":3.25},
|
||||
{"matrix": [3, 4], "label": "D", "x":3.75, "y":3.25},
|
||||
{"matrix": [3, 5], "label": "F", "x":4.75, "y":3.25},
|
||||
{"matrix": [3, 6], "label": "G", "x":5.75, "y":3.25},
|
||||
{"matrix": [3, 7], "label": "H", "x":6.75, "y":3.25},
|
||||
{"matrix": [3, 8], "label": "J", "x":7.75, "y":3.25},
|
||||
{"matrix": [3, 9], "label": "K", "x":8.75, "y":3.25},
|
||||
{"matrix": [3, 10], "label": "L", "x":9.75, "y":3.25},
|
||||
{"matrix": [3, 11], "label": "SCLN", "x":10.75, "y":3.25},
|
||||
{"matrix": [3, 12], "label": "QUOT", "x":11.75, "y":3.25},
|
||||
{"matrix": [3, 13], "label": "ENT", "x":12.75, "y":3.25, "w":2.25},
|
||||
{"matrix": [3, 18], "label": "P4", "x":18.5, "y":3.25},
|
||||
{"matrix": [3, 19], "label": "P5", "x":19.5, "y":3.25},
|
||||
{"matrix": [3, 20], "label": "P6", "x":20.5, "y":3.25},
|
||||
|
||||
{"matrix": [4, 1], "label": "LSFT", "x":0, "y":4.25, "w":2.25},
|
||||
{"matrix": [4, 2], "label": "Z", "x":2.25, "y":4.25},
|
||||
{"matrix": [4, 3], "label": "X", "x":3.25, "y":4.25},
|
||||
{"matrix": [4, 4], "label": "C", "x":4.25, "y":4.25},
|
||||
{"matrix": [4, 5], "label": "V", "x":5.25, "y":4.25},
|
||||
{"matrix": [4, 6], "label": "B", "x":6.25, "y":4.25},
|
||||
{"matrix": [4, 7], "label": "N", "x":7.25, "y":4.25},
|
||||
{"matrix": [4, 8], "label": "M", "x":8.25, "y":4.25},
|
||||
{"matrix": [4, 9], "label": "COMM", "x":9.25, "y":4.25},
|
||||
{"matrix": [4, 10], "label": "DOT", "x":10.25, "y":4.25},
|
||||
{"matrix": [4, 11], "label": "SLSH", "x":11.25, "y":4.25},
|
||||
{"matrix": [4, 13], "label": "RSFT", "x":12.25, "y":4.25, "w":2.75},
|
||||
{"matrix": [4, 16], "label": "UP", "x":16.25, "y":4.25},
|
||||
{"matrix": [4, 18], "label": "P1", "x":18.5, "y":4.25},
|
||||
{"matrix": [4, 19], "label": "P2", "x":19.5, "y":4.25},
|
||||
{"matrix": [4, 20], "label": "P3", "x":20.5, "y":4.25},
|
||||
{"matrix": [4, 21], "label": "PENT", "x":21.5, "y":4.25, "h":2},
|
||||
|
||||
{"matrix": [5, 0], "label": "LCTL", "x":0, "y":5.25, "w":1.25},
|
||||
{"matrix": [5, 1], "label": "LGUI", "x":1.25, "y":5.25, "w":1.25},
|
||||
{"matrix": [5, 3], "label": "LALT", "x":2.5, "y":5.25, "w":1.25},
|
||||
{"matrix": [5, 6], "label": "SPC", "x":3.75, "y":5.25, "w":6.25},
|
||||
{"matrix": [5, 10], "label": "RALT", "x":10, "y":5.25, "w":1.25},
|
||||
{"matrix": [5, 11], "label": "RGUI", "x":11.25, "y":5.25, "w":1.25},
|
||||
{"matrix": [5, 13], "label": "MO(1)", "x":12.5, "y":5.25, "w":1.25},
|
||||
{"matrix": [5, 14], "label": "RCTL", "x":13.75, "y":5.25, "w":1.25},
|
||||
{"matrix": [5, 15], "label": "LEFT", "x":15.25, "y":5.25},
|
||||
{"matrix": [5, 16], "label": "DOWN", "x":16.25, "y":5.25},
|
||||
{"matrix": [5, 17], "label": "RGHT", "x":17.25, "y":5.25},
|
||||
{"matrix": [5, 18], "label": "P0", "x":18.5, "y":5.25, "w":2},
|
||||
{"matrix": [5, 20], "label": "PDOT", "x":20.5, "y":5.25}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,30 @@
|
|||
/* Copyright 2021 Cian Johnston
|
||||
*
|
||||
* 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
|
||||
|
||||
// clang-format off
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
[0] = LAYOUT_fullsize_ansi(
|
||||
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,
|
||||
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,
|
||||
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,
|
||||
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,
|
||||
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,
|
||||
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
|
||||
),
|
||||
};
|
||||
// clang-format on
|
||||
|
|
@ -0,0 +1 @@
|
|||
# The default keymap for oem_ansi_fullsize
|
17
keyboards/handwired/oem_ansi_fullsize/oem_ansi_fullsize.c
Normal file
17
keyboards/handwired/oem_ansi_fullsize/oem_ansi_fullsize.c
Normal file
|
@ -0,0 +1,17 @@
|
|||
/* Copyright 2021 Cian Johnston
|
||||
*
|
||||
* 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 "oem_ansi_fullsize.h"
|
72
keyboards/handwired/oem_ansi_fullsize/oem_ansi_fullsize.h
Normal file
72
keyboards/handwired/oem_ansi_fullsize/oem_ansi_fullsize.h
Normal file
|
@ -0,0 +1,72 @@
|
|||
/* Copyright 2021 Cian Johnston
|
||||
*
|
||||
* 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"
|
||||
|
||||
/* 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.
|
||||
*/
|
||||
|
||||
/* Matrix col/row mapping
|
||||
*
|
||||
* 10 11 12 13 14 15 16 17 18 19 20 21
|
||||
* C0 C1 C2 C3 C4 C5 C6 C7 C8 C9 CA CB CC CD CE CF CG CH CI CJ CK CL
|
||||
* ┌───┐ ┌───┐┌───┐┌───┐┌───┐ ┌───┐┌───┐┌───┐┌───┐ ┌───┐┌───┐┌───┐┌───┐ ┌───┐┌───┐┌───┐
|
||||
* R0 │K00│ │K02││K03││K04││K05│ │K07││K08││K09││K0A│ │K0B││K0C││K0D││K0E│ │K0F││K0G││K0H│
|
||||
* └───┘ └───┘└───┘└───┘└───┘ └───┘└───┘└───┘└───┘ └───┘└───┘└───┘└───┘ └───┘└───┘└───┘
|
||||
*
|
||||
* ┌───┐┌───┐┌───┐┌───┐┌───┐┌───┐┌───┐┌───┐┌───┐┌───┐┌───┐┌───┐┌───┐┌───────┐ ┌───┐┌───┐┌───┐ ┌───┐┌───┐┌───┐┌───┐
|
||||
* R1 │K10││K11││K12││K13││K14││K15││K16││K17││K18││K19││K1A││K1B││K1C││ K1E │ │K1F││K1G││K1H│ │K1I││K1J││K1K││K1L│
|
||||
* └───┘└───┘└───┘└───┘└───┘└───┘└───┘└───┘└───┘└───┘└───┘└───┘└───┘└───────┘ └───┘└───┘└───┘ └───┘└───┘└───┘└───┘
|
||||
* ┌─────┐┌───┐┌───┐┌───┐┌───┐┌───┐┌───┐┌───┐┌───┐┌───┐┌───┐┌───┐┌───┐┌─────┐ ┌───┐┌───┐┌───┐ ┌───┐┌───┐┌───┐┌───┐
|
||||
* R2 │ K20 ││K22││K23││K24││K25││K26││K27││K28││K29││K2A││K2B││K2C││K2D││ K2E │ │K2F││K2G││K2H│ │K2I││K2J││K2K││ │
|
||||
* └─────┘└───┘└───┘└───┘└───┘└───┘└───┘└───┘└───┘└───┘└───┘└───┘└───┘└─────┘ └───┘└───┘└───┘ └───┘└───┘└───┘│K2L│
|
||||
* ┌───────┐┌───┐┌───┐┌───┐┌───┐┌───┐┌───┐┌───┐┌───┐┌───┐┌───┐┌───┐┌────────┐ ┌───┐┌───┐┌───┐│ │
|
||||
* R3 │ K30 ││K32││K33││K34││K35││K36││K37││K38││K39││K3A││K3B││K3C││ K3D │ │K3I││K3J││K3K││ │
|
||||
* └───────┘└───┘└───┘└───┘└───┘└───┘└───┘└───┘└───┘└───┘└───┘└───┘└────────┘ └───┘└───┘└───┘└───┘
|
||||
* ┌─────────┐┌───┐┌───┐┌───┐┌───┐┌───┐┌───┐┌───┐┌───┐┌───┐┌───┐┌───────────┐ ┌───┐ ┌───┐┌───┐┌───┐┌───┐
|
||||
* R4 │ K41 ││K42││K43││K44││K45││K46││K47││K48││K49││K4A││K4B││ K4D │ │K4G│ │K4I││K4J││K4K││ │
|
||||
* └─────────┘└───┘└───┘└───┘└───┘└───┘└───┘└───┘└───┘└───┘└───┘└───────────┘ └───┘ └───┘└───┘└───┘│K4L│
|
||||
* ┌────┐┌────┐┌────┐┌──────────────────────────────┐┌────┐┌────┐┌────┐┌────┐ ┌───┐┌───┐┌───┐ ┌────────┐┌───┐│ │
|
||||
* R5 │K50 ││K51 ││K53 ││ K56 ││K5A ││K5B ││K5D ││K5E │ │K5F││K5G││K5H│ │ K5I ││K5K││ │
|
||||
* └────┘└────┘└────┘└──────────────────────────────┘└────┘└────┘└────┘└────┘ └───┘└───┘└───┘ └────────┘└───┘└───┘
|
||||
*
|
||||
*/
|
||||
|
||||
// clang-format off
|
||||
#define LAYOUT_fullsize_ansi( \
|
||||
K00, K02, K03, K04, K05, K07, K08, K09, K0A, K0B, K0C, K0D, K0E, K0F, K0G, K0H, \
|
||||
K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1E, K1F, K1G, K1H, K1I, K1J, K1K, K1L, \
|
||||
K20, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2D, K2E, K2F, K2G, K2H, K2I, K2J, K2K, K2L, \
|
||||
K30, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3C, K3D, K3I, K3J, K3K, \
|
||||
K41, K42, K43, K44, K45, K46, K47, K48, K49, K4A, K4B, K4D, K4G, K4I, K4J, K4K, K4L, \
|
||||
K50, K51, K53, K56, K5A, K5B, K5D, K5E, K5F, K5G, K5H, K5I, K5K \
|
||||
) { \
|
||||
{ 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 }, \
|
||||
{ K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, KC_NO, K1E, K1F, K1G, K1H, K1I, K1J, K1K, K1L }, \
|
||||
{ K20, KC_NO, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2D, K2E, K2F, K2G, K2H, K2I, K2J, K2K, K2L }, \
|
||||
{ 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 }, \
|
||||
{ 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 }, \
|
||||
{ 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 }, \
|
||||
}
|
||||
// clang-format on
|
49
keyboards/handwired/oem_ansi_fullsize/readme.md
Normal file
49
keyboards/handwired/oem_ansi_fullsize/readme.md
Normal file
|
@ -0,0 +1,49 @@
|
|||
# oem_ansi_fullsize
|
||||
|
||||
![oem_ansi_fullsize](https://imgur.com/a/Tw7dwK4)
|
||||
This 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).
|
||||
|
||||
* Keyboard Maintainer: [Cian Johnston](https://github.com/johnstcn)
|
||||
* Hardware Supported: Teensy®++ 2.0 as it has enough pins for the matrix.
|
||||
* Hardware Availability: [pjrc.com](https://www.pjrc.com/store/teensypp.html)
|
||||
|
||||
The pin layout I used is shown below. Change it as you wish, but be sure to avoid pin D6!
|
||||
|
||||
```
|
||||
┌──────┐
|
||||
┌────┴──────┴────┐
|
||||
+5V │o o│ GND
|
||||
CL <== B6 │o o│ B7 ==> CE
|
||||
CK <== B5 │o o│ D0 ==> CD
|
||||
CJ <== B4 │o o│ D1 ==> CC
|
||||
CI <== B3 │o o│ D2 ==> CB
|
||||
CH <== B2 │o o│ D3 ==> CA
|
||||
CG <== B1 │o o│ D4 ==> C9
|
||||
CF <== B0 │o o│ D5 ==> C8
|
||||
E7 │o o│ D6 ==> NOPE
|
||||
C7 <== E6 │o o│ D7 ==> C6
|
||||
GND │o o│ E0 ==> C5
|
||||
RST │o o│ E1 ==> C4
|
||||
R5 <== F0 │o o│ C0 ==> C3
|
||||
R4 <== F1 │o A0 o o A4 o│ C1 ==> C2
|
||||
R3 <== F2 │o A1 o o A5 o│ C2 ==> C1
|
||||
R2 <== F3 │o A2 o o A6 o│ C3 ==> C0
|
||||
R1 <== F4 │o A3 o o A7 o│ C4
|
||||
R0 <== F5 │o o│ C5
|
||||
F6 │o o│ C6
|
||||
F7 │o o o o o│ C7
|
||||
└────────────────┘
|
||||
R G +
|
||||
S N 5
|
||||
T D V
|
||||
```
|
||||
|
||||
Make example for this keyboard (after setting up your build environment):
|
||||
|
||||
make handwired/oem_ansi_fullsize:default
|
||||
|
||||
Flashing example for this keyboard:
|
||||
|
||||
make handwired/oem_ansi_fullsize:default:flash
|
||||
|
||||
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).
|
24
keyboards/handwired/oem_ansi_fullsize/rules.mk
Normal file
24
keyboards/handwired/oem_ansi_fullsize/rules.mk
Normal file
|
@ -0,0 +1,24 @@
|
|||
# MCU name
|
||||
MCU = at90usb1286
|
||||
|
||||
# Bootloader selection
|
||||
BOOTLOADER = halfkay
|
||||
|
||||
# Build Options
|
||||
# change yes to no to disable
|
||||
#
|
||||
BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration
|
||||
MOUSEKEY_ENABLE = no # Mouse keys
|
||||
EXTRAKEY_ENABLE = yes # Audio control and System control
|
||||
CONSOLE_ENABLE = no # Console for debug
|
||||
COMMAND_ENABLE = no # 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 = no # USB Nkey Rollover
|
||||
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
|
||||
RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
|
||||
BLUETOOTH_ENABLE = no # Enable Bluetooth
|
||||
AUDIO_ENABLE = no # Audio output
|
||||
|
||||
LAYOUTS = fullsize_ansi
|
Loading…
Reference in a new issue