Merge remote-tracking branch 'origin/develop' into xap

This commit is contained in:
Drashna Jael're 2024-02-03 01:06:39 -08:00
commit 5a9481b831
No known key found for this signature in database
GPG key ID: DBA1FD3A860D1B11
500 changed files with 11337 additions and 4928 deletions

View file

@ -628,24 +628,9 @@ ifeq ($(strip $(XAP_ENABLE)), yes)
SRC += $(QUANTUM_DIR)/xap/xap.c $(QUANTUM_DIR)/xap/xap_handlers.c
endif
VALID_MAGIC_TYPES := yes
BOOTMAGIC_ENABLE ?= no
ifneq ($(strip $(BOOTMAGIC_ENABLE)), no)
ifeq ($(filter $(BOOTMAGIC_ENABLE),$(VALID_MAGIC_TYPES)),)
$(call CATASTROPHIC_ERROR,Invalid BOOTMAGIC_ENABLE,BOOTMAGIC_ENABLE="$(BOOTMAGIC_ENABLE)" is not a valid type of magic)
endif
ifneq ($(strip $(BOOTMAGIC_ENABLE)), no)
OPT_DEFS += -DBOOTMAGIC_LITE
QUANTUM_SRC += $(QUANTUM_DIR)/bootmagic/bootmagic_lite.c
endif
endif
COMMON_VPATH += $(QUANTUM_DIR)/bootmagic
QUANTUM_SRC += $(QUANTUM_DIR)/bootmagic/magic.c
VALID_CUSTOM_MATRIX_TYPES:= yes lite no
CUSTOM_MATRIX ?= no
ifneq ($(strip $(CUSTOM_MATRIX)), yes)
ifeq ($(filter $(CUSTOM_MATRIX),$(VALID_CUSTOM_MATRIX_TYPES)),)
$(call CATASTROPHIC_ERROR,Invalid CUSTOM_MATRIX,CUSTOM_MATRIX="$(CUSTOM_MATRIX)" is not a valid custom matrix type)

View file

@ -21,6 +21,7 @@ SPACE_CADET_ENABLE ?= yes
GENERIC_FEATURES = \
AUTO_SHIFT \
AUTOCORRECT \
BOOTMAGIC \
CAPS_WORD \
COMBO \
COMMAND \

View file

@ -314,8 +314,8 @@
},
"features": {
"$ref": "qmk.definitions.v1#/boolean_array",
"propertyNames": { "$ref": "qmk.definitions.v1#/snake_case" }
"propertyNames": { "$ref": "qmk.definitions.v1#/snake_case" },
"not": { "required": [ "lto" ] }
},
"indicators": {
"type": "object",

View file

@ -82,10 +82,10 @@ Your `keymap.c` will then need an encoder mapping defined (for four layers and t
```c
#if defined(ENCODER_MAP_ENABLE)
const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = {
[_BASE] = { ENCODER_CCW_CW(KC_MS_WH_UP, KC_MS_WH_DOWN), ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
[_LOWER] = { ENCODER_CCW_CW(RGB_HUD, RGB_HUI), ENCODER_CCW_CW(RGB_SAD, RGB_SAI) },
[_RAISE] = { ENCODER_CCW_CW(RGB_VAD, RGB_VAI), ENCODER_CCW_CW(RGB_SPD, RGB_SPI) },
[_ADJUST] = { ENCODER_CCW_CW(RGB_RMOD, RGB_MOD), ENCODER_CCW_CW(KC_RIGHT, KC_LEFT) },
[0] = { ENCODER_CCW_CW(KC_MS_WH_UP, KC_MS_WH_DOWN), ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
[1] = { ENCODER_CCW_CW(RGB_HUD, RGB_HUI), ENCODER_CCW_CW(RGB_SAD, RGB_SAI) },
[2] = { ENCODER_CCW_CW(RGB_VAD, RGB_VAI), ENCODER_CCW_CW(RGB_SPD, RGB_SPI) },
[3] = { ENCODER_CCW_CW(RGB_RMOD, RGB_MOD), ENCODER_CCW_CW(KC_RIGHT, KC_LEFT) },
};
#endif
```

View file

@ -365,6 +365,7 @@ For inspiration and examples, check out the built-in effects under `quantum/led_
#define LED_MATRIX_DEFAULT_MODE LED_MATRIX_SOLID // Sets the default mode, if none has been set
#define LED_MATRIX_DEFAULT_VAL LED_MATRIX_MAXIMUM_BRIGHTNESS // Sets the default brightness value, if none has been set
#define LED_MATRIX_DEFAULT_SPD 127 // Sets the default animation speed, if none has been set
#define LED_MATRIX_DEFAULT_FLAGS LED_FLAG_ALL // Sets the default LED flags, if none has been set
#define LED_MATRIX_SPLIT { X, Y } // (Optional) For split keyboards, the number of LEDs connected on each half. X = left, Y = Right.
// If reactive effects are enabled, you also will want to enable SPLIT_TRANSPORT_MIRROR
```

View file

@ -873,12 +873,13 @@ These are defined in [`color.h`](https://github.com/qmk/qmk_firmware/blob/master
#define RGB_MATRIX_LED_PROCESS_LIMIT (RGB_MATRIX_LED_COUNT + 4) / 5 // limits the number of LEDs to process in an animation per task run (increases keyboard responsiveness)
#define RGB_MATRIX_LED_FLUSH_LIMIT 16 // limits in milliseconds how frequently an animation will update the LEDs. 16 (16ms) is equivalent to limiting to 60fps (increases keyboard responsiveness)
#define RGB_MATRIX_MAXIMUM_BRIGHTNESS 200 // limits maximum brightness of LEDs to 200 out of 255. If not defined maximum brightness is set to 255
#define RGB_MATRIX_DEFAULT_ON true // Sets the default enabled state, if none has been set
#define RGB_MATRIX_DEFAULT_MODE RGB_MATRIX_CYCLE_LEFT_RIGHT // Sets the default mode, if none has been set
#define RGB_MATRIX_DEFAULT_HUE 0 // Sets the default hue value, if none has been set
#define RGB_MATRIX_DEFAULT_SAT 255 // Sets the default saturation value, if none has been set
#define RGB_MATRIX_DEFAULT_ON true // Sets the default enabled state, if none has been set
#define RGB_MATRIX_DEFAULT_VAL RGB_MATRIX_MAXIMUM_BRIGHTNESS // Sets the default brightness value, if none has been set
#define RGB_MATRIX_DEFAULT_SPD 127 // Sets the default animation speed, if none has been set
#define RGB_MATRIX_DEFAULT_FLAGS LED_FLAG_ALL // Sets the default LED flags, if none has been set
#define RGB_MATRIX_DISABLE_KEYCODES // disables control of rgb matrix by keycodes (must use code functions to control the feature)
#define RGB_MATRIX_SPLIT { X, Y } // (Optional) For split keyboards, the number of LEDs connected on each half. X = left, Y = Right.
// If reactive effects are enabled, you also will want to enable SPLIT_TRANSPORT_MIRROR

View file

@ -128,6 +128,9 @@ report_analog_joystick_t analog_joystick_read(void) {
}
void analog_joystick_init(void) {
setPinInputHigh(ANALOG_JOYSTICK_X_AXIS_PIN);
setPinInputHigh(ANALOG_JOYSTICK_Y_AXIS_PIN);
#ifdef ANALOG_JOYSTICK_CLICK_PIN
setPinInputHigh(ANALOG_JOYSTICK_CLICK_PIN);
#endif

View file

@ -16,15 +16,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once
// clang-format off
/* default setup after eeprom reset */
#define RGBLIGHT_DEFAULT_MODE RGBLIGHT_EFFECT_BREATHING + 2
#define RGBLIGHT_DEFAULT_HUE 152
#define RGBLIGHT_DEFAULT_SAT 232
#define RGBLIGHT_DEFAULT_VAR 255
#define RGBLIGHT_DEFAULT_SPD 2
// clang-format on
/* default setup after eeprom reset */
#define RGBLIGHT_DEFAULT_MODE RGBLIGHT_EFFECT_BREATHING + 2
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE

View file

@ -40,6 +40,11 @@
"rgb_test": true,
"alternating": true,
"twinkle": true
},
"default": {
"hue": 152,
"sat": 232,
"speed": 2
}
},
"ws2812": {

View file

@ -38,7 +38,6 @@
"rgb_matrix": {
"animations": {
"breathing": true,
"solid_color": true,
"band_sat": true,
"band_spiral_val": true,
"cycle_all": true,

View file

@ -41,7 +41,6 @@
"driver": "ws2812",
"max_brightness": 150,
"animations": {
"solid_color": true,
"alphas_mods": true,
"gradient_up_down": true,
"gradient_left_right": true,

View file

@ -8,9 +8,11 @@
"cols": ["A8" ,"C9" ,"C8" ,"B14","B12","B10","B1" ,"B0" ,"A7" ,"A6" ,"A5" ,"A4" ,"C5" ,"C7" ,"B3" ,"A2" ,"C12","D2" ],
"rows": ["A15","A10","C6" ,"C4" ,"A3" ,"A1" ,"C11","C10","B4"]
},
"build": {
"lto": true
},
"features": {
"bootmagic": true,
"lto": true,
"mousekey": true,
"extrakey": true,
"console": false,

View file

@ -8,9 +8,11 @@
"cols": ["A8" ,"C9" ,"C8" ,"B14","B12","B10","B1" ,"B0" ,"A7" ,"A6" ,"A5" ,"A4" ,"C5" ,"C7" ,"B3" ,"A2" ,"C12","D2" ],
"rows": ["A15","A10","C6" ,"C4" ,"A3" ,"A1" ,"C11","C10","B4"]
},
"build": {
"lto": true
},
"features": {
"bootmagic": true,
"lto": true,
"mousekey": true,
"extrakey": true,
"console": false,

View file

@ -8,9 +8,11 @@
"cols": ["A8" ,"C9" ,"C8" ,"B14","B12","B10","B1" ,"B0" ,"A7" ,"A6" ,"A5" ,"A4" ,"C5" ,"C7" ,"B3" ,"A2" ,"C12","D2" ],
"rows": ["A15","A10","C6" ,"C4" ,"A3" ,"A1" ,"C11","C10","B4"]
},
"build": {
"lto": true
},
"features": {
"bootmagic": true,
"lto": true,
"mousekey": true,
"extrakey": true,
"console": false,

View file

@ -1,5 +1,4 @@
/*
* Copyright 2022 Uthol
/* Copyright 2024 Aidan Smith <aidan@aidansmith.dev>
*
* 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
@ -17,5 +16,4 @@
#pragma once
//RGB Stuff
#define RGBLIGHT_DEFAULT_HUE 201
#define EE_HANDS

View file

@ -0,0 +1,220 @@
{
"manufacturer": "AidanSmith.dev",
"keyboard_name": "aidansmithdotdev/Sango",
"Maintainer": "AidanSmith.dev",
"bootloader": "rp2040",
"bootmagic": {
"matrix": [0, 7]
},
"diode_direction": "COL2ROW",
"features": {
"bootmagic": true,
"extrakey": true,
"mousekey": true,
"rgb_matrix": true
},
"matrix_pins": {
"cols": ["GP4", "GP8", "GP9", "GP11", "GP12", "GP13", "GP14", "GP15"],
"rows": ["GP7", "GP6", "GP3", "GP2", "GP0"]
},
"processor": "RP2040",
"rgb_matrix": {
"driver": "ws2812",
"split_count": [36, 36],
"layout": [
{"matrix": [0, 1], "x": 60, "y": 0, "flags": 4},
{"matrix": [0, 2], "x": 50, "y": 0, "flags": 4},
{"matrix": [0, 3], "x": 40, "y": 0, "flags": 4},
{"matrix": [0, 4], "x": 30, "y": 0, "flags": 4},
{"matrix": [0, 5], "x": 20, "y": 0, "flags": 4},
{"matrix": [0, 6], "x": 10, "y": 0, "flags": 4},
{"matrix": [0, 7], "x": 0, "y": 0, "flags": 4},
{"matrix": [1, 7], "x": 0, "y": 10, "flags": 4},
{"matrix": [1, 6], "x": 10, "y": 10, "flags": 4},
{"matrix": [1, 5], "x": 20, "y": 10, "flags": 4},
{"matrix": [1, 4], "x": 30, "y": 10, "flags": 4},
{"matrix": [1, 3], "x": 40, "y": 10, "flags": 4},
{"matrix": [1, 2], "x": 50, "y": 10, "flags": 4},
{"matrix": [1, 1], "x": 60, "y": 10, "flags": 4},
{"matrix": [2, 0], "x": 70, "y": 20, "flags": 4},
{"matrix": [2, 1], "x": 60, "y": 20, "flags": 4},
{"matrix": [2, 2], "x": 50, "y": 20, "flags": 4},
{"matrix": [2, 3], "x": 40, "y": 20, "flags": 4},
{"matrix": [2, 4], "x": 30, "y": 20, "flags": 4},
{"matrix": [2, 5], "x": 20, "y": 20, "flags": 4},
{"matrix": [2, 6], "x": 10, "y": 20, "flags": 4},
{"matrix": [2, 7], "x": 0, "y": 20, "flags": 4},
{"matrix": [3, 7], "x": 0, "y": 30, "flags": 4},
{"matrix": [3, 6], "x": 10, "y": 30, "flags": 4},
{"matrix": [3, 5], "x": 20, "y": 30, "flags": 4},
{"matrix": [3, 4], "x": 30, "y": 30, "flags": 4},
{"matrix": [3, 3], "x": 40, "y": 30, "flags": 4},
{"matrix": [3, 2], "x": 50, "y": 30, "flags": 4},
{"matrix": [3, 1], "x": 60, "y": 30, "flags": 4},
{"matrix": [3, 0], "x": 70, "y": 30, "flags": 4},
{"matrix": [4, 0], "x": 70, "y": 30, "flags": 4},
{"matrix": [4, 1], "x": 60, "y": 30, "flags": 4},
{"matrix": [4, 2], "x": 50, "y": 30, "flags": 4},
{"matrix": [4, 5], "x": 20, "y": 30, "flags": 4},
{"matrix": [4, 6], "x": 10, "y": 30, "flags": 4},
{"matrix": [4, 7], "x": 0, "y": 30, "flags": 4},
{"matrix": [5, 1], "x": 100, "y": 0, "flags": 4},
{"matrix": [5, 2], "x": 110, "y": 0, "flags": 4},
{"matrix": [5, 3], "x": 120, "y": 0, "flags": 4},
{"matrix": [5, 4], "x": 130, "y": 0, "flags": 4},
{"matrix": [5, 5], "x": 140, "y": 0, "flags": 4},
{"matrix": [5, 6], "x": 150, "y": 0, "flags": 4},
{"matrix": [5, 7], "x": 160, "y": 0, "flags": 4},
{"matrix": [6, 7], "x": 160, "y": 10, "flags": 4},
{"matrix": [6, 6], "x": 150, "y": 10, "flags": 4},
{"matrix": [6, 5], "x": 140, "y": 10, "flags": 4},
{"matrix": [6, 4], "x": 130, "y": 10, "flags": 4},
{"matrix": [6, 3], "x": 120, "y": 10, "flags": 4},
{"matrix": [6, 2], "x": 110, "y": 10, "flags": 4},
{"matrix": [6, 1], "x": 100, "y": 10, "flags": 4},
{"matrix": [7, 0], "x": 90, "y": 20, "flags": 4},
{"matrix": [7, 1], "x": 100, "y": 20, "flags": 4},
{"matrix": [7, 2], "x": 110, "y": 20, "flags": 4},
{"matrix": [7, 3], "x": 120, "y": 20, "flags": 4},
{"matrix": [7, 4], "x": 130, "y": 20, "flags": 4},
{"matrix": [7, 5], "x": 140, "y": 20, "flags": 4},
{"matrix": [7, 6], "x": 150, "y": 20, "flags": 4},
{"matrix": [7, 7], "x": 160, "y": 20, "flags": 4},
{"matrix": [8, 7], "x": 160, "y": 30, "flags": 4},
{"matrix": [8, 6], "x": 150, "y": 30, "flags": 4},
{"matrix": [8, 5], "x": 140, "y": 30, "flags": 4},
{"matrix": [8, 4], "x": 130, "y": 30, "flags": 4},
{"matrix": [8, 3], "x": 120, "y": 30, "flags": 4},
{"matrix": [8, 2], "x": 110, "y": 30, "flags": 4},
{"matrix": [8, 1], "x": 100, "y": 30, "flags": 4},
{"matrix": [8, 0], "x": 90, "y": 30, "flags": 4},
{"matrix": [9, 0], "x": 90, "y": 30, "flags": 4},
{"matrix": [9, 1], "x": 100, "y": 30, "flags": 4},
{"matrix": [9, 2], "x": 110, "y": 30, "flags": 4},
{"matrix": [9, 5], "x": 140, "y": 30, "flags": 4},
{"matrix": [9, 6], "x": 150, "y": 30, "flags": 4},
{"matrix": [9, 7], "x": 160, "y": 30, "flags": 4}
]
},
"rgblight": {
"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
},
"brightness_steps": 8,
"max_brightness": 128,
"saturation_steps": 8,
"split": true,
"split_count": [36, 36]
},
"split": {
"bootmagic": {
"matrix": [4, 7]
},
"enabled": true,
"main": "matrix_grid",
"matrix_pins": {
"right": {
"cols": ["GP7", "GP8", "GP9", "GP11", "GP12", "GP13", "GP14", "GP15"],
"rows": ["GP2", "GP3", "GP4", "GP5", "GP6"]
}
},
"soft_serial_pin": "GP1"
},
"url": "https://aidansmith.dev",
"usb": {
"device_version": "1.0.0",
"pid": "0x2567",
"vid": "0xA059"
},
"ws2812": {
"driver": "vendor",
"pin": "GP10"
},
"layouts": {
"LAYOUT": {
"layout": [
{"label": "L07", "matrix": [0, 7], "x": 0, "y": 0.3},
{"label": "L06", "matrix": [0, 6], "x": 1, "y": 0.3},
{"label": "L05", "matrix": [0, 5], "x": 2, "y": 0.3},
{"label": "L04", "matrix": [0, 4], "x": 3, "y": 0.1},
{"label": "L03", "matrix": [0, 3], "x": 4, "y": 0},
{"label": "L02", "matrix": [0, 2], "x": 5, "y": 0.1},
{"label": "L01", "matrix": [0, 1], "x": 6, "y": 0.2},
{"label": "R01", "matrix": [5, 1], "x": 10, "y": 0.2},
{"label": "R02", "matrix": [5, 2], "x": 11, "y": 0.1},
{"label": "R03", "matrix": [5, 3], "x": 12, "y": 0},
{"label": "R04", "matrix": [5, 4], "x": 13, "y": 0.1},
{"label": "R05", "matrix": [5, 5], "x": 14, "y": 0.3},
{"label": "R06", "matrix": [5, 6], "x": 15, "y": 0.3},
{"label": "R07", "matrix": [5, 7], "x": 16, "y": 0.3},
{"label": "L17", "matrix": [1, 7], "x": 0, "y": 1.3},
{"label": "L16", "matrix": [1, 6], "x": 1, "y": 1.3},
{"label": "L15", "matrix": [1, 5], "x": 2, "y": 1.3},
{"label": "L14", "matrix": [1, 4], "x": 3, "y": 1.1},
{"label": "L13", "matrix": [1, 3], "x": 4, "y": 1},
{"label": "L12", "matrix": [1, 2], "x": 5, "y": 1.1},
{"label": "L11", "matrix": [1, 1], "x": 6, "y": 1.2},
{"label": "R11", "matrix": [6, 1], "x": 10, "y": 1.2},
{"label": "R12", "matrix": [6, 2], "x": 11, "y": 1.1},
{"label": "R13", "matrix": [6, 3], "x": 12, "y": 1},
{"label": "R14", "matrix": [6, 4], "x": 13, "y": 1.1},
{"label": "R15", "matrix": [6, 5], "x": 14, "y": 1.3},
{"label": "R16", "matrix": [6, 6], "x": 15, "y": 1.3},
{"label": "R17", "matrix": [6, 7], "x": 16, "y": 1.3},
{"label": "L27", "matrix": [2, 7], "x": 0, "y": 2.3},
{"label": "L26", "matrix": [2, 6], "x": 1, "y": 2.3},
{"label": "L25", "matrix": [2, 5], "x": 2, "y": 2.3},
{"label": "L24", "matrix": [2, 4], "x": 3, "y": 2.1},
{"label": "L23", "matrix": [2, 3], "x": 4, "y": 2},
{"label": "L22", "matrix": [2, 2], "x": 5, "y": 2.1},
{"label": "L21", "matrix": [2, 1], "x": 6, "y": 2.2},
{"label": "L20", "matrix": [2, 0], "x": 7, "y": 2.7},
{"label": "R20", "matrix": [7, 0], "x": 9, "y": 2.7},
{"label": "R21", "matrix": [7, 1], "x": 10, "y": 2.2},
{"label": "R22", "matrix": [7, 2], "x": 11, "y": 2.1},
{"label": "R23", "matrix": [7, 3], "x": 12, "y": 2},
{"label": "R24", "matrix": [7, 4], "x": 13, "y": 2.1},
{"label": "R25", "matrix": [7, 5], "x": 14, "y": 2.3},
{"label": "R26", "matrix": [7, 6], "x": 15, "y": 2.3},
{"label": "R27", "matrix": [7, 7], "x": 16, "y": 2.3},
{"label": "L37", "matrix": [3, 7], "x": 0, "y": 3.3},
{"label": "L36", "matrix": [3, 6], "x": 1, "y": 3.3},
{"label": "L35", "matrix": [3, 5], "x": 2, "y": 3.3},
{"label": "L34", "matrix": [3, 4], "x": 3, "y": 3.1},
{"label": "L33", "matrix": [3, 3], "x": 4, "y": 3},
{"label": "L32", "matrix": [3, 2], "x": 5, "y": 3.1},
{"label": "L31", "matrix": [3, 1], "x": 6, "y": 3.2},
{"label": "L30", "matrix": [3, 0], "x": 7, "y": 3.7},
{"label": "R30", "matrix": [8, 0], "x": 9, "y": 3.7},
{"label": "R31", "matrix": [8, 1], "x": 10, "y": 3.2},
{"label": "R32", "matrix": [8, 2], "x": 11, "y": 3.1},
{"label": "R33", "matrix": [8, 3], "x": 12, "y": 3},
{"label": "R34", "matrix": [8, 4], "x": 13, "y": 3.1},
{"label": "R35", "matrix": [8, 5], "x": 14, "y": 3.3},
{"label": "R36", "matrix": [8, 6], "x": 15, "y": 3.3},
{"label": "R37", "matrix": [8, 7], "x": 16, "y": 3.3},
{"label": "L47", "matrix": [4, 7], "x": 0, "y": 3.3},
{"label": "L46", "matrix": [4, 6], "x": 1, "y": 3.3},
{"label": "L45", "matrix": [4, 5], "x": 2, "y": 3.3},
{"label": "L42", "matrix": [4, 2], "x": 5, "y": 3.1},
{"label": "L41", "matrix": [4, 1], "x": 6, "y": 3.2},
{"label": "L40", "matrix": [4, 0], "x": 7, "y": 3.7},
{"label": "R40", "matrix": [9, 0], "x": 9, "y": 3.7},
{"label": "R41", "matrix": [9, 1], "x": 10, "y": 3.2},
{"label": "R42", "matrix": [9, 2], "x": 11, "y": 3.1},
{"label": "R45", "matrix": [9, 5], "x": 14, "y": 3.3},
{"label": "R46", "matrix": [9, 6], "x": 15, "y": 3.3},
{"label": "R47", "matrix": [9, 7], "x": 16, "y": 3.3}
]
}
}
}

View file

@ -0,0 +1,32 @@
/* Copyright 2024 Aidan Smith <aidan@aidansmith.dev>
*
* 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
enum layers {
_QWERTY,
};
// clang-format off
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[_QWERTY] = LAYOUT(
KC_ESC , KC_GRV , 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_DEL , 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_PGUP , KC_LCAP , KC_A , KC_S , KC_D , KC_F , KC_G , KC_LCBR , KC_RCBR , KC_H , KC_J , KC_K , KC_L , KC_SCLN , KC_QUOT , KC_ENT ,
KC_PGDN , KC_LSFT , KC_Z , KC_X , KC_C , KC_V , KC_B , KC_LBRC , KC_RBRC , KC_N , KC_M , KC_DOT , KC_COMM , KC_SLSH , KC_UP , KC_BSLS ,
KC_LCTL , KC_LGUI , KC_LALT , KC_LCTL , KC_LALT , KC_BSPC , KC_SPC , KC_RGUI , KC_RALT , KC_LEFT , KC_DOWN , KC_RGHT
)
};

View file

@ -0,0 +1,19 @@
# Sango
![aidansmithdotdev/sango](https://i.imgur.com/NzvLxqyh.jpg)
An open source 65%ish split columnar low profile keyboard.
* Keyboard Maintainer: [Aidan Smith](https://github.com/Aidan-OS)
* Hardware Supported: Sango
* Hardware Availability: https://github.com/Aidan-OS/Sango
Make example for this keyboard (after setting up your build environment):
make aidansmithdotdev/sango:default
Flashing example for this keyboard:
make aidansmithdotdev/sango: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

@ -0,0 +1 @@
SERIAL_DRIVER = vendor

View file

@ -349,6 +349,322 @@
{"matrix": [4, 6], "x": 4, "y": 4, "w": 7},
{"matrix": [4, 11], "x": 11, "y": 4, "w": 1.5},
{"matrix": [4, 12], "x": 13, "y": 4},
{"matrix": [4, 13], "x": 14, "y": 4},
{"matrix": [4, 14], "x": 15, "y": 4}
]
},
"LAYOUT_iso_625u_space": {
"layout": [
{"matrix": [0, 0], "x": 0, "y": 0},
{"matrix": [0, 1], "x": 1, "y": 0},
{"matrix": [0, 2], "x": 2, "y": 0},
{"matrix": [0, 3], "x": 3, "y": 0},
{"matrix": [0, 4], "x": 4, "y": 0},
{"matrix": [0, 5], "x": 5, "y": 0},
{"matrix": [0, 6], "x": 6, "y": 0},
{"matrix": [0, 7], "x": 7, "y": 0},
{"matrix": [0, 8], "x": 8, "y": 0},
{"matrix": [0, 9], "x": 9, "y": 0},
{"matrix": [0, 10], "x": 10, "y": 0},
{"matrix": [0, 11], "x": 11, "y": 0},
{"matrix": [0, 12], "x": 12, "y": 0},
{"matrix": [0, 13], "x": 13, "y": 0, "w": 2},
{"matrix": [0, 14], "x": 15.25, "y": 0},
{"matrix": [1, 0], "x": 0, "y": 1, "w": 1.5},
{"matrix": [1, 1], "x": 1.5, "y": 1},
{"matrix": [1, 2], "x": 2.5, "y": 1},
{"matrix": [1, 3], "x": 3.5, "y": 1},
{"matrix": [1, 4], "x": 4.5, "y": 1},
{"matrix": [1, 5], "x": 5.5, "y": 1},
{"matrix": [1, 6], "x": 6.5, "y": 1},
{"matrix": [1, 7], "x": 7.5, "y": 1},
{"matrix": [1, 8], "x": 8.5, "y": 1},
{"matrix": [1, 9], "x": 9.5, "y": 1},
{"matrix": [1, 10], "x": 10.5, "y": 1},
{"matrix": [1, 11], "x": 11.5, "y": 1},
{"matrix": [1, 12], "x": 12.5, "y": 1},
{"matrix": [1, 14], "x": 15.25, "y": 1},
{"matrix": [2, 0], "x": 0, "y": 2, "w": 1.75},
{"matrix": [2, 1], "x": 1.75, "y": 2},
{"matrix": [2, 2], "x": 2.75, "y": 2},
{"matrix": [2, 3], "x": 3.75, "y": 2},
{"matrix": [2, 4], "x": 4.75, "y": 2},
{"matrix": [2, 5], "x": 5.75, "y": 2},
{"matrix": [2, 6], "x": 6.75, "y": 2},
{"matrix": [2, 7], "x": 7.75, "y": 2},
{"matrix": [2, 8], "x": 8.75, "y": 2},
{"matrix": [2, 9], "x": 9.75, "y": 2},
{"matrix": [2, 10], "x": 10.75, "y": 2},
{"matrix": [2, 11], "x": 11.75, "y": 2},
{"matrix": [1, 13], "x": 12.75, "y": 2},
{"matrix": [2, 13], "x": 13.75, "y": 1, "w": 1.25, "h": 2},
{"matrix": [2, 14], "x": 15.25, "y": 2},
{"matrix": [3, 0], "x": 0, "y": 3, "w": 1.25},
{"matrix": [3, 1], "x": 1.25, "y": 3},
{"matrix": [3, 2], "x": 2.25, "y": 3},
{"matrix": [3, 3], "x": 3.25, "y": 3},
{"matrix": [3, 4], "x": 4.25, "y": 3},
{"matrix": [3, 5], "x": 5.25, "y": 3},
{"matrix": [3, 6], "x": 6.25, "y": 3},
{"matrix": [3, 7], "x": 7.25, "y": 3},
{"matrix": [3, 8], "x": 8.25, "y": 3},
{"matrix": [3, 9], "x": 9.25, "y": 3},
{"matrix": [3, 10], "x": 10.25, "y": 3},
{"matrix": [3, 11], "x": 11.25, "y": 3},
{"matrix": [3, 12], "x": 12.25, "y": 3, "w": 1.75},
{"matrix": [3, 13], "x": 14, "y": 3},
{"matrix": [4, 0], "x": 0, "y": 4, "w": 1.25},
{"matrix": [4, 1], "x": 1.25, "y": 4, "w": 1.25},
{"matrix": [4, 3], "x": 2.5, "y": 4, "w": 1.25},
{"matrix": [4, 6], "x": 3.75, "y": 4, "w": 6.25},
{"matrix": [4, 10], "x": 10, "y": 4, "w": 1.25},
{"matrix": [4, 11], "x": 11.25, "y": 4, "w": 1.25},
{"matrix": [4, 12], "x": 13, "y": 4},
{"matrix": [4, 13], "x": 14, "y": 4},
{"matrix": [4, 14], "x": 15, "y": 4}
]
},
"LAYOUT_iso_625u_space_split_bs": {
"layout": [
{"matrix": [0, 0], "x": 0, "y": 0},
{"matrix": [0, 1], "x": 1, "y": 0},
{"matrix": [0, 2], "x": 2, "y": 0},
{"matrix": [0, 3], "x": 3, "y": 0},
{"matrix": [0, 4], "x": 4, "y": 0},
{"matrix": [0, 5], "x": 5, "y": 0},
{"matrix": [0, 6], "x": 6, "y": 0},
{"matrix": [0, 7], "x": 7, "y": 0},
{"matrix": [0, 8], "x": 8, "y": 0},
{"matrix": [0, 9], "x": 9, "y": 0},
{"matrix": [0, 10], "x": 10, "y": 0},
{"matrix": [0, 11], "x": 11, "y": 0},
{"matrix": [0, 12], "x": 12, "y": 0},
{"matrix": [0, 13], "x": 13, "y": 0},
{"matrix": [0, 15], "x": 14, "y": 0},
{"matrix": [0, 14], "x": 15.25, "y": 0},
{"matrix": [1, 0], "x": 0, "y": 1, "w": 1.5},
{"matrix": [1, 1], "x": 1.5, "y": 1},
{"matrix": [1, 2], "x": 2.5, "y": 1},
{"matrix": [1, 3], "x": 3.5, "y": 1},
{"matrix": [1, 4], "x": 4.5, "y": 1},
{"matrix": [1, 5], "x": 5.5, "y": 1},
{"matrix": [1, 6], "x": 6.5, "y": 1},
{"matrix": [1, 7], "x": 7.5, "y": 1},
{"matrix": [1, 8], "x": 8.5, "y": 1},
{"matrix": [1, 9], "x": 9.5, "y": 1},
{"matrix": [1, 10], "x": 10.5, "y": 1},
{"matrix": [1, 11], "x": 11.5, "y": 1},
{"matrix": [1, 12], "x": 12.5, "y": 1},
{"matrix": [1, 14], "x": 15.25, "y": 1},
{"matrix": [2, 0], "x": 0, "y": 2, "w": 1.75},
{"matrix": [2, 1], "x": 1.75, "y": 2},
{"matrix": [2, 2], "x": 2.75, "y": 2},
{"matrix": [2, 3], "x": 3.75, "y": 2},
{"matrix": [2, 4], "x": 4.75, "y": 2},
{"matrix": [2, 5], "x": 5.75, "y": 2},
{"matrix": [2, 6], "x": 6.75, "y": 2},
{"matrix": [2, 7], "x": 7.75, "y": 2},
{"matrix": [2, 8], "x": 8.75, "y": 2},
{"matrix": [2, 9], "x": 9.75, "y": 2},
{"matrix": [2, 10], "x": 10.75, "y": 2},
{"matrix": [2, 11], "x": 11.75, "y": 2},
{"matrix": [1, 13], "x": 12.75, "y": 2},
{"matrix": [2, 13], "x": 13.75, "y": 1, "w": 1.25, "h": 2},
{"matrix": [2, 14], "x": 15.25, "y": 2},
{"matrix": [3, 0], "x": 0, "y": 3, "w": 1.25},
{"matrix": [3, 1], "x": 1.25, "y": 3},
{"matrix": [3, 2], "x": 2.25, "y": 3},
{"matrix": [3, 3], "x": 3.25, "y": 3},
{"matrix": [3, 4], "x": 4.25, "y": 3},
{"matrix": [3, 5], "x": 5.25, "y": 3},
{"matrix": [3, 6], "x": 6.25, "y": 3},
{"matrix": [3, 7], "x": 7.25, "y": 3},
{"matrix": [3, 8], "x": 8.25, "y": 3},
{"matrix": [3, 9], "x": 9.25, "y": 3},
{"matrix": [3, 10], "x": 10.25, "y": 3},
{"matrix": [3, 11], "x": 11.25, "y": 3},
{"matrix": [3, 12], "x": 12.25, "y": 3, "w": 1.75},
{"matrix": [3, 13], "x": 14, "y": 3},
{"matrix": [4, 0], "x": 0, "y": 4, "w": 1.25},
{"matrix": [4, 1], "x": 1.25, "y": 4, "w": 1.25},
{"matrix": [4, 3], "x": 2.5, "y": 4, "w": 1.25},
{"matrix": [4, 6], "x": 3.75, "y": 4, "w": 6.25},
{"matrix": [4, 10], "x": 10, "y": 4, "w": 1.25},
{"matrix": [4, 11], "x": 11.25, "y": 4, "w": 1.25},
{"matrix": [4, 12], "x": 13, "y": 4},
{"matrix": [4, 13], "x": 14, "y": 4},
{"matrix": [4, 14], "x": 15, "y": 4}
]
},
"LAYOUT_iso_7u_space": {
"layout": [
{"matrix": [0, 0], "x": 0, "y": 0},
{"matrix": [0, 1], "x": 1, "y": 0},
{"matrix": [0, 2], "x": 2, "y": 0},
{"matrix": [0, 3], "x": 3, "y": 0},
{"matrix": [0, 4], "x": 4, "y": 0},
{"matrix": [0, 5], "x": 5, "y": 0},
{"matrix": [0, 6], "x": 6, "y": 0},
{"matrix": [0, 7], "x": 7, "y": 0},
{"matrix": [0, 8], "x": 8, "y": 0},
{"matrix": [0, 9], "x": 9, "y": 0},
{"matrix": [0, 10], "x": 10, "y": 0},
{"matrix": [0, 11], "x": 11, "y": 0},
{"matrix": [0, 12], "x": 12, "y": 0},
{"matrix": [0, 13], "x": 13, "y": 0, "w": 2},
{"matrix": [0, 14], "x": 15.25, "y": 0},
{"matrix": [1, 0], "x": 0, "y": 1, "w": 1.5},
{"matrix": [1, 1], "x": 1.5, "y": 1},
{"matrix": [1, 2], "x": 2.5, "y": 1},
{"matrix": [1, 3], "x": 3.5, "y": 1},
{"matrix": [1, 4], "x": 4.5, "y": 1},
{"matrix": [1, 5], "x": 5.5, "y": 1},
{"matrix": [1, 6], "x": 6.5, "y": 1},
{"matrix": [1, 7], "x": 7.5, "y": 1},
{"matrix": [1, 8], "x": 8.5, "y": 1},
{"matrix": [1, 9], "x": 9.5, "y": 1},
{"matrix": [1, 10], "x": 10.5, "y": 1},
{"matrix": [1, 11], "x": 11.5, "y": 1},
{"matrix": [1, 12], "x": 12.5, "y": 1},
{"matrix": [1, 14], "x": 15.25, "y": 1},
{"matrix": [2, 0], "x": 0, "y": 2, "w": 1.75},
{"matrix": [2, 1], "x": 1.75, "y": 2},
{"matrix": [2, 2], "x": 2.75, "y": 2},
{"matrix": [2, 3], "x": 3.75, "y": 2},
{"matrix": [2, 4], "x": 4.75, "y": 2},
{"matrix": [2, 5], "x": 5.75, "y": 2},
{"matrix": [2, 6], "x": 6.75, "y": 2},
{"matrix": [2, 7], "x": 7.75, "y": 2},
{"matrix": [2, 8], "x": 8.75, "y": 2},
{"matrix": [2, 9], "x": 9.75, "y": 2},
{"matrix": [2, 10], "x": 10.75, "y": 2},
{"matrix": [2, 11], "x": 11.75, "y": 2},
{"matrix": [1, 13], "x": 12.75, "y": 2},
{"matrix": [2, 13], "x": 13.75, "y": 1, "w": 1.25, "h": 2},
{"matrix": [2, 14], "x": 15.25, "y": 2},
{"matrix": [3, 0], "x": 0, "y": 3, "w": 1.25},
{"matrix": [3, 1], "x": 1.25, "y": 3},
{"matrix": [3, 2], "x": 2.25, "y": 3},
{"matrix": [3, 3], "x": 3.25, "y": 3},
{"matrix": [3, 4], "x": 4.25, "y": 3},
{"matrix": [3, 5], "x": 5.25, "y": 3},
{"matrix": [3, 6], "x": 6.25, "y": 3},
{"matrix": [3, 7], "x": 7.25, "y": 3},
{"matrix": [3, 8], "x": 8.25, "y": 3},
{"matrix": [3, 9], "x": 9.25, "y": 3},
{"matrix": [3, 10], "x": 10.25, "y": 3},
{"matrix": [3, 11], "x": 11.25, "y": 3},
{"matrix": [3, 12], "x": 12.25, "y": 3, "w": 1.75},
{"matrix": [3, 13], "x": 14, "y": 3},
{"matrix": [4, 0], "x": 0, "y": 4, "w": 1.5},
{"matrix": [4, 1], "x": 1.5, "y": 4},
{"matrix": [4, 3], "x": 2.5, "y": 4, "w": 1.5},
{"matrix": [4, 6], "x": 4, "y": 4, "w": 7},
{"matrix": [4, 11], "x": 11, "y": 4, "w": 1.5},
{"matrix": [4, 12], "x": 13, "y": 4},
{"matrix": [4, 13], "x": 14, "y": 4},
{"matrix": [4, 14], "x": 15, "y": 4}
]
},
"LAYOUT_iso_7u_space_split_bs": {
"layout": [
{"matrix": [0, 0], "x": 0, "y": 0},
{"matrix": [0, 1], "x": 1, "y": 0},
{"matrix": [0, 2], "x": 2, "y": 0},
{"matrix": [0, 3], "x": 3, "y": 0},
{"matrix": [0, 4], "x": 4, "y": 0},
{"matrix": [0, 5], "x": 5, "y": 0},
{"matrix": [0, 6], "x": 6, "y": 0},
{"matrix": [0, 7], "x": 7, "y": 0},
{"matrix": [0, 8], "x": 8, "y": 0},
{"matrix": [0, 9], "x": 9, "y": 0},
{"matrix": [0, 10], "x": 10, "y": 0},
{"matrix": [0, 11], "x": 11, "y": 0},
{"matrix": [0, 12], "x": 12, "y": 0},
{"matrix": [0, 13], "x": 13, "y": 0},
{"matrix": [0, 15], "x": 14, "y": 0},
{"matrix": [0, 14], "x": 15.25, "y": 0},
{"matrix": [1, 0], "x": 0, "y": 1, "w": 1.5},
{"matrix": [1, 1], "x": 1.5, "y": 1},
{"matrix": [1, 2], "x": 2.5, "y": 1},
{"matrix": [1, 3], "x": 3.5, "y": 1},
{"matrix": [1, 4], "x": 4.5, "y": 1},
{"matrix": [1, 5], "x": 5.5, "y": 1},
{"matrix": [1, 6], "x": 6.5, "y": 1},
{"matrix": [1, 7], "x": 7.5, "y": 1},
{"matrix": [1, 8], "x": 8.5, "y": 1},
{"matrix": [1, 9], "x": 9.5, "y": 1},
{"matrix": [1, 10], "x": 10.5, "y": 1},
{"matrix": [1, 11], "x": 11.5, "y": 1},
{"matrix": [1, 12], "x": 12.5, "y": 1},
{"matrix": [1, 14], "x": 15.25, "y": 1},
{"matrix": [2, 0], "x": 0, "y": 2, "w": 1.75},
{"matrix": [2, 1], "x": 1.75, "y": 2},
{"matrix": [2, 2], "x": 2.75, "y": 2},
{"matrix": [2, 3], "x": 3.75, "y": 2},
{"matrix": [2, 4], "x": 4.75, "y": 2},
{"matrix": [2, 5], "x": 5.75, "y": 2},
{"matrix": [2, 6], "x": 6.75, "y": 2},
{"matrix": [2, 7], "x": 7.75, "y": 2},
{"matrix": [2, 8], "x": 8.75, "y": 2},
{"matrix": [2, 9], "x": 9.75, "y": 2},
{"matrix": [2, 10], "x": 10.75, "y": 2},
{"matrix": [2, 11], "x": 11.75, "y": 2},
{"matrix": [1, 13], "x": 12.75, "y": 2},
{"matrix": [2, 13], "x": 13.75, "y": 1, "w": 1.25, "h": 2},
{"matrix": [2, 14], "x": 15.25, "y": 2},
{"matrix": [3, 0], "x": 0, "y": 3, "w": 1.25},
{"matrix": [3, 1], "x": 1.25, "y": 3},
{"matrix": [3, 2], "x": 2.25, "y": 3},
{"matrix": [3, 3], "x": 3.25, "y": 3},
{"matrix": [3, 4], "x": 4.25, "y": 3},
{"matrix": [3, 5], "x": 5.25, "y": 3},
{"matrix": [3, 6], "x": 6.25, "y": 3},
{"matrix": [3, 7], "x": 7.25, "y": 3},
{"matrix": [3, 8], "x": 8.25, "y": 3},
{"matrix": [3, 9], "x": 9.25, "y": 3},
{"matrix": [3, 10], "x": 10.25, "y": 3},
{"matrix": [3, 11], "x": 11.25, "y": 3},
{"matrix": [3, 12], "x": 12.25, "y": 3, "w": 1.75},
{"matrix": [3, 13], "x": 14, "y": 3},
{"matrix": [4, 0], "x": 0, "y": 4, "w": 1.5},
{"matrix": [4, 1], "x": 1.5, "y": 4},
{"matrix": [4, 3], "x": 2.5, "y": 4, "w": 1.5},
{"matrix": [4, 6], "x": 4, "y": 4, "w": 7},
{"matrix": [4, 11], "x": 11, "y": 4, "w": 1.5},
{"matrix": [4, 12], "x": 13, "y": 4},
{"matrix": [4, 13], "x": 14, "y": 4},
{"matrix": [4, 14], "x": 15, "y": 4}

Some files were not shown because too many files have changed in this diff Show more