1
0
Fork 0

Add a base configuration for the Atreus.

FossilOrigin-Name: c8f63e13ce43059f1d8abfaa5f0998f5aec2b43064ab1f46bc14c73da6bc6acd
This commit is contained in:
mahlon 2025-04-27 02:50:45 +00:00
parent 9cd5825b48
commit 47c9fabe0f
7 changed files with 142 additions and 2 deletions

BIN
keyboardio-atreus.pdf Normal file

Binary file not shown.

View file

@ -0,0 +1,90 @@
{
"keyboard_name": "Atreus",
"manufacturer": "Keyboardio",
"url": "",
"maintainer": "keyboardio",
"usb": {
"vid": "0x1209",
"pid": "0x2303",
"device_version": "0.0.1"
},
"features": {
"bootmagic": true,
"command": true,
"console": true,
"extrakey": true,
"mousekey": true,
"nkro": true,
"unicode": true
},
"qmk": {
"locking": {
"enabled": true,
"resync": true
}
},
"matrix_pins": {
"cols": ["F7", "E2", "C7", "C6", "B6", "B5", "D7", "D6", "D4", "D5", "D3", "D2"],
"rows": ["F6", "F5", "F4", "F1"]
},
"diode_direction": "COL2ROW",
"processor": "atmega32u4",
"bootloader": "caterina",
"layouts": {
"LAYOUT": {
"layout": [
{"matrix": [0, 0], "x": 0, "y": 0.6},
{"matrix": [0, 1], "x": 1, "y": 0.35},
{"matrix": [0, 2], "x": 2, "y": 0},
{"matrix": [0, 3], "x": 3, "y": 0.35},
{"matrix": [0, 4], "x": 4, "y": 0.7},
{"matrix": [0, 7], "x": 8, "y": 0.7},
{"matrix": [0, 8], "x": 9, "y": 0.35},
{"matrix": [0, 9], "x": 10, "y": 0},
{"matrix": [0, 10], "x": 11, "y": 0.35},
{"matrix": [0, 11], "x": 12, "y": 0.6},
{"matrix": [1, 0], "x": 0, "y": 1.6},
{"matrix": [1, 1], "x": 1, "y": 1.35},
{"matrix": [1, 2], "x": 2, "y": 1},
{"matrix": [1, 3], "x": 3, "y": 1.35},
{"matrix": [1, 4], "x": 4, "y": 1.7},
{"matrix": [1, 7], "x": 8, "y": 1.7},
{"matrix": [1, 8], "x": 9, "y": 1.35},
{"matrix": [1, 9], "x": 10, "y": 1},
{"matrix": [1, 10], "x": 11, "y": 1.35},
{"matrix": [1, 11], "x": 12, "y": 1.6},
{"matrix": [2, 0], "x": 0, "y": 2.6},
{"matrix": [2, 1], "x": 1, "y": 2.35},
{"matrix": [2, 2], "x": 2, "y": 2},
{"matrix": [2, 3], "x": 3, "y": 2.35},
{"matrix": [2, 4], "x": 4, "y": 2.7},
{"matrix": [2, 5], "x": 5, "y": 2.54},
{"matrix": [2, 6], "x": 7, "y": 2.54},
{"matrix": [2, 7], "x": 8, "y": 2.7},
{"matrix": [2, 8], "x": 9, "y": 2.35},
{"matrix": [2, 9], "x": 10, "y": 2},
{"matrix": [2, 10], "x": 11, "y": 2.35},
{"matrix": [2, 11], "x": 12, "y": 2.6},
{"matrix": [3, 0], "x": 0, "y": 3.6},
{"matrix": [3, 1], "x": 1, "y": 3.35},
{"matrix": [3, 2], "x": 2, "y": 3},
{"matrix": [3, 3], "x": 3, "y": 3.35},
{"matrix": [3, 4], "x": 4, "y": 3.7},
{"matrix": [3, 5], "x": 5, "y": 3.54},
{"matrix": [3, 6], "x": 7, "y": 3.54},
{"matrix": [3, 7], "x": 8, "y": 3.7},
{"matrix": [3, 8], "x": 9, "y": 3.35},
{"matrix": [3, 9], "x": 10, "y": 3},
{"matrix": [3, 10], "x": 11, "y": 3.35},
{"matrix": [3, 11], "x": 12, "y": 3.6}
]
}
}
}

View file

@ -0,0 +1,6 @@
#define TAPPING_TERM 175
#define AUTO_SHIFT_REPEAT 1
#define DOUBLE_TAP_SHIFT_TURNS_ON_CAPS_WORD 1

View file

@ -0,0 +1,39 @@
#include QMK_KEYBOARD_H
enum {
TD_SPC_ENT,
TD_BS_DEL,
};
tap_dance_action_t tap_dance_actions[] = {
[TD_SPC_ENT] = ACTION_TAP_DANCE_DOUBLE(KC_SPC, KC_ENT),
[TD_BS_DEL] = ACTION_TAP_DANCE_DOUBLE(KC_BSPC, KC_DEL),
};
enum layer_names {
_BASE,
_FN1,
_FN2,
};
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[_BASE] = LAYOUT(
KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P,
KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_BSLS,
KC_Z, KC_X, KC_C, KC_V, KC_B, KC_GRV, KC_SCLN, KC_N, KC_M, KC_MINS, KC_QUOT, KC_SLSH,
KC_LCTL, KC_TAB, KC_LGUI, KC_LSFT, KC_BSPC, KC_ESC, TD(TD_SPC_ENT), KC_LALT, MO(_FN1), KC_COMM, KC_DOT, KC_ENT ),
[_FN1] = LAYOUT(
KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0,
_______, _______, KC_INS, KC_HOME, KC_PGUP, KC_LEFT, KC_DOWN, KC_UP, KC_RIGHT, _______,
_______, _______, KC_DEL, KC_END, KC_PGDN, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, TG(_FN2), _______, KC_LBRC, KC_RBRC, KC_EQL ),
[_FN2] = LAYOUT(
KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10,
KC_MUTE, KC_VOLD, KC_VOLU, _______, _______, _______, KC_BRID, KC_BRIU, _______, KC_F11,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_F12,
_______, _______, _______, _______, _______, _______, _______, _______, TO(_BASE), _______, _______, _______ )
};

View file

@ -0,0 +1,4 @@
AUTO_SHIFT_ENABLE = yes
TAP_DANCE_ENABLE = yes
CAPS_WORD_ENABLED = yes

View file

@ -2,6 +2,7 @@
"userspace_version": "1.1",
"build_targets": [
["keychron/q4/ansi/v2", "mahlon"],
["converter/adb_usb/rev1", "mahlon"]
["converter/adb_usb/rev1", "mahlon"],
["keyboardio/atreus", "mahlon"]
]
}
}