Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add linworks favepada #20794

Merged
merged 34 commits into from
Aug 21, 2023
Merged
Show file tree
Hide file tree
Changes from 31 commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
a75acfd
add favepada
duilchoi May 8, 2023
3e82160
update pcb image
duilchoi May 8, 2023
17e38c7
update favepada json file
duilchoi May 9, 2023
5b116b8
update matrix_rgb
duilchoi May 9, 2023
80314db
update rgb_matrix.max_brightness
duilchoi May 9, 2023
92c2a4f
Update info.json
duilchoi May 11, 2023
3b9db5e
Update info.json
duilchoi May 11, 2023
27bd00e
Update keyboards/linworks/favepada/info.json
duilchoi May 12, 2023
53ae679
Update keyboards/linworks/favepada/keymaps/default/keymap.c
duilchoi May 12, 2023
37d06ba
Update keyboards/linworks/favepada/readme.md
duilchoi May 12, 2023
1dd537e
Update readme.md
duilchoi May 12, 2023
517e738
Update readme.md
duilchoi May 12, 2023
d857537
Update keymap.c
duilchoi May 12, 2023
ca61955
update keymap.c
duilchoi May 12, 2023
36986f1
Update info.json
duilchoi May 12, 2023
1433539
Update keyboards/linworks/favepada/config.h
duilchoi May 14, 2023
d14c46c
Update keyboards/linworks/favepada/info.json
duilchoi May 18, 2023
afd9223
Update keyboards/linworks/favepada/info.json
duilchoi May 18, 2023
fba51ec
Update keyboards/linworks/favepada/info.json
duilchoi May 18, 2023
844e20a
Update config.h
duilchoi May 30, 2023
6f8cc31
Update info.json
duilchoi Jun 14, 2023
9d14067
Update keyboards/linworks/favepada/config.h
duilchoi Jul 24, 2023
6b5b4ed
Update keyboards/linworks/favepada/keymaps/default/keymap.c
duilchoi Jul 24, 2023
0907d18
Update keyboards/linworks/favepada/keymaps/via/keymap.c
duilchoi Jul 24, 2023
203b7eb
Update keyboards/linworks/favepada/info.json
duilchoi Jul 24, 2023
589774c
Update keyboards/linworks/favepada/rules.mk
duilchoi Jul 28, 2023
6172b69
Update keyboards/linworks/favepada/info.json
duilchoi Aug 19, 2023
5c31416
migrate config.h
duilchoi Aug 19, 2023
f0c7b4d
Update keyboards/linworks/favepada/config.h
duilchoi Aug 19, 2023
616c8ca
Update keyboards/linworks/favepada/info.json
duilchoi Aug 19, 2023
e41b55b
Update keyboards/linworks/favepada/info.json
duilchoi Aug 19, 2023
db18d5e
Update keyboards/linworks/favepada/info.json
duilchoi Aug 21, 2023
9813d94
Update keyboards/linworks/favepada/keymaps/default/keymap.c
duilchoi Aug 21, 2023
f8f4642
Update keyboards/linworks/favepada/keymaps/via/keymap.c
duilchoi Aug 21, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions keyboards/linworks/favepada/config.h
duilchoi marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
// Copyright 2023 ziptyze (@ziptyze)
// SPDX-License-Identifier: GPL-2.0-or-later

#pragma once

/* Define RGB */
duilchoi marked this conversation as resolved.
Show resolved Hide resolved
#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
146 changes: 146 additions & 0 deletions keyboards/linworks/favepada/info.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,146 @@
{
"manufacturer": "Lx3",
"keyboard_name": "favepada",
"maintainer": "keydler",
"bootloader": "stm32-dfu",
"diode_direction": "COL2ROW",
"features": {
"audio": false,
"backlight": false,
"bootmagic": true,
"command": false,
"console": false,
"encoder": false,
duilchoi marked this conversation as resolved.
Show resolved Hide resolved
"extrakey": true,
"mousekey": false,
"nkro": true,
"rgb_matrix": true,
"rgblight": false
duilchoi marked this conversation as resolved.
Show resolved Hide resolved
},
"matrix_pins": {
"cols": ["A14", "A15", "B3", "B4"],
"rows": ["A9", "A8", "B15", "B14", "B13", "B12"]
},
"processor": "STM32F072",
"rgb_matrix": {
duilchoi marked this conversation as resolved.
Show resolved Hide resolved
"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"
},
duilchoi marked this conversation as resolved.
Show resolved Hide resolved
"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 }
]
}
}
}
43 changes: 43 additions & 0 deletions keyboards/linworks/favepada/keymaps/default/keymap.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
/* 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
),
[2] = LAYOUT_numpad_6x4(
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
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
duilchoi marked this conversation as resolved.
Show resolved Hide resolved
)
};
43 changes: 43 additions & 0 deletions keyboards/linworks/favepada/keymaps/via/keymap.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
/* 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
),
[2] = LAYOUT_numpad_6x4(
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
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
duilchoi marked this conversation as resolved.
Show resolved Hide resolved
)
};
2 changes: 2 additions & 0 deletions keyboards/linworks/favepada/keymaps/via/rules.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
VIA_ENABLE = yes
LTO_ENABLE = yes
18 changes: 18 additions & 0 deletions keyboards/linworks/favepada/readme.md
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This file is missing bootloader instructions - please see /data/templates/keyboard/readme.md for reference.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:bump:

Original file line number Diff line number Diff line change
@@ -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).
Empty file.