mirror of
https://github.com/qmk/qmk_firmware.git
synced 2025-04-07 14:25:44 +00:00
Merge remote-tracking branch 'origin/develop' into xap
This commit is contained in:
commit
42c4bb7bb4
132
keyboards/momokai/tap_duo/config.h
Normal file
132
keyboards/momokai/tap_duo/config.h
Normal file
@ -0,0 +1,132 @@
|
||||
/* Copyright 2022 Momokai
|
||||
*
|
||||
* 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"
|
||||
|
||||
#define MATRIX_ROWS 1
|
||||
#define MATRIX_COLS 5
|
||||
|
||||
#define MATRIX_ROW_PINS { E0 }
|
||||
#define MATRIX_COL_PINS { E6, B2, D1, D2, D3 }
|
||||
|
||||
#define DIODE_DIRECTION COL2ROW
|
||||
|
||||
|
||||
// Tweak how the mouse cursor moves. https://docs.qmk.fm/#/feature_mouse_keys
|
||||
// Accelerated mode (default).
|
||||
#define MOUSEKEY_DELAY 10
|
||||
#define MOUSEKEY_INTERVAL 20
|
||||
#define MOUSEKEY_MOVE_DELTA 8
|
||||
#define MOUSEKEY_MAX_SPEED 10
|
||||
#define MOUSEKEY_TIME_TO_MAX 30
|
||||
#define MOUSEKEY_WHEEL_DELAY 10
|
||||
#define MOUSEKEY_WHEEL_INTERVAL 80
|
||||
#define MOUSEKEY_WHEEL_MAX_SPEED 8
|
||||
#define MOUSEKEY_WHEEL_TIME_TO_MAX 40
|
||||
|
||||
|
||||
//TODO: implement RGB Matrix
|
||||
#define RGB_DI_PIN F0
|
||||
#define RGBLED_NUM 4
|
||||
#define RGBLIGHT_HUE_STEP 8
|
||||
#define RGBLIGHT_SAT_STEP 8
|
||||
#define RGBLIGHT_VAL_STEP 8
|
||||
|
||||
#define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_RAINBOW_SWIRL
|
||||
|
||||
|
||||
/*== all animations enable ==*/
|
||||
// #define RGBLIGHT_ANIMATIONS
|
||||
/*== or choose animations ==*/
|
||||
#define RGBLIGHT_EFFECT_BREATHING
|
||||
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
|
||||
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
|
||||
#define RGBLIGHT_EFFECT_SNAKE
|
||||
#define RGBLIGHT_EFFECT_KNIGHT
|
||||
#define RGBLIGHT_EFFECT_CHRISTMAS
|
||||
#define RGBLIGHT_EFFECT_STATIC_GRADIENT
|
||||
#define RGBLIGHT_EFFECT_RGB_TEST
|
||||
#define RGBLIGHT_EFFECT_ALTERNATING
|
||||
/*== customize breathing effect ==*/
|
||||
/*==== (DEFAULT) use fixed table instead of exp() and sin() ====*/
|
||||
#define RGBLIGHT_BREATHE_TABLE_SIZE 256 // 256(default) or 128 or 64
|
||||
/*==== use exp() and sin() ====*/
|
||||
#define RGBLIGHT_EFFECT_BREATHE_CENTER 1.85 // 1 to 2.7
|
||||
#define RGBLIGHT_EFFECT_BREATHE_MAX 255 // 0 to 255
|
||||
|
||||
|
||||
// #ifdef RGB_DI_PIN
|
||||
// #define DRIVER_LED_TOTAL 5
|
||||
|
||||
// #define RGB_MATRIX_KEYPRESSES // reacts to keypresses
|
||||
// // # define RGBLIGHT_LIMIT_VAL 180 // Limit to vendor-recommended value
|
||||
// #endif
|
||||
// #ifdef RGB_MATRIX_ENABLE
|
||||
// // # define RGB_MATRIX_MAXIMUM_BRIGHTNESS 180 // Limit to vendor-recommended value
|
||||
// // RGB Matrix Animation modes. Explicitly enabled
|
||||
// // For full list of effects, see:
|
||||
// // https://docs.qmk.fm/#/feature_rgb_matrix?id=rgb-matrix-effects
|
||||
// #define ENABLE_RGB_MATRIX_SOLID_COLOR
|
||||
// #define ENABLE_RGB_MATRIX_ALPHAS_MODS
|
||||
// #define ENABLE_RGB_MATRIX_GRADIENT_UP_DOWN
|
||||
// #define ENABLE_RGB_MATRIX_GRADIENT_LEFT_RIGHT
|
||||
// #define ENABLE_RGB_MATRIX_BREATHING
|
||||
// // #define ENABLE_RGB_MATRIX_BAND_SAT
|
||||
// // #define ENABLE_RGB_MATRIX_BAND_VAL
|
||||
// // #define ENABLE_RGB_MATRIX_BAND_PINWHEEL_SAT
|
||||
// // #define ENABLE_RGB_MATRIX_BAND_PINWHEEL_VAL
|
||||
// // #define ENABLE_RGB_MATRIX_BAND_SPIRAL_SAT
|
||||
// // #define ENABLE_RGB_MATRIX_BAND_SPIRAL_VAL
|
||||
// #define ENABLE_RGB_MATRIX_CYCLE_ALL
|
||||
// #define ENABLE_RGB_MATRIX_CYCLE_LEFT_RIGHT
|
||||
// #define ENABLE_RGB_MATRIX_CYCLE_UP_DOWN
|
||||
// // #define ENABLE_RGB_MATRIX_RAINBOW_MOVING_CHEVRON
|
||||
// #define ENABLE_RGB_MATRIX_CYCLE_OUT_IN
|
||||
// // #define ENABLE_RGB_MATRIX_CYCLE_OUT_IN_DUAL
|
||||
// #define ENABLE_RGB_MATRIX_CYCLE_PINWHEEL
|
||||
// #define ENABLE_RGB_MATRIX_CYCLE_SPIRAL
|
||||
// // #define ENABLE_RGB_MATRIX_DUAL_BEACON
|
||||
// #define ENABLE_RGB_MATRIX_RAINBOW_BEACON
|
||||
// // #define ENABLE_RGB_MATRIX_RAINBOW_PINWHEELS
|
||||
// #define ENABLE_RGB_MATRIX_RAINDROPS
|
||||
// #define ENABLE_RGB_MATRIX_JELLYBEAN_RAINDROPS
|
||||
// #define ENABLE_RGB_MATRIX_HUE_BREATHING
|
||||
// #define ENABLE_RGB_MATRIX_HUE_PENDULUM
|
||||
// #define ENABLE_RGB_MATRIX_HUE_WAVE
|
||||
// #define ENABLE_RGB_MATRIX_PIXEL_RAIN
|
||||
// #define ENABLE_RGB_MATRIX_PIXEL_FLOW
|
||||
// #define ENABLE_RGB_MATRIX_PIXEL_FRACTAL
|
||||
|
||||
// // enabled only if RGB_MATRIX_FRAMEBUFFER_EFFECTS is defined
|
||||
// // #define ENABLE_RGB_MATRIX_TYPING_HEATMAP
|
||||
// // #define ENABLE_RGB_MATRIX_DIGITAL_RAIN
|
||||
|
||||
// // enabled only of RGB_MATRIX_KEYPRESSES or RGB_MATRIX_KEYRELEASES is defined
|
||||
// // #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_SIMPLE
|
||||
// #define ENABLE_RGB_MATRIX_SOLID_REACTIVE
|
||||
// #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_WIDE
|
||||
// #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTIWIDE
|
||||
// // #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_CROSS
|
||||
// // #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTICROSS
|
||||
// // #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_NEXUS
|
||||
// // #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTINEXUS
|
||||
// #define ENABLE_RGB_MATRIX_SPLASH
|
||||
// // #define ENABLE_RGB_MATRIX_MULTISPLASH
|
||||
// #define ENABLE_RGB_MATRIX_SOLID_SPLASH
|
||||
// // #define ENABLE_RGB_MATRIX_SOLID_MULTISPLASH
|
||||
// #endif
|
23
keyboards/momokai/tap_duo/info.json
Normal file
23
keyboards/momokai/tap_duo/info.json
Normal file
@ -0,0 +1,23 @@
|
||||
{
|
||||
"keyboard_name": "Tap Duo",
|
||||
"manufacturer": "Momokai",
|
||||
"url": "",
|
||||
"maintainer": "qmk",
|
||||
"usb": {
|
||||
"vid": "0x69F9",
|
||||
"pid": "0x0005",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"layouts": {
|
||||
"LAYOUT": {
|
||||
"layout": [
|
||||
{ "label": "K00 (E0,E6)", "x": 0.25, "y": 0 },
|
||||
{ "label": "K01 (E0,B2)", "x": 1.25, "y": 0 },
|
||||
{ "label": "K02 (E0,D1)", "x": 0.75, "y": 1.25, "w": 0.5, "h": 0.5 },
|
||||
{ "label": "K03 (E0,D2)", "x": 1.25, "y": 1.25, "w": 0.5, "h": 0.5 },
|
||||
{ "label": "K04 (E0,D3)", "x": 1.75, "y": 1.25, "w": 0.5, "h": 0.5 }
|
||||
]
|
||||
}
|
||||
}
|
||||
,"meta": "https://noroadsleft.github.io/kbf_qmk_converter/"
|
||||
}
|
27
keyboards/momokai/tap_duo/keymaps/default/keymap.c
Normal file
27
keyboards/momokai/tap_duo/keymaps/default/keymap.c
Normal file
@ -0,0 +1,27 @@
|
||||
/* Copyright 2022 Momokai
|
||||
*
|
||||
* 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_Z, KC_X,
|
||||
KC_GRV, KC_ESC, KC_F2
|
||||
),
|
||||
|
||||
|
||||
};
|
42
keyboards/momokai/tap_duo/keymaps/via/keymap.c
Normal file
42
keyboards/momokai/tap_duo/keymaps/via/keymap.c
Normal file
@ -0,0 +1,42 @@
|
||||
/* Copyright 2022 Momokai
|
||||
*
|
||||
* 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_Z, KC_X,
|
||||
KC_GRV, KC_ESC, KC_F2
|
||||
),
|
||||
|
||||
[1] = LAYOUT(
|
||||
KC_TRNS, KC_TRNS,
|
||||
KC_TRNS, KC_TRNS, KC_TRNS
|
||||
),
|
||||
|
||||
[2] = LAYOUT(
|
||||
KC_TRNS, KC_TRNS,
|
||||
KC_TRNS, KC_TRNS, KC_TRNS
|
||||
),
|
||||
|
||||
[3] = LAYOUT(
|
||||
KC_TRNS, KC_TRNS,
|
||||
KC_TRNS, KC_TRNS, KC_TRNS
|
||||
),
|
||||
|
||||
|
||||
};
|
2
keyboards/momokai/tap_duo/keymaps/via/rules.mk
Normal file
2
keyboards/momokai/tap_duo/keymaps/via/rules.mk
Normal file
@ -0,0 +1,2 @@
|
||||
VIA_ENABLE = yes
|
||||
LTO_ENABLE = yes
|
12
keyboards/momokai/tap_duo/readme.md
Normal file
12
keyboards/momokai/tap_duo/readme.md
Normal file
@ -0,0 +1,12 @@
|
||||
# Momokai tap trio
|
||||
|
||||
|
||||
* Keyboard Maintainer: [peepeetee](https://github.com/peepeetee)
|
||||
|
||||
|
||||
Make example for this keyboard (after setting up your build environment):
|
||||
|
||||
make momokai/tap_trio:default
|
||||
|
||||
|
||||
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).
|
20
keyboards/momokai/tap_duo/rules.mk
Normal file
20
keyboards/momokai/tap_duo/rules.mk
Normal file
@ -0,0 +1,20 @@
|
||||
# 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 = no # Enable keyboard backlight functionality
|
||||
RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
|
||||
AUDIO_ENABLE = no # Audio output
|
||||
|
||||
LTO_ENABLE = yes
|
31
keyboards/momokai/tap_duo/tap_duo.c
Normal file
31
keyboards/momokai/tap_duo/tap_duo.c
Normal file
@ -0,0 +1,31 @@
|
||||
/* Copyright 2022 Momokai
|
||||
*
|
||||
* 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 "tap_duo.h"
|
||||
|
||||
// #ifdef RGB_MATRIX_ENABLE
|
||||
// led_config_t g_led_config = { {
|
||||
// // Key Matrix to LED Index
|
||||
// { 0, 1, 2, NO_LED, NO_LED, NO_LED}
|
||||
// }, {
|
||||
// // LED Index to Physical Position
|
||||
// { 56, 0}, { 112, 0}, { 168, 0}, { 0, 64}, { 224, 64}
|
||||
// }, {
|
||||
// // LED Index to Flag
|
||||
// 4,4,4,2,2
|
||||
// } };
|
||||
|
||||
// #endif
|
26
keyboards/momokai/tap_duo/tap_duo.h
Normal file
26
keyboards/momokai/tap_duo/tap_duo.h
Normal file
@ -0,0 +1,26 @@
|
||||
/* Copyright 2022 Momokai
|
||||
*
|
||||
* 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 LAYOUT( \
|
||||
K00, K01, \
|
||||
K02, K03, K04 \
|
||||
) { \
|
||||
{ K00, K01, K02, K03, K04} \
|
||||
}
|
||||
|
@ -76,7 +76,7 @@
|
||||
#define DRIVER_1_LED_TOTAL 36
|
||||
#define DRIVER_2_LED_TOTAL 36
|
||||
#define RGB_MATRIX_LED_COUNT (DRIVER_1_LED_TOTAL + DRIVER_2_LED_TOTAL)
|
||||
#define RGB_MATRIX_CENTER { 125, 26 }
|
||||
#define RGB_MATRIX_CENTER { 120, 36 }
|
||||
#define RGB_MATRIX_MAXIMUM_BRIGHTNESS 175
|
||||
#define RGB_MATRIX_FRAMEBUFFER_EFFECTS
|
||||
#define RGB_MATRIX_KEYPRESSES
|
||||
|
@ -264,50 +264,54 @@ const is31_led PROGMEM g_is31_leds[RGB_MATRIX_LED_COUNT] = {
|
||||
};
|
||||
|
||||
led_config_t g_led_config = { {
|
||||
{ 0, 5, 10, 15, 20, 25, 29 },
|
||||
{ 1, 6, 11, 16, 21, 26, 30 },
|
||||
{ 2, 7, 12, 17, 22, 27, 31 },
|
||||
{ 3, 8, 13, 18, 23, 28, NO_LED },
|
||||
{ 4, 9, 14, 19, 24, NO_LED, NO_LED },
|
||||
{ 32, 33, 34, 35, NO_LED, NO_LED, NO_LED },
|
||||
{ 65, 61, 56, 51, 46, 41, 36 },
|
||||
{ 66, 62, 57, 52, 47, 42, 37 },
|
||||
{ 67, 63, 58, 53, 48, 43, 38 },
|
||||
{ NO_LED, 64, 59, 54, 49, 44, 39 },
|
||||
{ NO_LED, NO_LED, 60, 55, 50, 45, 40 },
|
||||
{ NO_LED, NO_LED, NO_LED, 71, 70, 69, 68 },
|
||||
{ 0, 5, 10, 15, 20, 25, 29 },
|
||||
{ 1, 6, 11, 16, 21, 26, 30 },
|
||||
{ 2, 7, 12, 17, 22, 27, 31 },
|
||||
{ 3, 8, 13, 18, 23, 28, NO_LED },
|
||||
{ 4, 9, 14, 19, 24, NO_LED, NO_LED },
|
||||
{ 32, 33, 34, 35, NO_LED, NO_LED, NO_LED },
|
||||
{ 65, 61, 56, 51, 46, 41, 36 },
|
||||
{ 66, 62, 57, 52, 47, 42, 37 },
|
||||
{ 67, 63, 58, 53, 48, 43, 38 },
|
||||
{ NO_LED, 64, 59, 54, 49, 44, 39 },
|
||||
{ NO_LED, NO_LED, 60, 55, 50, 45, 40 },
|
||||
{ NO_LED, NO_LED, NO_LED, 71, 70, 69, 68 }
|
||||
}, {
|
||||
{ 0, 0 }, { 0, 12 }, { 0, 25 }, { 0, 38 }, { 0, 51 },
|
||||
{ 17, 0 }, { 17, 12 }, { 17, 25 }, { 17, 38 }, { 17, 51 },
|
||||
{ 34, 0 }, { 34, 12 }, { 34, 25 }, { 34, 38 }, { 34, 51 },
|
||||
{ 51, 0 }, { 51, 12 }, { 51, 25 }, { 51, 38 }, { 51, 51 },
|
||||
{ 68, 0 }, { 68, 12 }, { 68, 25 }, { 68, 38 }, { 68, 51 },
|
||||
{ 86, 0 }, { 86, 12 }, { 86, 25 }, { 86, 38 },
|
||||
{ 105, 0 }, { 105, 12 }, { 105, 25 },
|
||||
{ 90, 55 }, { 105, 68 }, { 116, 86 }, { 116, 59 },
|
||||
|
||||
{ 250, 0 }, { 250, 12 }, { 250, 25 }, { 250, 38 }, { 250, 51 },
|
||||
{ 233, 0 }, { 233, 12 }, { 233, 25 }, { 233, 38 }, { 233, 51 },
|
||||
{ 216, 0 }, { 216, 12 }, { 216, 25 }, { 216, 38 }, { 216, 51 },
|
||||
{ 198, 0 }, { 198, 12 }, { 198, 25 }, { 198, 38 }, { 198, 51 },
|
||||
{ 181, 0 }, { 181, 12 }, { 181, 25 }, { 181, 38 }, { 181, 51 },
|
||||
{ 163, 0 }, { 163, 12 }, { 163, 25 }, { 163, 38 },
|
||||
{ 146, 0 }, { 146, 12 }, { 146, 25 },
|
||||
{ 161, 55 }, { 161, 68 }, { 146, 86 }, { 131, 59 }
|
||||
{ 0, 4}, { 0, 20}, { 0, 36}, { 0, 52}, { 0, 68},
|
||||
{ 16, 3}, { 16, 19}, { 16, 35}, { 16, 51}, { 16, 67},
|
||||
{ 32, 1}, { 32, 17}, { 32, 33}, { 32, 49}, { 32, 65},
|
||||
{ 48, 0}, { 48, 16}, { 48, 32}, { 48, 48}, { 48, 64},
|
||||
{ 64, 1}, { 64, 17}, { 64, 33}, { 64, 49}, { 64, 65},
|
||||
{ 80, 3}, { 80, 19}, { 80, 35}, { 80, 51},
|
||||
{ 96, 4}, { 96, 20}, { 96, 36},
|
||||
{ 88, 69}, {100, 80}, {112, 91}, {108, 69},
|
||||
|
||||
{240, 4}, {240, 20}, {240, 36}, {240, 52}, {240, 68},
|
||||
{224, 3}, {224, 19}, {224, 35}, {224, 51}, {224, 67},
|
||||
{208, 1}, {208, 17}, {208, 33}, {208, 49}, {208, 65},
|
||||
{192, 0}, {192, 16}, {192, 32}, {192, 48}, {192, 64},
|
||||
{176, 1}, {176, 17}, {176, 33}, {176, 49}, {176, 65},
|
||||
{160, 3}, {160, 19}, {160, 35}, {160, 51},
|
||||
{144, 4}, {144, 20}, {144, 36},
|
||||
{152, 69}, {140, 80}, {128, 91}, {132, 69}
|
||||
}, {
|
||||
1, 1, 1, 1, 1, 4,
|
||||
4, 4, 4, 1, 4, 4,
|
||||
4, 4, 1, 4, 4, 4,
|
||||
4, 1, 4, 4, 4, 4,
|
||||
1, 4, 4, 4, 4, 4,
|
||||
4, 4, 1, 1, 1, 1,
|
||||
1, 1, 1, 1, 1, 4,
|
||||
4, 4, 4, 1, 4, 4,
|
||||
4, 4, 1, 4, 4, 4,
|
||||
4, 1, 4, 4, 4, 4,
|
||||
1, 4, 4, 4, 4, 4,
|
||||
4, 4, 1, 1, 1, 1
|
||||
1, 1, 1, 1, 1,
|
||||
4, 4, 4, 4, 1,
|
||||
4, 4, 4, 4, 1,
|
||||
4, 4, 4, 4, 1,
|
||||
4, 4, 4, 4, 1,
|
||||
4, 4, 4, 4,
|
||||
1, 1, 1,
|
||||
1, 1, 1, 1,
|
||||
|
||||
1, 1, 1, 1, 1,
|
||||
4, 4, 4, 4, 1,
|
||||
4, 4, 4, 4, 1,
|
||||
4, 4, 4, 4, 1,
|
||||
4, 4, 4, 4, 1,
|
||||
4, 4, 4, 4,
|
||||
1, 1, 1,
|
||||
1, 1, 1, 1
|
||||
} };
|
||||
// clang-format on
|
||||
|
||||
|
@ -59,6 +59,34 @@ extern bool mcp23018_leds[];
|
||||
{ KC_NO, KC_NO, ka2, ka3, ka4, ka5, ka6 }, \
|
||||
{ KC_NO, KC_NO, KC_NO, kb3, kb4, kb5, kb6 } \
|
||||
}
|
||||
|
||||
#define LED_LAYOUT_moonlander( \
|
||||
l00, l01, l02, l03, l04, l05, l06, l60, l61, l62, l63, l64, l65, l66, \
|
||||
l10, l11, l12, l13, l14, l15, l16, l70, l71, l72, l73, l74, l75, l76, \
|
||||
l20, l21, l22, l23, l24, l25, l26, l80, l81, l82, l83, l84, l85, l86, \
|
||||
l30, l31, l32, l33, l34, l35, l91, l92, l93, l94, l95, l96, \
|
||||
l40, l41, l42, l43, l44, l53, lb3, la2, la3, la4, la5, la6, \
|
||||
l50, l51, l52, lb4, lb5, lb6 \
|
||||
) \
|
||||
{ \
|
||||
l00, l10, l20, l30, l40, \
|
||||
l01, l11, l21, l31, l41, \
|
||||
l02, l12, l22, l32, l42, \
|
||||
l03, l13, l23, l33, l43, \
|
||||
l04, l14, l24, l34, l44, \
|
||||
l05, l15, l25, l35, \
|
||||
l06, l16, l26, \
|
||||
l50, l51, l52, l53, \
|
||||
\
|
||||
l66, l76, l86, l96, la6, \
|
||||
l65, l75, l85, l95, la5, \
|
||||
l64, l74, l84, l94, la4, \
|
||||
l63, l73, l83, l93, la3, \
|
||||
l62, l72, l82, l92, la2, \
|
||||
l61, l71, l81, l91, \
|
||||
l60, l70, l80, \
|
||||
lb6, lb5, lb4, lb3 \
|
||||
}
|
||||
// clang-format on
|
||||
|
||||
enum planck_ez_keycodes {
|
||||
|
Loading…
Reference in New Issue
Block a user