[Keyboard] Add linworks favepada (#20794)

Co-authored-by: Drashna Jaelre <drashna@live.com>
Co-authored-by: Duncan Sutherland <dunk2k_2000@hotmail.com>
Co-authored-by: jack <0x6a73@protonmail.com>
This commit is contained in:
DUILCHOI 2023-08-21 12:24:58 +09:00 committed by GitHub
parent dd4f4f8597
commit 11970b1a52
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 241 additions and 0 deletions

View file

@ -0,0 +1,11 @@
// Copyright 2023 ziptyze (@ziptyze)
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
/* Define RGB */
#define RGB_MATRIX_LED_COUNT 37
#define RGB_DISABLE_WHEN_USB_SUSPENDED
#define RGB_MATRIX_KEYPRESSES
#define RGB_MATRIX_FRAMEBUFFER_EFFECTS
#define RGB_MATRIX_DEFAULT_MODE RGB_MATRIX_CYCLE_ALL

View file

@ -0,0 +1,140 @@
{
"manufacturer": "Lx3",
"keyboard_name": "favepada",
"maintainer": "keydler",
"bootloader": "stm32-dfu",
"diode_direction": "COL2ROW",
"features": {
"bootmagic": true,
"extrakey": true,
"mousekey": true,
"nkro": true,
"rgb_matrix": true,
},
"matrix_pins": {
"cols": ["A14", "A15", "B3", "B4"],
"rows": ["A9", "A8", "B15", "B14", "B13", "B12"]
},
"processor": "STM32F072",
"rgb_matrix": {
"animations": {
"alphas_mods": true,
"gradient_up_down": true,
"gradient_left_right": true,
"breathing": true,
"band_sat": true,
"band_val": true,
"band_pinwheel_sat": true,
"band_pinwheel_val": true,
"band_spiral_sat": true,
"band_spiral_val": true,
"cycle_all": true,
"cycle_left_right": true,
"cycle_up_down": true,
"rainbow_moving_chevron": true,
"cycle_out_in": true,
"cycle_out_in_dual": true,
"cycle_pinwheel": true,
"cycle_spiral": true,
"dual_beacon": true,
"rainbow_beacon": true,
"rainbow_pinwheels": true,
"raindrops": true,
"jellybean_raindrops": true,
"hue_breathing": true,
"hue_pendulum": true,
"hue_wave": true,
"pixel_rain": true,
"solid_reactive_simple": true,
"solid_reactive": true,
"solid_reactive_wide": true,
"solid_reactive_multiwide": true,
"solid_reactive_cross": true,
"solid_reactive_multicross": true,
"solid_reactive_nexus": true,
"solid_reactive_multinexus": true,
"splash": true,
"multisplash": true,
"solid_splash": true,
"solid_multisplash": true
},
"driver": "WS2812",
"layout": [
{ "flags": 1, "matrix": [5, 2], "x": 149, "y": 59 },
{ "flags": 1, "matrix": [5, 0], "x": 0, "y": 59 },
{ "flags": 1, "matrix": [4, 0], "x": 0, "y": 51 },
{ "flags": 1, "matrix": [4, 1], "x": 74, "y": 51 },
{ "flags": 1, "matrix": [4, 2], "x": 149, "y": 51 },
{ "flags": 1, "matrix": [4, 3], "x": 224, "y": 51 },
{ "flags": 1, "matrix": [3, 2], "x": 149, "y": 38 },
{ "flags": 1, "matrix": [3, 1], "x": 74, "y": 38 },
{ "flags": 1, "matrix": [3, 0], "x": 0, "y": 38 },
{ "flags": 1, "matrix": [2, 0], "x": 0, "y": 26 },
{ "flags": 1, "matrix": [2, 1], "x": 74, "y": 26 },
{ "flags": 1, "matrix": [2, 2], "x": 149, "y": 26 },
{ "flags": 1, "matrix": [2, 3], "x": 224, "y": 26 },
{ "flags": 1, "matrix": [1, 3], "x": 224, "y": 13 },
{ "flags": 1, "matrix": [1, 2], "x": 149, "y": 13 },
{ "flags": 1, "matrix": [1, 1], "x": 74, "y": 13 },
{ "flags": 9, "matrix": [1, 0], "x": 0, "y": 13 },
{ "flags": 2, "matrix": [0, 0], "x": 0, "y": 0 },
{ "flags": 2, "matrix": [0, 1], "x": 74, "y": 0 },
{ "flags": 2, "matrix": [0, 2], "x": 149, "y": 0 },
{ "flags": 2, "matrix": [0, 3], "x": 224, "y": 0 },
{ "flags": 4, "x": 224, "y": 5 },
{ "flags": 4, "x": 149, "y": 5 },
{ "flags": 4, "x": 74, "y": 5 },
{ "flags": 4, "x": 0, "y": 5 },
{ "flags": 4, "x": 0, "y": 18 },
{ "flags": 4, "x": 0, "y": 31 },
{ "flags": 4, "x": 0, "y": 43 },
{ "flags": 4, "x": 0, "y": 56 },
{ "flags": 4, "x": 0, "y": 64 },
{ "flags": 4, "x": 74, "y": 64 },
{ "flags": 4, "x": 149, "y": 64 },
{ "flags": 4, "x": 224, "y": 64 },
{ "flags": 4, "x": 224, "y": 56 },
{ "flags": 4, "x": 224, "y": 43 },
{ "flags": 4, "x": 224, "y": 31 },
{ "flags": 4, "x": 224, "y": 18 }
],
"max_brightness": 120
},
"ws2812": {
"pin": "B1"
},
"url": "",
"usb": {
"device_version": "1.0.0",
"pid": "0x000B",
"vid": "0x4C58"
},
"community_layouts": ["numpad_6x4"],
"layouts": {
"LAYOUT_numpad_6x4": {
"layout": [
{ "label": "K00", "matrix": [0, 0], "x": 0, "y": 0 },
{ "label": "K01", "matrix": [0, 1], "x": 1, "y": 0 },
{ "label": "K02", "matrix": [0, 2], "x": 2, "y": 0 },
{ "label": "K03", "matrix": [0, 3], "x": 3, "y": 0 },
{ "label": "Num Lock", "matrix": [1, 0], "x": 0, "y": 1.25 },
{ "label": "/", "matrix": [1, 1], "x": 1, "y": 1.25 },
{ "label": "*", "matrix": [1, 2], "x": 2, "y": 1.25 },
{ "label": "-", "matrix": [1, 3], "x": 3, "y": 1.25 },
{ "label": "7", "matrix": [2, 0], "x": 0, "y": 2.25 },
{ "label": "8", "matrix": [2, 1], "x": 1, "y": 2.25 },
{ "label": "9", "matrix": [2, 2], "x": 2, "y": 2.25 },
{ "label": "4", "matrix": [3, 0], "x": 0, "y": 3.25 },
{ "label": "5", "matrix": [3, 1], "x": 1, "y": 3.25 },
{ "label": "6", "matrix": [3, 2], "x": 2, "y": 3.25 },
{ "h": 2, "label": "+", "matrix": [2, 3], "x": 3, "y": 2.25 },
{ "label": "1", "matrix": [4, 0], "x": 0, "y": 4.25 },
{ "label": "2", "matrix": [4, 1], "x": 1, "y": 4.25 },
{ "label": "3", "matrix": [4, 2], "x": 2, "y": 4.25 },
{ "label": "0", "matrix": [5, 0], "w": 2, "x": 0, "y": 5.25 },
{ "label": "Del", "matrix": [5, 2], "x": 2, "y": 5.25 },
{ "h": 2, "label": "Enter", "matrix": [4, 3], "x": 3, "y": 4.25 }
]
}
}
}

View file

@ -0,0 +1,35 @@
/* Copyright 2020 noroadsleft
*
* 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_numpad_6x4(
MO(1), KC_A, KC_B, KC_C,
KC_NUM, KC_PSLS, KC_PAST, KC_PMNS,
KC_P7, KC_P8, KC_P9,
KC_P4, KC_P5, KC_P6, KC_PPLS,
KC_P1, KC_P2, KC_P3,
KC_P0, KC_PDOT, KC_PENT
),
[1] = LAYOUT_numpad_6x4(
KC_TRNS, RGB_TOG, RGB_MOD, KC_D,
KC_NUM, KC_PSLS, KC_PAST, KC_PMNS,
KC_P7, KC_P8, KC_P9,
KC_P4, KC_P5, KC_P6, KC_PPLS,
KC_P1, KC_P2, KC_P3,
KC_P0, KC_PDOT, KC_PENT
)
};

View file

@ -0,0 +1,35 @@
/* Copyright 2020 noroadsleft
*
* 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_numpad_6x4(
MO(1), KC_A, KC_B, KC_C,
KC_NUM, KC_PSLS, KC_PAST, KC_PMNS,
KC_P7, KC_P8, KC_P9,
KC_P4, KC_P5, KC_P6, KC_PPLS,
KC_P1, KC_P2, KC_P3,
KC_P0, KC_PDOT, KC_PENT
),
[1] = LAYOUT_numpad_6x4(
KC_TRNS, RGB_TOG, RGB_MOD, KC_D,
KC_NUM, KC_PSLS, KC_PAST, KC_PMNS,
KC_P7, KC_P8, KC_P9,
KC_P4, KC_P5, KC_P6, KC_PPLS,
KC_P1, KC_P2, KC_P3,
KC_P0, KC_PDOT, KC_PENT
)
};

View file

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

View file

@ -0,0 +1,18 @@
# linworks/favepada
![linworks/favepada front](https://i.imgur.com/tkKHcL2h.png)
![linworks/favepada back](https://i.imgur.com/1x5UokRh.png)
* Keyboard Maintainer: [keydler](https://github.com/duilchoi)
* Hardware Supported:
* Hardware Availability: None, feel free to order/manufacture parts yourself.
Make example for this keyboard (after setting up your build environment):
make linworks/favepada:default
Flashing example for this keyboard:
make linworks/favepada: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).

View file