forked from mirror/qmk_firmware
[CI] Format code according to conventions (#26000)
Format code according to conventions
This commit is contained in:
@@ -18,4 +18,4 @@
|
||||
|
||||
#ifdef OLED_ENABLE
|
||||
# define OLED_FONT_H "keyboards/splitkb/aurora/helix/glcdfont.c"
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@@ -13,4 +13,4 @@
|
||||
"device_version": "1.0.0",
|
||||
"vid": "0x8D1D"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -16,4 +16,4 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#define RGBLIGHT_EFFECT_BREATHING
|
||||
#define RGBLIGHT_EFFECT_BREATHING
|
||||
|
||||
@@ -65,4 +65,4 @@ bool oled_task_user(void) {
|
||||
oled_write_P(PSTR("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ123456789!@#$%^&*()[]{}-=_+?"), false);
|
||||
return false;
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@@ -21,4 +21,4 @@ Both underglow and per-key RGB should be fading between red and off.
|
||||
|
||||
## OLEDs
|
||||
|
||||
Both the primary and secondary side should be filled with characters.
|
||||
Both the primary and secondary side should be filled with characters.
|
||||
|
||||
@@ -5,4 +5,4 @@
|
||||
# RGB Matrix is enabled at the revision level,
|
||||
# while we use the regular RGB underglow for testing
|
||||
RGB_MATRIX_ENABLE = no
|
||||
RGBLIGHT_ENABLE = yes
|
||||
RGBLIGHT_ENABLE = yes
|
||||
|
||||
@@ -21,4 +21,4 @@
|
||||
#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_SIMPLE
|
||||
#define ENABLE_RGB_MATRIX_SOLID_SPLASH
|
||||
#define ENABLE_RGB_MATRIX_RAINBOW_BEACON
|
||||
#define ENABLE_RGB_MATRIX_CYCLE_LEFT_RIGHT
|
||||
#define ENABLE_RGB_MATRIX_CYCLE_LEFT_RIGHT
|
||||
|
||||
@@ -49,4 +49,4 @@
|
||||
],
|
||||
"layout": "LAYOUT",
|
||||
"version": 1
|
||||
}
|
||||
}
|
||||
|
||||
@@ -85,4 +85,4 @@ qmk json2c -o keymap.c keymap.json
|
||||
```
|
||||
|
||||
You can add custom C code to the newly generated `keymap.c` file. Do note that you have to use **either** a C file **or** a JSON file - you cannot do both!
|
||||
**If a JSON file is present, the C file is ignored.**
|
||||
**If a JSON file is present, the C file is ignored.**
|
||||
|
||||
@@ -45,4 +45,4 @@ The Aurora series were designed as a homage to open source keyboard kits that ha
|
||||
|
||||
With the Aurora series, we aim to make these kits available to the community in a way that both honors the original, while also offering the best possible feature set and a consistent, well-documented build experience.
|
||||
|
||||
For each kit sold, we give back to the community by donating €1 across [the firmware projects we support](https://opencollective.com/splitkb). This way we support open source projects and benefit everyone using keyboards, whether they use our kits or their own.
|
||||
For each kit sold, we give back to the community by donating €1 across [the firmware projects we support](https://opencollective.com/splitkb). This way we support open source projects and benefit everyone using keyboards, whether they use our kits or their own.
|
||||
|
||||
@@ -207,4 +207,4 @@
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -85,4 +85,4 @@ qmk json2c -o keymap.c keymap.json
|
||||
```
|
||||
|
||||
You can add custom C code to the newly generated `keymap.c` file. Do note that you have to use **either** a C file **or** a JSON file - you cannot do both!
|
||||
**If a JSON file is present, the C file is ignored.**
|
||||
**If a JSON file is present, the C file is ignored.**
|
||||
|
||||
@@ -18,4 +18,4 @@
|
||||
|
||||
#ifdef OLED_ENABLE
|
||||
# define OLED_FONT_H "keyboards/splitkb/aurora/sofle_v2/glcdfont.c"
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@@ -16,4 +16,4 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#define RGBLIGHT_EFFECT_BREATHING
|
||||
#define RGBLIGHT_EFFECT_BREATHING
|
||||
|
||||
@@ -66,4 +66,4 @@ bool oled_task_user(void) {
|
||||
oled_write_P(PSTR("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ123456789!@#$%^&*()[]{}-=_+?"), false);
|
||||
return false;
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@@ -21,4 +21,4 @@ Both underglow and per-key RGB should be fading between red and off.
|
||||
|
||||
## OLEDs
|
||||
|
||||
Both the primary and secondary side should be filled with characters.
|
||||
Both the primary and secondary side should be filled with characters.
|
||||
|
||||
@@ -5,4 +5,4 @@
|
||||
# RGB Matrix is enabled at the revision level,
|
||||
# while we use the regular RGB underglow for testing
|
||||
RGB_MATRIX_ENABLE = no
|
||||
RGBLIGHT_ENABLE = yes
|
||||
RGBLIGHT_ENABLE = yes
|
||||
|
||||
@@ -21,4 +21,4 @@
|
||||
#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_SIMPLE
|
||||
#define ENABLE_RGB_MATRIX_SOLID_SPLASH
|
||||
#define ENABLE_RGB_MATRIX_RAINBOW_BEACON
|
||||
#define ENABLE_RGB_MATRIX_CYCLE_LEFT_RIGHT
|
||||
#define ENABLE_RGB_MATRIX_CYCLE_LEFT_RIGHT
|
||||
|
||||
@@ -49,4 +49,4 @@
|
||||
"sleep": true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -85,4 +85,4 @@ qmk json2c -o keymap.c keymap.json
|
||||
```
|
||||
|
||||
You can add custom C code to the newly generated `keymap.c` file. Do note that you have to use **either** a C file **or** a JSON file - you cannot do both!
|
||||
**If a JSON file is present, the C file is ignored.**
|
||||
**If a JSON file is present, the C file is ignored.**
|
||||
|
||||
@@ -45,4 +45,4 @@ The Aurora series were designed as a homage to open source keyboard kits that ha
|
||||
|
||||
With the Aurora series, we aim to make these kits available to the community in a way that both honors the original, while also offering the best possible feature set and a consistent, well-documented build experience.
|
||||
|
||||
For each kit sold, we give back to the community by donating €1 across [the firmware projects we support](https://opencollective.com/splitkb). This way we support open source projects and benefit everyone using keyboards, whether they use our kits or their own.
|
||||
For each kit sold, we give back to the community by donating €1 across [the firmware projects we support](https://opencollective.com/splitkb). This way we support open source projects and benefit everyone using keyboards, whether they use our kits or their own.
|
||||
|
||||
@@ -31,4 +31,4 @@
|
||||
# define MOUSEKEY_WHEEL_INTERVAL 50
|
||||
// The default is 40
|
||||
# define MOUSEKEY_WHEEL_TIME_TO_MAX 100
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@@ -169,4 +169,4 @@
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -6,4 +6,4 @@
|
||||
// Myriad boilerplate
|
||||
#define MYRIAD_ENABLE
|
||||
|
||||
#define RGBLIGHT_EFFECT_BREATHING
|
||||
#define RGBLIGHT_EFFECT_BREATHING
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
RGB_MATRIX_ENABLE = no
|
||||
RGBLIGHT_ENABLE = yes
|
||||
RGBLIGHT_ENABLE = yes
|
||||
|
||||
@@ -4,4 +4,4 @@
|
||||
#pragma once
|
||||
|
||||
// Myriad boilerplate
|
||||
#define MYRIAD_ENABLE
|
||||
#define MYRIAD_ENABLE
|
||||
|
||||
@@ -47,4 +47,4 @@ The underglow LEDs should default red.
|
||||
## Going further…
|
||||
This default keymap can be used as is, unchanged, as a daily driver for your Elora but you're invited to treat your keymap like a bonsai. At the beginning, it's just like the default keymap but from time to time, you can tweak it a little. Cut a little key here, let another combo grow there. Slowly but surely it will be a unique keymap that will fit you like a glove.
|
||||
|
||||
Check out the #keymap-ideas channel on the official splitkb Discord server for inspiration.
|
||||
Check out the #keymap-ideas channel on the official splitkb Discord server for inspiration.
|
||||
|
||||
@@ -54,4 +54,4 @@ bool matrix_scan_custom(matrix_row_t current_matrix[]) {
|
||||
#else
|
||||
return matrix_has_changed;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
@@ -338,4 +338,4 @@ bool pointing_device_driver_init(void) {
|
||||
gpio_set_pin_input(MYRIAD_ADC1); // Y
|
||||
gpio_set_pin_input(MYRIAD_ADC2); // X
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4,4 +4,4 @@ CUSTOM_MATRIX = lite
|
||||
# Myriad boilerplate
|
||||
SRC += myriad.c matrix.c
|
||||
ANALOG_DRIVER_REQUIRED = yes
|
||||
POINTING_DEVICE_DRIVER = custom
|
||||
POINTING_DEVICE_DRIVER = custom
|
||||
|
||||
@@ -28,4 +28,4 @@ Enter the bootloader in 3 ways:
|
||||
|
||||
* **Reset button**: Double-tap the reset button at the top of the controller, right above the USB-C port.
|
||||
* **Bootloader reset**: Hold down the "Boot" button and plug in the keyboard.
|
||||
* **Keycode in layout**: Press the key mapped to `QK_BOOT` if it is available.
|
||||
* **Keycode in layout**: Press the key mapped to `QK_BOOT` if it is available.
|
||||
|
||||
@@ -203,4 +203,4 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
// _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
|
||||
// ),
|
||||
//
|
||||
};
|
||||
};
|
||||
|
||||
@@ -29,4 +29,4 @@
|
||||
#define SPI_DRIVER SPID1
|
||||
#define SPI_SCK_PIN GP14
|
||||
#define SPI_MOSI_PIN GP15
|
||||
#define SPI_MISO_PIN GP12
|
||||
#define SPI_MISO_PIN GP12
|
||||
|
||||
@@ -8,4 +8,4 @@
|
||||
#define HAL_USE_I2C TRUE
|
||||
#define HAL_USE_SPI TRUE
|
||||
|
||||
#include_next <halconf.h>
|
||||
#include_next <halconf.h>
|
||||
|
||||
@@ -11,4 +11,4 @@
|
||||
#define RP_I2C_USE_I2C0 TRUE
|
||||
|
||||
#undef RP_SPI_USE_SPI1
|
||||
#define RP_SPI_USE_SPI1 TRUE
|
||||
#define RP_SPI_USE_SPI1 TRUE
|
||||
|
||||
Reference in New Issue
Block a user