forked from qmk/qmk_firmware
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/master' into sjb/all-keyboard
* upstream/master: Remove xealousbrown keyboard (qmk#18658) Bugfix waffling60 rev d solder (qmk#18673) [Keyboard] Add hardwareabstraction/handwire Board (qmk#18504) Vertex AngleR2 Layout Refactor (qmk#18661) [Keyboard][Keymap] Fix random keys being sent on Mac + userspace changes (qmk#15648) [Keyboard] New IDOBAO ID61 (a.k.a. Denwir D60) (qmk#17362) [Keyboard] Add ANAVI Macro Pad 10 (qmk#18620) Fix future naming collisions. (qmk#18645) Synth Labs Solo Configurator Fixes (qmk#18642) Update CRKBD keymap (qmk#18619) Remove all `BACKLIGHT_LEVELS 0` (qmk#18630) DD mappings for build.debounce_type and backlight.levels (qmk#18628) Add encoder map support for Keychron Q1v1 and Q2 (qmk#18598) Studio Kestra Nascent Refactor (qmk#18625) [Keyboard] Add supersplit (qmk#18611)
- Loading branch information
Showing
142 changed files
with
6,730 additions
and
1,794 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
// Copyright 2022 Leon Anavi <[email protected]> | ||
// SPDX-License-Identifier: GPL-2.0-or-later | ||
|
||
#pragma once | ||
|
||
#include "config_common.h" | ||
|
||
/* Double tap reset button to enter bootloader */ | ||
#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET | ||
#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_LED GP17 | ||
#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_TIMEOUT 500U |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
{ | ||
"keyboard_name": "Macro Pad 10", | ||
"manufacturer": "ANAVI", | ||
"url": "https://github.com/AnaviTechnology/anavi-macro-pad-10", | ||
"maintainer": "leon-anavi", | ||
"processor": "RP2040", | ||
"bootloader": "rp2040", | ||
"diode_direction": "COL2ROW", | ||
"matrix_pins": { | ||
"cols": ["GP6", "GP7", "GP0"], | ||
"rows": ["GP29", "GP28", "GP27"] | ||
}, | ||
"features": { | ||
"bootmagic": false, | ||
"command": false, | ||
"console": false, | ||
"extrakey": true, | ||
"mousekey": false, | ||
"nkro": true, | ||
"rgblight": true | ||
}, | ||
"rgblight": { | ||
"pin": "GP3", | ||
"led_count": 4, | ||
"hue_steps": 10, | ||
"saturation_steps": 17, | ||
"brightness_steps": 17, | ||
"max_brightness": 255, | ||
"animations": { | ||
"alternating": true, | ||
"breathing": true, | ||
"christmas": true, | ||
"knight": true, | ||
"rainbow_mood": true, | ||
"rainbow_swirl": true, | ||
"rgb_test": true, | ||
"snake": true, | ||
"static_gradient": true, | ||
"twinkle": true | ||
} | ||
}, | ||
"encoder": { | ||
"enabled": true, | ||
"rotary": [ | ||
{ | ||
"pin_a": "GP1", | ||
"pin_b": "GP2", | ||
"resolution": 2 | ||
} | ||
] | ||
}, | ||
"layouts": { | ||
"LAYOUT_mp10": { | ||
"layout": [ | ||
{ "matrix": [0, 0], "x": 0, "y": 0 }, | ||
{ "matrix": [0, 1], "x": 1, "y": 0 }, | ||
{ "matrix": [0, 2], "x": 2, "y": 0 }, | ||
{ "matrix": [1, 0], "x": 0, "y": 1 }, | ||
{ "matrix": [1, 1], "x": 1, "y": 1 }, | ||
{ "matrix": [1, 2], "x": 2, "y": 1 }, | ||
{ "matrix": [2, 0], "x": 0, "y": 2 }, | ||
{ "matrix": [2, 1], "x": 1, "y": 2 }, | ||
{ "matrix": [2, 2], "x": 2, "y": 2 } | ||
] | ||
} | ||
}, | ||
"usb": { | ||
"device_version": "1.0.0", | ||
"pid": "0x9A25", | ||
"vid": "0xFEED" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
// Copyright 2022 Leon Anavi <[email protected]> | ||
// SPDX-License-Identifier: GPL-2.0-or-later | ||
|
||
#include QMK_KEYBOARD_H | ||
|
||
enum layer_names { | ||
_BASE | ||
}; | ||
|
||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
[_BASE] = LAYOUT_mp10( | ||
KC_A , KC_B , KC_C , | ||
KC_D , KC_E , KC_F , | ||
RGB_M_R , RGB_MOD , RGB_TOG | ||
) | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
// Copyright 2022 Leon Anavi <[email protected]> | ||
// SPDX-License-Identifier: GPL-2.0-or-later | ||
#include "encoder.h" | ||
|
||
#ifdef ENCODER_ENABLE | ||
bool encoder_update_kb(uint8_t index, bool clockwise) { | ||
if (!encoder_update_user(index, clockwise)) { return false; } | ||
if (clockwise) { | ||
tap_code(KC_VOLU); | ||
} else { | ||
tap_code(KC_VOLD); | ||
} | ||
return true; | ||
} | ||
#endif | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# ANAVI Macro Pad 10 | ||
|
||
Mini hot-swappable mechanical keyboard with a clickable rotary encoder, 9 Cherry MX compatible switches, translucent key caps, USB-C, RP2040 microcontroller, backlighting and under lighting. | ||
|
||
* Keyboard Maintainer: [Leon Anavi](https://github.com/leon-anavi) | ||
* Hardware Supported: ANAVI Macro Pad 10 | ||
* Hardware Availability: [Crowd Supply](https://www.crowdsupply.com/anavi-technology/anavi-macro-pad-10), [GitHub repository](https://github.com/AnaviTechnology/anavi-macro-pad-10) | ||
|
||
Make example for this keyboard (after setting up your build environment): | ||
|
||
qmk compile -kb anavi/macropad10 -km 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). | ||
|
||
## Bootloader | ||
|
||
Enter the bootloader in 3 ways: | ||
|
||
* **Bootmagic reset**: Hold down the top left key on the left half, or top right key on the right half, and then plug in the USB cable on that keyboard half. | ||
* **Physical reset button**: Double tap the reset button on the XIAO RP2040. | ||
* **Keycode in layout**: Press the key mapped to `QK_BOOT` if it is available. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
WS2812_DRIVER = vendor |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,40 +1,47 @@ | ||
/* | ||
This is the c configuration file for the keymap | ||
// Copyright 2022 Jose Pablo Ramirez (@jpe230) | ||
// SPDX-License-Identifier: GPL-2.0-or-later | ||
|
||
Copyright 2012 Jun Wako <[email protected]> | ||
Copyright 2015 Jack Humbert | ||
Copyright 2022 Jose Pablo Ramirez <[email protected]> | ||
#pragma once | ||
|
||
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. | ||
/* --------------------------- | ||
* Common Spit Configuration | ||
* --------------------------- | ||
*/ | ||
#define SPLIT_OLED_ENABLE | ||
|
||
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. | ||
/* --------------------------- | ||
* Common OLED Configuration | ||
* --------------------------- | ||
*/ | ||
#define OLED_TIMEOUT 0 | ||
#define CUSTOM_OLED_TIMEOUT 10000 | ||
|
||
You should have received a copy of the GNU General Public License | ||
along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
*/ | ||
/* --------------------------- | ||
* Common Bootmagic Lite | ||
* --------------------------- | ||
*/ | ||
#define BOOTMAGIC_LITE_ROW 0 | ||
#define BOOTMAGIC_LITE_COLUMN 0 | ||
|
||
#pragma once | ||
/* --------------------------- | ||
* Common RGB Configuration | ||
* --------------------------- | ||
*/ | ||
#define RGB_DISABLE_WHEN_USB_SUSPENDED | ||
#define RGB_DISABLE_TIMEOUT CUSTOM_OLED_TIMEOUT | ||
#define RGB_MATRIX_MAXIMUM_BRIGHTNESS 128 | ||
#define RGB_MATRIX_STARTUP_HUE 215 | ||
#define RGB_MATRIX_STARTUP_SAT 255 | ||
#define RGB_MATRIX_STARTUP_VAL RGB_MATRIX_MAXIMUM_BRIGHTNESS | ||
|
||
#ifndef RGB_MATRIX_ENABLE | ||
# define SPLIT_WPM_ENABLE | ||
#endif | ||
/* --------------------------- | ||
* Common other Configuration | ||
* --------------------------- | ||
*/ | ||
#define ENABLE_COMPILE_KEYCODE | ||
|
||
#ifdef RGB_MATRIX_ENABLE | ||
# define RGB_DISABLE_WHEN_USB_SUSPENDED | ||
# define RGB_MATRIX_MAXIMUM_BRIGHTNESS 128 | ||
# define RGB_MATRIX_STARTUP_HUE 215 | ||
# define RGB_MATRIX_STARTUP_SAT 255 | ||
# define RGB_MATRIX_STARTUP_VAL RGB_MATRIX_MAXIMUM_BRIGHTNESS | ||
# define ENABLE_RGB_MATRIX_ALPHAS_MODS | ||
# define ENABLE_RGB_MATRIX_GRADIENT_LEFT_RIGHT | ||
# define ENABLE_RGB_MATRIX_BAND_VAL | ||
# define ENABLE_RGB_MATRIX_RAINBOW_MOVING_CHEVRON | ||
# define ENABLE_RGB_MATRIX_CYCLE_OUT_IN_DUAL | ||
# define ENABLE_RGB_MATRIX_RAINBOW_PINWHEELS | ||
#if defined CONVERT_TO_KB2040 || defined CONVERT_TO_PROMICRO_RP2040 | ||
# include "config_rp2040.h" | ||
#else | ||
# include "config_avr.h" | ||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
// Copyright 2022 Jose Pablo Ramirez (@jpe230) | ||
// SPDX-License-Identifier: GPL-2.0-or-later | ||
|
||
#pragma once | ||
|
||
/* --------------------------- | ||
* AVR RGB Configuration | ||
* --------------------------- | ||
*/ | ||
#define ENABLE_RGB_MATRIX_ALPHAS_MODS | ||
#define ENABLE_RGB_MATRIX_GRADIENT_LEFT_RIGHT | ||
#define ENABLE_RGB_MATRIX_BAND_VAL | ||
#define ENABLE_RGB_MATRIX_RAINBOW_MOVING_CHEVRON | ||
#define ENABLE_RGB_MATRIX_CYCLE_OUT_IN_DUAL | ||
#define ENABLE_RGB_MATRIX_RAINBOW_PINWHEELS |
Oops, something went wrong.