1
0
Fork 0

Merge remote-tracking branch 'origin/master' into develop

This commit is contained in:
QMK Bot 2022-01-11 18:07:58 +00:00
commit fd98d78cd8
19 changed files with 1142 additions and 0 deletions

View file

@ -0,0 +1,4 @@
// Copyright 2022 peepeetee (@peepeetee)
// SPDX-License-Identifier: GPL-2.0-or-later
#include "amj84.h"

View file

@ -0,0 +1,30 @@
// Copyright 2022 peepeetee (@peepeetee)
// 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 LAYOUT( \
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, K2D, K2E, \
K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3C, K3D, K3E, \
K40, K41, K42, K43, K44, K45, K46, K47, K48, K49, K4A, K4B, K4C, K4D, K4E, \
K50, K51, K52, K55, K58, K59, K5A, K5B, K5C, K5D, K5E \
) { \
{ 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, K2D, K2E }, \
{ K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3C, K3D, K3E }, \
{ K40, K41, K42, K43, K44, K45, K46, K47, K48, K49, K4A, K4B, K4C, K4D, K4E }, \
{ K50, K51, K52,KC_NO,KC_NO,K55,KC_NO,KC_NO,K58,K59,K5A, K5B, K5C, K5D, K5E } \
}

View file

@ -0,0 +1,112 @@
// Copyright 2022 peepeetee (@peepeetee)
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include "config_common.h"
/* USB Device descriptor parameter */
#define VENDOR_ID 0x00D8 //A+M+J
#define PRODUCT_ID 0x6068
#define DEVICE_VER 0x0001
#define MANUFACTURER Han Chen
#define PRODUCT AMJ84
/* key matrix size */
#define MATRIX_ROWS 6
#define MATRIX_COLS 15
/*
* 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 { D0, F7, F6, F5, F4, D5 }
#define MATRIX_COL_PINS { F1, F0, E6, C7, C6, B0, D4, B1, B7, B5, B4, D7, D6, B3, D1 }
#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 B2
//#define LED_SCROLL_LOCK_PIN B2
//#define LED_COMPOSE_PIN B3
//#define LED_KANA_PIN B4
#define BACKLIGHT_PIN B6
#define BACKLIGHT_LEVELS 3
#define BACKLIGHT_BREATHING
/* 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

View file

@ -0,0 +1,97 @@
{
"keyboard_name": "AMJ84",
"maintainer": "peepeetee",
"url": "",
"layouts": {
"LAYOUT": {
"layout": [
{ "x": 0, "y": 0 },
{ "x": 1, "y": 0 },
{ "x": 2, "y": 0 },
{ "x": 3, "y": 0 },
{ "x": 4, "y": 0 },
{ "x": 5, "y": 0 },
{ "x": 6, "y": 0 },
{ "x": 7, "y": 0 },
{ "x": 8, "y": 0 },
{ "x": 9, "y": 0 },
{ "x": 10, "y": 0 },
{ "x": 11, "y": 0 },
{ "x": 12, "y": 0 },
{ "x": 13, "y": 0 },
{ "x": 14, "y": 0 },
{ "x": 15, "y": 0 },
{ "x": 0, "y": 1 },
{ "x": 1, "y": 1 },
{ "x": 2, "y": 1 },
{ "x": 3, "y": 1 },
{ "x": 4, "y": 1 },
{ "x": 5, "y": 1 },
{ "x": 6, "y": 1 },
{ "x": 7, "y": 1 },
{ "x": 8, "y": 1 },
{ "x": 9, "y": 1 },
{ "x": 10, "y": 1 },
{ "x": 11, "y": 1 },
{ "x": 12, "y": 1 },
{ "w": 2, "x": 13, "y": 1 },
{ "x": 15, "y": 1 },
{ "w": 1.5, "x": 0, "y": 2 },
{ "x": 1.5, "y": 2 },
{ "x": 2.5, "y": 2 },
{ "x": 3.5, "y": 2 },
{ "x": 4.5, "y": 2 },
{ "x": 5.5, "y": 2 },
{ "x": 6.5, "y": 2 },
{ "x": 7.5, "y": 2 },
{ "x": 8.5, "y": 2 },
{ "x": 9.5, "y": 2 },
{ "x": 10.5, "y": 2 },
{ "x": 11.5, "y": 2 },
{ "x": 12.5, "y": 2 },
{ "w": 1.5, "x": 13.5, "y": 2 },
{ "x": 15, "y": 2 },
{ "w": 1.75, "x": 0, "y": 3 },
{ "x": 1.75, "y": 3 },
{ "x": 2.75, "y": 3 },
{ "x": 3.75, "y": 3 },
{ "x": 4.75, "y": 3 },
{ "x": 5.75, "y": 3 },
{ "x": 6.75, "y": 3 },
{ "x": 7.75, "y": 3 },
{ "x": 8.75, "y": 3 },
{ "x": 9.75, "y": 3 },
{ "x": 10.75, "y": 3 },
{ "x": 11.75, "y": 3 },
{ "x": 12.75, "y": 3 },
{ "w": 1.25, "x": 13.75, "y": 3 },
{ "x": 15, "y": 3 },
{ "w": 2.25, "x": 0, "y": 4 },
{ "x": 2.25, "y": 4 },
{ "x": 3.25, "y": 4 },
{ "x": 4.25, "y": 4 },
{ "x": 5.25, "y": 4 },
{ "x": 6.25, "y": 4 },
{ "x": 7.25, "y": 4 },
{ "x": 8.25, "y": 4 },
{ "x": 9.25, "y": 4 },
{ "x": 10.25, "y": 4 },
{ "x": 11.25, "y": 4 },
{ "w": 1.75, "x": 12.25, "y": 4 },
{ "x": 14, "y": 4 },
{ "x": 15, "y": 4 },
{ "w": 1.25, "x": 0, "y": 5 },
{ "w": 1.25, "x": 1.25, "y": 5 },
{ "w": 1.25, "x": 2.5, "y": 5 },
{ "w": 5.25, "x": 3.75, "y": 5 },
{ "x": 9, "y": 5 },
{ "x": 10, "y": 5 },
{ "x": 11, "y": 5 },
{ "x": 12, "y": 5 },
{ "x": 13, "y": 5 },
{ "x": 14, "y": 5 },
{ "x": 15, "y": 5 }
]
}
}
}

View file

@ -0,0 +1,53 @@
// Copyright 2022 peepeetee (@peepeetee)
// SPDX-License-Identifier: GPL-2.0-or-later
#include QMK_KEYBOARD_H
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
/* Base */
/* Keymap 0: Default Layer
* ,----------------------------------------------------------------.
* |Esc| F1| F2| F3| F4| F5| F6| F7| F8| F9|F10|F11|F12|Home |Del|
* |------------------------------------------------------------|---|
* |` | 1| 2| 3| 4| 5| 6| 7| 8| 9| 0| -| =|Backsp |PgU|
* |------------------------------------------------------------|---|
* |Tab | Q| W| E| R| T| Y| U| I| O| P| [| ]| \ |PgD|
* |------------------------------------------------------------|---|
* |Caps | A| S| D| F| G| H| J| K| L| ;| '|Return |Ins|
* |------------------------------------------------------------|---|
* |Shift | Z| X| C| V| B| N| M| ,| .| /|Shift |Up |Fn0|
* |------------------------------------------------------------|---|
* |Ctrl|Win |Alt | Space |END|Alt |Ctrl|Left |Down|Rig|
* `----------------------------------------------------------------'
*/
[0] = LAYOUT(
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_HOME,KC_DEL,
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_PGUP,
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_PGDN,
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_NO, KC_ENT, KC_INS,
KC_LSFT,KC_NO, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM,KC_DOT, KC_SLSH,KC_RSFT,KC_UP, MO(1),
KC_LCTL,KC_LGUI,KC_LALT, KC_SPC, KC_END, KC_NO, KC_RALT,KC_RCTL,KC_LEFT,KC_DOWN,KC_RIGHT),
/* Keymap 1: Fn Layer
* ,-----------------------------------------------------------.
* | `| F1| F2| F3| F4| F5| F6| F7| F8| F9|F10|F11|F12|Delete |
* |-----------------------------------------------------------|
* | | |Up | | | |Cal| |Ins| |Psc|Slk|Pau| |
* |-----------------------------------------------------------|
* | |Lef|Dow|Rig| | | | | | |Hom|PgU| |
* |-----------------------------------------------------------|
* | | |App|Fn1|Fn2|Fn3|VoD|VoU|Mut|End|PgD| | |
* |-----------------------------------------------------------|
* | | | | | | | | |
* `-----------------------------------------------------------'
*/
[1] = LAYOUT(
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_UP, KC_TRNS,KC_TRNS,KC_TRNS,KC_CALC,KC_TRNS,KC_INS, KC_TRNS,KC_PSCR,KC_SLCK,KC_PAUS,KC_TRNS,KC_TRNS,
BL_BRTG,KC_LEFT,KC_DOWN,KC_RGHT,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_HOME,KC_PGUP,KC_TRNS,KC_TRNS,KC_TRNS,
BL_STEP,KC_NO, KC_TRNS,KC_APP, KC_FN1, KC_FN2, KC_FN3, KC_VOLD,KC_VOLU,KC_MUTE,KC_END, KC_PGDN,KC_TRNS,KC_TRNS,KC_TRNS,
KC_SLEP,KC_TRNS,KC_TRNS, KC_TRNS, KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS)
};

View file

@ -0,0 +1 @@
# The default keymap for amj84

View file

@ -0,0 +1,27 @@
# amj84
![amj84](https://i.imgur.com/oKAkyBW.jpeg)
A 84 key keyboard by AMJ
* Keyboard Maintainer: [peepeetee](https://github.com/peepeetee)
* Hardware Supported: AMJ84
* Hardware Availability: no longer available
Make example for this keyboard (after setting up your build environment):
make amjkeyboard/amj84:default
Flashing example for this keyboard:
make amjkeyboard/amj84: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).
## Bootloader
Enter the bootloader in 3 ways:
* **Bootmagic reset**: Hold down the key at (0,0) in the matrix (usually the top left key or Escape) and plug in the keyboard
* **Physical reset button**: Briefly press the button on the back of the PCB
* **Keycode in layout**: Press the key mapped to `RESET` if it is available

View file

@ -0,0 +1,18 @@
# MCU name
MCU = atmega32u4
# Bootloader selection
BOOTLOADER = atmel-dfu
# Build Options
# change yes to no to disable
#
BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite
MOUSEKEY_ENABLE = yes # Mouse keys
EXTRAKEY_ENABLE = yes # Audio control and System control
CONSOLE_ENABLE = no # Console for debug
COMMAND_ENABLE = no # Commands for debug and configuration
NKRO_ENABLE = no # Enable N-Key Rollover
BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
AUDIO_ENABLE = no # Audio output

View file

@ -0,0 +1,17 @@
/* Copyright 2022 david l goodrich <dlg@dsrw.org>
*
* 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 "3dfoxc.h"

View file

@ -0,0 +1,38 @@
/* Copyright 2022 david l goodrich <dlg@dsrw.org>
*
* 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"
#define XXX KC_NO
#define LAYOUT( \
K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, K0E, K0F, \
K10, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, K1E, K1F, \
K20, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2D, K2F, \
K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3D, K3E, K3F, \
K40, K41, K43, K46, K4A, K4B, K4D, K4E, K4F \
) { \
{ K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, K0E, K0F }, \
{ K10, XXX, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, K1E, K1F }, \
{ K20, XXX, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2D, XXX, K2F }, \
{ XXX, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, XXX, K3D, K3E, K3F }, \
{ K40, K41, XXX, K43, XXX, XXX, K46, XXX, XXX, XXX, K4A, K4B, XXX, K4D, K4E, K4F }, \
}
// generated by KBFirmware JSON to QMK Parser
// https://noroadsleft.github.io/kbf_qmk_converter/

View file

@ -0,0 +1,45 @@
/* Copyright 2022 david l goodrich <dlg@dsrw.org>
*
* 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 dlgoodr
#define PRODUCT 3dfoxc
/* key matrix size */
#define MATRIX_ROWS 5
#define MATRIX_COLS 16
/*
* 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 { F0, F1, C7, D5, B7 }
#define MATRIX_COL_PINS { D1, D0, D4, C6, D7, E6, B4, B5, B6, B2, B3, B1, F7, F6, F5, F4 }
#define DIODE_DIRECTION COL2ROW

View file

@ -0,0 +1,364 @@
{
"keyboard_name": "3dfoxc",
"url": "",
"maintainer": "dlgoodr",
"layouts": {
"LAYOUT": {
"layout": [
{
"label": "K00 (B0,B5)",
"x": 0,
"y": 0
},
{
"label": "K01 (B0,B6)",
"x": 1,
"y": 0
},
{
"label": "K02 (B0,B7)",
"x": 2,
"y": 0
},
{
"label": "K03 (B0,C0)",
"x": 3,
"y": 0
},
{
"label": "K04 (B0,C1)",
"x": 4,
"y": 0
},
{
"label": "K05 (B0,C2)",
"x": 5,
"y": 0
},
{
"label": "K06 (B0,C3)",
"x": 6,
"y": 0
},
{
"label": "K07 (B0,C4)",
"x": 7,
"y": 0
},
{
"label": "K08 (B0,C5)",
"x": 8,
"y": 0
},
{
"label": "K09 (B0,C6)",
"x": 9,
"y": 0
},
{
"label": "K0A (B0,C7)",
"x": 10,
"y": 0
},
{
"label": "K0B (B0,D0)",
"x": 11,
"y": 0
},
{
"label": "K0C (B0,D1)",
"x": 12,
"y": 0
},
{
"label": "K0D (B0,D2)",
"x": 13,
"y": 0
},
{
"label": "K0E (B0,D3)",
"x": 14,
"y": 0
},
{
"label": "K0F (B0,D4)",
"x": 15,
"y": 0
},
{
"label": "K10 (B1,B5)",
"x": 0,
"y": 1,
"w": 1.5
},
{
"label": "K12 (B1,B7)",
"x": 1.5,
"y": 1
},
{
"label": "K13 (B1,C0)",
"x": 2.5,
"y": 1
},
{
"label": "K14 (B1,C1)",
"x": 3.5,
"y": 1
},
{
"label": "K15 (B1,C2)",
"x": 4.5,
"y": 1
},
{
"label": "K16 (B1,C3)",
"x": 5.5,
"y": 1
},
{
"label": "K17 (B1,C4)",
"x": 6.5,
"y": 1
},
{
"label": "K18 (B1,C5)",
"x": 7.5,
"y": 1
},
{
"label": "K19 (B1,C6)",
"x": 8.5,
"y": 1
},
{
"label": "K1A (B1,C7)",
"x": 9.5,
"y": 1
},
{
"label": "K1B (B1,D0)",
"x": 10.5,
"y": 1
},
{
"label": "K1C (B1,D1)",
"x": 11.5,
"y": 1
},
{
"label": "K1D (B1,D2)",
"x": 12.5,
"y": 1
},
{
"label": "K1E (B1,D3)",
"x": 13.5,
"y": 1,
"w": 1.5
},
{
"label": "K1F (B1,D4)",
"x": 15,
"y": 1
},
{
"label": "K20 (B2,B5)",
"x": 0,
"y": 2,
"w": 1.75
},
{
"label": "K22 (B2,B7)",
"x": 1.75,
"y": 2
},
{
"label": "K23 (B2,C0)",
"x": 2.75,
"y": 2
},
{
"label": "K24 (B2,C1)",
"x": 3.75,
"y": 2
},
{
"label": "K25 (B2,C2)",
"x": 4.75,
"y": 2
},
{
"label": "K26 (B2,C3)",
"x": 5.75,
"y": 2
},
{
"label": "K27 (B2,C4)",
"x": 6.75,
"y": 2
},
{
"label": "K28 (B2,C5)",
"x": 7.75,
"y": 2
},
{
"label": "K29 (B2,C6)",
"x": 8.75,
"y": 2
},
{
"label": "K2A (B2,C7)",
"x": 9.75,
"y": 2
},
{
"label": "K2B (B2,D0)",
"x": 10.75,
"y": 2
},
{
"label": "K2C (B2,D1)",
"x": 11.75,
"y": 2
},
{
"label": "K2D (B2,D2)",
"x": 12.75,
"y": 2,
"w": 2.25
},
{
"label": "K2F (B2,D4)",
"x": 15,
"y": 2
},
{
"label": "K31 (B3,B6)",
"x": 0,
"y": 3,
"w": 2.25
},
{
"label": "K32 (B3,B7)",
"x": 2.25,
"y": 3
},
{
"label": "K33 (B3,C0)",
"x": 3.25,
"y": 3
},
{
"label": "K34 (B3,C1)",
"x": 4.25,
"y": 3
},
{
"label": "K35 (B3,C2)",
"x": 5.25,
"y": 3
},
{
"label": "K36 (B3,C3)",
"x": 6.25,
"y": 3
},
{
"label": "K37 (B3,C4)",
"x": 7.25,
"y": 3
},
{
"label": "K38 (B3,C5)",
"x": 8.25,
"y": 3
},
{
"label": "K39 (B3,C6)",
"x": 9.25,
"y": 3
},
{
"label": "K3A (B3,C7)",
"x": 10.25,
"y": 3
},
{
"label": "K3B (B3,D0)",
"x": 11.25,
"y": 3
},
{
"label": "K3D (B3,D2)",
"x": 12.25,
"y": 3,
"w": 1.75
},
{
"label": "K3E (B3,D3)",
"x": 14,
"y": 3
},
{
"label": "K3F (B3,D4)",
"x": 15,
"y": 3
},
{
"label": "K40 (B4,B5)",
"x": 0,
"y": 4,
"w": 1.25
},
{
"label": "K41 (B4,B6)",
"x": 1.25,
"y": 4,
"w": 1.25
},
{
"label": "K43 (B4,C0)",
"x": 2.5,
"y": 4,
"w": 1.25
},
{
"label": "K46 (B4,C3)",
"x": 3.75,
"y": 4,
"w": 6.25
},
{
"label": "K4A (B4,C7)",
"x": 10,
"y": 4,
"w": 1.25
},
{
"label": "K4B (B4,D0)",
"x": 11.25,
"y": 4,
"w": 1.25
},
{
"label": "K4D (B4,D2)",
"x": 13,
"y": 4
},
{
"label": "K4E (B4,D3)",
"x": 14,
"y": 4
},
{
"label": "K4F (B4,D4)",
"x": 15,
"y": 4
}
]
}
},
"meta": "https://noroadsleft.github.io/kbf_qmk_converter/"
}

View file

@ -0,0 +1,69 @@
/* Copyright 2022 david l goodrich <dlg@dsrw.org>
*
* 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
enum custom_layers {
_BL,
_FL,
};
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
/* Keymap _BL: (Base Layer) Default Layer
* ,---------------------------------------------------------------.
* |Esc| 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | - | = | \ |~` |???|
* |---------------------------------------------------------------|
* |Tab | Q | W | E | R | T | Y | U | I | O | P | [ | ] |Bkspc|Del|
* |---------------------------------------------------------------|
* |Ctrl | A | S | D | F | G | H | J | K | L | ; | ' | Enter |PUp|
* |---------------------------------------------------------------|
* |Shift | Z | X | C | V | B | N | M | , | . | / |Shift |Up |PDn|
* |---------------------------------------------------------------|
* |Ctrl|Win |Alt | Space |Alt |Fn ||Lt |Dn |Rt |
* `--------------------------------------------------''-----------'
*/
[_BL] = LAYOUT(
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_BSLS, KC_GRV, KC_NO,
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_BSPC, KC_DEL,
KC_LCTL, 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_PGUP,
KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_LSFT, KC_UP, KC_PGDN,
KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_LALT, MO(_FL), KC_LEFT, KC_DOWN, KC_RGHT
),
/* Keymap _FL: Function Layer
* ,---------------------------------------------------------------.
* | |F1 |F2 |F3 |F4 |F5 |F6 |F7 |F8 |F9 |F10|F11|F12| |RST| |
* |---------------------------------------------------------------|
* | | | | | | | | | | |PSc| | |Del |Ins|
* |---------------------------------------------------------------|
* | | | | | | | | | | | | | |Hme|
* |---------------------------------------------------------------|
* | | | | | | | |MUT|V- |V+ | | |PUp|End|
* |---------------------------------------------------------------|
* | | | | | | ||Hme|PDn|End|
* `--------------------------------------------------''-----------'
*/
[_FL] = LAYOUT(
_______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, _______, RESET, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_PSCR, _______, _______, KC_DEL, KC_INS,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_HOME,
_______, _______, _______, _______, _______, _______, _______, KC_MUTE, KC_VOLD, KC_VOLU, _______, _______, KC_PGUP, KC_END,
_______, _______, _______, _______, _______, _______, KC_HOME, KC_PGDN, KC_END
)
};

View file

@ -0,0 +1,3 @@
# 3dfoxc "Default" keymap
Set up just like the [original whitefox](https://input.club/whitefox/), except the function layer is totally made up.

View file

@ -0,0 +1,19 @@
/* Copyright 2022 david l goodrich <dlg@dsrw.org>
*
* 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
#define GRAVE_ESC_ALT_OVERRIDE

View file

@ -0,0 +1,112 @@
/* Copyright 2022 david l goodrich <dlg@dsrw.org>
*
* 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
enum custom_layers {
_BL,
_FL,
_MAC,
_LA,
};
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
/* Keymap _BL: (Base Layer) Default Layer
* ,---------------------------------------------------------------.
* |~` | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | - | = |Bks|???|Esc|
* |---------------------------------------------------------------|
* |Tab | Q | W | E | R | T | Y | U | I | O | P | [ | ] | \ |Del|
* |---------------------------------------------------------------|
* |Ctrl | A | S | D | F | G | H | J | K | L | ; | ' | Enter |PUp|
* |---------------------------------------------------------------|
* |Shift | Z | X | C | V | B | N | M | , | . | / |Shift |Up |PDn|
* |---------------------------------------------------------------|
* |Ctrl|Win |Alt | Space |Alt |Fn ||Lt |Dn |Rt |
* `--------------------------------------------------''-----------'
*/
[_BL] = LAYOUT(
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, XXXXXXX, KC_ESC,
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_LCTL, 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_PGUP,
KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_LSFT, KC_UP, KC_PGDN,
KC_LCTL, KC_LGUI, LM(_LA, MOD_LALT), KC_SPC, KC_LALT, MO(_FL), KC_LEFT, KC_DOWN, KC_RGHT
),
/* Keymap _FL: Function Layer
* ,---------------------------------------------------------------.
* | |F1 |F2 |F3 |F4 |F5 |F6 |F7 |F8 |F9 |F10|F11|F12|Del|RST| |
* |---------------------------------------------------------------|
* | | | | | | | | |mac| |PSc|Br-|Br+| |Ins|
* |---------------------------------------------------------------|
* | | | | | | |Lt |Dn |Up |Rt | | | |Hme|
* |---------------------------------------------------------------|
* | | | | | | | |MUT|V- |V+ | | |PUp|End|
* |---------------------------------------------------------------|
* | | | | | | ||Hme|PDn|End|
* `--------------------------------------------------''-----------'
*/
[_FL] = LAYOUT(
_______, 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_DEL, RESET, _______,
_______, _______, _______, _______, _______, _______, _______, _______, TG(_MAC),_______, KC_PSCR, KC_BRID, KC_BRIU, _______, KC_INS,
_______, _______, _______, _______, _______, _______, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, _______, _______, _______, KC_HOME,
_______, _______, _______, _______, _______, _______, _______, KC_MUTE, KC_VOLD, KC_VOLU, _______, _______, KC_PGUP, KC_END,
_______, _______, _______, _______, _______, _______, KC_HOME, KC_PGDN, KC_END
),
/* Keymap _MAC: Mac Layer
* ,---------------------------------------------------------------.
* | | | | | | | | | | | | | | | | |
* |---------------------------------------------------------------|
* | | | | | | | | | | | | | | | |
* |---------------------------------------------------------------|
* | | | | | | | | | | | | | | |
* |---------------------------------------------------------------|
* | | | | | | | | | | | | | | |
* |---------------------------------------------------------------|
* |Ctrl|Alt |Win | |Win | || | | |
* `--------------------------------------------------''-----------'
*/
[_MAC] = LAYOUT(
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
KC_LCTL, KC_LALT, KC_LGUI, _______, KC_RGUI, _______, _______, _______, _______
),
/* Keymap _LA: Left Alt Layer - LALT-4 maps to LALT-F4 so I can quit apps
* ,---------------------------------------------------------------.
* | | | | |F4 | | | | | | | | | | | |
* |---------------------------------------------------------------|
* | | | | | | | | | | | | | | | |
* |---------------------------------------------------------------|
* | | | | | | | | | | | | | | |
* |---------------------------------------------------------------|
* | | | | | | | | | | | | | | |
* |---------------------------------------------------------------|
* | | | | | | || | | |
* `--------------------------------------------------''-----------'
*/
[_LA] = LAYOUT(
_______, _______, _______, _______, KC_F4, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______
)
};

View file

@ -0,0 +1,73 @@
# dlg's layout
Inspired heavily by [my tada68 layout](https://github.com/qmk/qmk_firmware/tree/master/keyboards/tada68/keymaps/dlg).
Notable deviation from the default keymap includes correctly placing `KC_BSLS` and moving `KC_BSPC` up to the top row where it belongs. The additional key on the top-row is a NOOP while I think of something fun. I also swapped `Esc` and `~` as in my tada68 layout.
### Base Layer
```
,---------------------------------------------------------------.
|~` | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | - | = |Bks|???|Esc|
|---------------------------------------------------------------|
|Tab | Q | W | E | R | T | Y | U | I | O | P | [ | ] | \ |Del|
|---------------------------------------------------------------|
|Ctrl | A | S | D | F | G | H | J | K | L | ; | ' | Enter |PUp|
|---------------------------------------------------------------|
|Shift | Z | X | C | V | B | N | M | , | . | / |Shift |Up |PDn|
|---------------------------------------------------------------|
|Ctrl|Win |Alt | Space |Alt |Fn ||Lt |Dn |Rt |
`--------------------------------------------------''-----------'
```
### Fn Layer
```
,---------------------------------------------------------------.
| |F1 |F2 |F3 |F4 |F5 |F6 |F7 |F8 |F9 |F10|F11|F12|Del|RST| |
|---------------------------------------------------------------|
| | | | | | | | |mac| |PSc|Br-|Br+| |Ins|
|---------------------------------------------------------------|
| | | | | | |Lt |Dn |Up |Rt | | | |Hme|
|---------------------------------------------------------------|
| | | | | | | |MUT|V- |V+ | | |PUp|End|
|---------------------------------------------------------------|
| | | | | | ||Hme|PDn|End|
`--------------------------------------------------''-----------'
```
### Mac Layer
```
,---------------------------------------------------------------.
| | | | | | | | | | | | | | | | |
|---------------------------------------------------------------|
| | | | | | | | | | | | | | | |
|---------------------------------------------------------------|
| | | | | | | | | | | | | | |
|---------------------------------------------------------------|
| | | | | | | | | | | | | | |
|---------------------------------------------------------------|
|Ctrl|Alt |Win | |Win | || | | |
`--------------------------------------------------''-----------'
```
### `LALT` Layer
Left Alt Layer - LALT-4 maps to LALT-F4 so I can quit apps
```
,---------------------------------------------------------------.
| | | | |F4 | | | | | | | | | | | |
|---------------------------------------------------------------|
| | | | | | | | | | | | | | | |
|---------------------------------------------------------------|
| | | | | | | | | | | | | | |
|---------------------------------------------------------------|
| | | | | | | | | | | | | | |
|---------------------------------------------------------------|
| | | | | | || | | |
`--------------------------------------------------''-----------'
```

View file

@ -0,0 +1,42 @@
# 3dfoxc
![3dfoxc](https://cdn.thingiverse.com/assets/12/3a/3e/5f/47/64A223C2-57E8-4124-B6AB-3031A0BA7973.jpeg)
A [3d-printed whitefox](https://www.thingiverse.com/thing:2952008) with an Elite-C microcontroller.
This is a build of [matt3o's "How to Build a Custom Keyboard" guide](https://matt3o.com/book/), except that I have replaced the Teensy with an [Elite-C v4](https://keeb.io/products/elite-c-low-profile-version-usb-c-pro-micro-replacement-atmega32u4). Presumably you could replace it with anything compatible. The USB-C port had to be enlarged with dremel, and the mount for the Teensy was ground off and replaced with everyone's favorite rapid modeling polymer ... hot glue.
* Keyboard Maintainer: [david l goodrich](mailto:dlg@dsrw.org)
* Hardware Supported:
* [3d-printed whitefox](https://www.thingiverse.com/thing:2952008)
* Elite-C microcontroller
* Hardware Availability: [keebio](https://keeb.io/products/elite-c-low-profile-version-usb-c-pro-micro-replacement-atmega32u4), [1up](https://1upkeyboards.com/shop/controllers/elite-c-v4-controller/), [keyhive](https://keyhive.xyz/shop/elite-c), [splitkb](https://splitkb.com/products/elite-c-low-profile-rev4-microcontroller)
## Wiring
Badly, because I have never done this before. Build pics available upon request, I guess.
![wiring diagram](https://user-images.githubusercontent.com/6492494/148123622-36cae91e-97f3-40f7-a6fc-4d59b1a3ef02.png)
## Flashing
Make example for this keyboard (after setting up your build environment):
make handwired/3dfoxc:default
Flashing example for this keyboard (use the `dfu` target for the Elite-C!):
make handwired/3dfoxc:default:dfu
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).
## Bootloader
Enter the bootloader in 3 ways:
* **Bootmagic reset**: Hold down the key at (0,0) in the matrix (usually the top left key or Escape) and plug in the keyboard
* **Physical reset button**: Briefly press the button on the back of the PCB - some may have pads you must short instead
* **Keycode in layout**: Press the key mapped to `RESET` if it is available

View file

@ -0,0 +1,18 @@
# MCU name
MCU = atmega32u4
# Bootloader selection
BOOTLOADER = atmel-dfu
# Build Options
# change yes to no to disable
#
BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite
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
NKRO_ENABLE = yes # Enable N-Key Rollover
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
AUDIO_ENABLE = no # Audio output