ported FancyCustoms Alicia/Aletheia to vial (#357)

* ported FancyCustoms Alicia/Aletheia to vial

* correcting capitalization in include statement
This commit is contained in:
jcshumpert 2023-02-12 04:35:28 -05:00 committed by GitHub
parent a60018c24e
commit f9cb7443bb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 673 additions and 0 deletions

View file

@ -0,0 +1,17 @@
/* Copyright 2021 Quark
*
* 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 "aletheia.h"

View file

@ -0,0 +1,42 @@
/* Copyright 2021 Quark
*
* 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.
*/
#define LAYOUT( \
k100, k000, k001, k002, k003, k004, k005, k006, k007, k008, k009, k010, k011, k012, k013, k014, \
k200, k101, k102, k103, k104, k105, k106, k107, k108, k109, k110, k111, k112, k113, k114, \
k300, k201, k202, k203, k204, k205, k206, k207, k208, k209, k210, k211, k212, k214, \
k301, k402, k302, k303, k304, k305, k306, k307, k308, k309, k310, k311, k312, k313, k314, \
k401, k403, k405, k406, k407, k410, k414 \
) { \
{ k000, k001, k002, k003, k004, k005, k006, k007, k008, k009, k010, k011, k012, k013, k014 }, \
{ k100, k101, k102, k103, k104, k105, k106, k107, k108, k109, k110, k111, k112, k113, k114 }, \
{ k200, k201, k202, k203, k204, k205, k206, k207, k208, k209, k210, k211, k212, KC_NO, k214 }, \
{ k300, k301, k302, k303, k304, k305, k306, k307, k308, k309, k310, k311, k312, k313, k314 }, \
{ KC_NO, k401, k402, k403, KC_NO, k405, k406, k407, KC_NO, KC_NO, k410, KC_NO, KC_NO, KC_NO, k414 } \
}

View file

@ -0,0 +1,55 @@
/*
Copyright 2021 Quark
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"
/* key matrix size */
#define MATRIX_ROWS 5
#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 { B0, F0, B6, B5, B4 }
#define MATRIX_COL_PINS { F1, F4, F5, F6, F7, C6, C7, D2, D1, D0, D3, D5, D4, D6, D7 }
#define RGBLIGHT_LIMIT_VAL 150
/* COL2ROW, ROW2COL */
#define DIODE_DIRECTION COL2ROW
/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
#define DEBOUNCE 5
#define RGB_DI_PIN B7
#ifdef RGB_DI_PIN
#define RGBLED_NUM 23
#define RGBLIGHT_HUE_STEP 8
#define RGBLIGHT_SAT_STEP 8
#define RGBLIGHT_VAL_STEP 8
#endif

View file

@ -0,0 +1,84 @@
{
"keyboard_name": "Aletheia",
"manufacturer": "Fancy Customs",
"url": "https://fancycustoms.com/products/alicia",
"maintainer": "Quark",
"usb": {
"vid": "0x514B",
"pid": "0x414C",
"device_version": "0.0.1"
},
"layouts": {
"LAYOUT": {
"layout": [
{"label":"k100", "x":0, "y":0},
{"label":"k000", "x":1.25, "y":0},
{"label":"k001", "x":2.25, "y":0},
{"label":"k002", "x":3.25, "y":0},
{"label":"k003", "x":4.25, "y":0},
{"label":"k004", "x":5.25, "y":0},
{"label":"k005", "x":6.25, "y":0},
{"label":"k006", "x":7.25, "y":0},
{"label":"k007", "x":10.25, "y":0},
{"label":"k008", "x":11.25, "y":0},
{"label":"k009", "x":12.25, "y":0},
{"label":"k010", "x":13.25, "y":0},
{"label":"k011", "x":14.25, "y":0},
{"label":"k012", "x":15.25, "y":0},
{"label":"k013", "x":16.25, "y":0},
{"label":"k014", "x":17.25, "y":0},
{"label":"k200", "x":0, "y":1},
{"label":"k101", "x":1.25, "y":1, "w":1.5},
{"label":"k102", "x":2.75, "y":1},
{"label":"k103", "x":3.75, "y":1},
{"label":"k104", "x":4.75, "y":1},
{"label":"k105", "x":5.75, "y":1},
{"label":"k106", "x":6.75, "y":1},
{"label":"k107", "x":9.75, "y":1},
{"label":"k108", "x":10.75, "y":1},
{"label":"k109", "x":11.75, "y":1},
{"label":"k110", "x":12.75, "y":1},
{"label":"k111", "x":13.75, "y":1},
{"label":"k112", "x":14.75, "y":1},
{"label":"k113", "x":15.75, "y":1},
{"label":"k114", "x":16.75, "y":1, "w":1.5},
{"label":"k300", "x":0, "y":2},
{"label":"k201", "x":1.25, "y":2, "w":1.75},
{"label":"k202", "x":3, "y":2},
{"label":"k203", "x":4, "y":2},
{"label":"k204", "x":5, "y":2},
{"label":"k205", "x":6, "y":2},
{"label":"k206", "x":7, "y":2},
{"label":"k207", "x":10, "y":2},
{"label":"k208", "x":11, "y":2},
{"label":"k209", "x":12, "y":2},
{"label":"k210", "x":13, "y":2},
{"label":"k211", "x":14, "y":2},
{"label":"k212", "x":15, "y":2},
{"label":"k214", "x":16, "y":2, "w":2.25},
{"label":"k301", "x":1.25, "y":3, "w":1.25},
{"label":"k402", "x":2.5, "y":3},
{"label":"k302", "x":3.5, "y":3},
{"label":"k303", "x":4.5, "y":3},
{"label":"k304", "x":5.5, "y":3},
{"label":"k305", "x":6.5, "y":3},
{"label":"k306", "x":8.5, "y":3},
{"label":"k307", "x":9.5, "y":3},
{"label":"k308", "x":10.5, "y":3},
{"label":"k309", "x":11.5, "y":3},
{"label":"k310", "x":12.5, "y":3},
{"label":"k311", "x":13.5, "y":3},
{"label":"k312", "x":14.5, "y":3},
{"label":"k313", "x":15.5, "y":3, "w":1.75},
{"label":"k314", "x":17.25, "y":3},
{"label":"k401", "x":1.25, "y":4, "w":1.5},
{"label":"k403", "x":4.25, "y":4, "w":1.5},
{"label":"k405", "x":5.75, "y":4, "w":2},
{"label":"k406", "x":7.75, "y":4, "w":1.25},
{"label":"k407", "x":9.5, "y":4, "w":2.75},
{"label":"k410", "x":12.25, "y":4, "w":1.5},
{"label":"k414", "x":16.75, "y":4, "w":1.5}
]
}
}
}

View file

@ -0,0 +1,34 @@
/* Copyright 2021 Quark
*
* 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
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[0] = LAYOUT(
KC_ESC, KC_GESC, 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_GRV, KC_BSLS, \
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_BSPC, \
KC_PGDN, 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_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_RSFT, \
KC_LGUI, KC_LALT, KC_SPC, KC_LGUI, KC_SPC, KC_RALT, KC_RCTL \
),
[1] = LAYOUT(
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, \
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_UP , _______, _______, \
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_LEFT, KC_RGHT, _______, \
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_DOWN, _______, _______, \
_______, _______, _______, _______, _______, _______, _______ \
),
};

View file

@ -0,0 +1,48 @@
/* Copyright 2021 Quark
*
* 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
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[0] = LAYOUT(
KC_ESC, KC_GESC, 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_GRV, KC_BSLS, \
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_BSPC, \
KC_PGDN, 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_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_RSFT, \
KC_LGUI, KC_LALT, KC_SPC, KC_LGUI, KC_SPC, KC_RALT, KC_RCTL \
),
[1] = LAYOUT(
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, \
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_UP , _______, _______, \
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_LEFT, KC_RGHT, _______, \
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_DOWN, _______, _______, \
_______, _______, _______, _______, _______, _______, _______ \
),
[2] = LAYOUT(
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, \
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_UP , _______, _______, \
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_LEFT, KC_RGHT, _______, \
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_DOWN, _______, _______, \
_______, _______, _______, _______, _______, _______, _______ \
),
[3] = LAYOUT(
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, \
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_UP , _______, _______, \
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_LEFT, KC_RGHT, _______, \
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_DOWN, _______, _______, \
_______, _______, _______, _______, _______, _______, _______ \
),
};

View file

@ -0,0 +1,2 @@
VIA_ENABLE = yes
LTO_ENABLE = yes

View file

@ -0,0 +1,9 @@
/* SPDX-License-Identifier: GPL-2.0-or-later */
#pragma once
#define VIAL_KEYBOARD_UID {0xFF, 0x31, 0x21, 0x82, 0xFB, 0x04, 0xEC, 0x52}
// Esc + Enter
#define VIAL_UNLOCK_COMBO_ROWS { 0, 2 }
#define VIAL_UNLOCK_COMBO_COLS { 0, 14 }

View file

@ -0,0 +1,48 @@
/* Copyright 2021 Quark
*
* 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
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[0] = LAYOUT(
KC_ESC, KC_GESC, 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_GRV, KC_BSLS, \
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_BSPC, \
KC_PGDN, 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_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_RSFT, \
KC_LGUI, KC_LALT, KC_SPC, KC_LGUI, KC_SPC, KC_RALT, KC_RCTL \
),
[1] = LAYOUT(
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, \
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_UP , _______, _______, \
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_LEFT, KC_RGHT, _______, \
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_DOWN, _______, _______, \
_______, _______, _______, _______, _______, _______, _______ \
),
[2] = LAYOUT(
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, \
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_UP , _______, _______, \
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_LEFT, KC_RGHT, _______, \
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_DOWN, _______, _______, \
_______, _______, _______, _______, _______, _______, _______ \
),
[3] = LAYOUT(
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, \
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_UP , _______, _______, \
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_LEFT, KC_RGHT, _______, \
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_DOWN, _______, _______, \
_______, _______, _______, _______, _______, _______, _______ \
),
};

View file

@ -0,0 +1,4 @@
VIA_ENABLE = yes
VIAL_ENABLE = yes
LTO_ENABLE = yes
QMK_SETTINGS = no

View file

@ -0,0 +1,309 @@
{
"name":"Aletheia",
"vendorId":"0x514B",
"productId":"0x414C",
"lighting":"qmk_rgblight",
"matrix":{
"rows":5,
"cols":15
},
"layouts":{
"labels":[
"Split Backspace",
"Split Right Shift",
"Split Left Shift"
],
"keymap":[
[
{
"x":15.15
},
"0,13\n\n\n0,1",
{
"c":"#aaaaaa"
},
"0,14\n\n\n0,1"
],
[
{
"y":0.1499999999999999,
"x":0.55,
"c":"#777777"
},
"1,0"
],
[
{
"y":-0.95,
"x":3.7,
"c":"#cccccc"
},
"0,2",
{
"x":8.45
},
"0,11"
],
[
{
"y":-0.9500000000000002,
"x":1.7
},
"0,0",
"0,1",
{
"x":10.45
},
"0,12",
{
"x":1.7763568394002505e-15,
"c":"#aaaaaa",
"w":2
},
"0,13\n\n\n0,0"
],
[
{
"y":-0.10000000000000009,
"x":0.35
},
"2,0"
],
[
{
"y":-0.9499999999999997,
"x":13,
"c":"#cccccc"
},
"1,11"
],
[
{
"y":-0.9500000000000002,
"x":1.5,
"c":"#aaaaaa",
"w":1.5
},
"1,1",
{
"c":"#cccccc"
},
"1,2",
{
"x":10
},
"1,12",
"1,13",
{
"c":"#aaaaaa",
"w":1.5
},
"1,14"
],
[
{
"y":-0.10000000000000009,
"x":0.15
},
"3,0"
],
[
{
"y":-0.9000000000000004,
"x":13.4,
"c":"#cccccc"
},
"2,11",
"2,12",
{
"c":"#777777",
"w":2.25
},
"2,14"
],
[
{
"y":-0.9999999999999996,
"x":1.3,
"c":"#aaaaaa",
"w":1.75
},
"2,1",
{
"c":"#cccccc"
},
"2,2"
],
[
{
"x":1.05,
"c":"#aaaaaa",
"w":2.25
},
"3,1\n\n\n2,0",
{
"c":"#cccccc"
},
"3,2",
{
"x":8.8
},
"3,11",
{
"x":-1.7763568394002505e-15
},
"3,12",
{
"c":"#aaaaaa",
"w":2.75
},
"3,13\n\n\n1,0",
{
"x":0.25,
"w":1.75
},
"3,13\n\n\n1,1",
"3,14\n\n\n1,1"
],
[
{
"x":1.05,
"w":1.5
},
"4,1",
{
"x":13.45,
"w":1.5
},
"4,14"
],
[
{
"y":0.25,
"x":1,
"w":1.25
},
"3,1\n\n\n2,1",
{
"c":"#cccccc"
},
"4,2\n\n\n2,1"
],
[
{
"r":12,
"y":-7.25,
"x":5.05
},
"0,3",
"0,4",
"0,5",
"0,6"
],
[
{
"x":4.6
},
"1,3",
"1,4",
"1,5",
"1,6"
],
[
{
"x":4.85
},
"2,3",
"2,4",
"2,5",
"2,6"
],
[
{
"x":5.3
},
"3,3",
"3,4",
"3,5",
"3,6"
],
[
{
"x":6.6,
"c":"#777777",
"w":2
},
"4,5",
{
"c":"#aaaaaa",
"w":1.25
},
"4,6"
],
[
{
"y":-0.9500000000000002,
"x":5.05,
"w":1.5
},
"4,3"
],
[
{
"r":-12,
"y":-1.4499999999999997,
"x":8.45,
"c":"#cccccc"
},
"0,7",
"0,8",
"0,9",
"0,10"
],
[
{
"x":8.05
},
"1,7",
"1,8",
"1,9",
"1,10"
],
[
{
"x":8.2
},
"2,7",
"2,8",
"2,9",
"2,10"
],
[
{
"x":7.75
},
"3,7",
"3,8",
"3,9",
"3,10"
],
[
{
"x":7.75,
"c":"#777777",
"w":2.75
},
"4,7"
],
[
{
"y":-0.9499999999999993,
"x":10.55,
"c":"#aaaaaa",
"w":1.5
},
"4,10"
]
]
}
}

View file

@ -0,0 +1,21 @@
# MCU name
MCU = atmega32u4
# Bootloader selection
BOOTLOADER = atmel-dfu
# Build Options
# change yes to no to disable
#
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
# 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 = yes # Enable keyboard RGB underglow
BLUETOOTH_ENABLE = no # Enable Bluetooth
AUDIO_ENABLE = no # Audio output