mirror of
https://github.com/qmk/qmk_userspace.git
synced 2025-05-31 11:30:09 -04:00
[Core] Refactor OLED to allow easy addition of other types (#13454)
* add docs * core changes * update keyboards to new OLED * updated users to new OLED * update layouts to new OLED * fixup docs * drashna's suggestion * fix up docs * new keyboards with oled * core split changes * remaining keyboard files * Fix The Helix keyboards oled options * reflect develop Co-authored-by: Drashna Jaelre <drashna@live.com> Co-authored-by: mtei <2170248+mtei@users.noreply.github.com>
This commit is contained in:
parent
2460b0ea85
commit
3b5759ee2b
42 changed files with 121 additions and 113 deletions
|
@ -32,18 +32,18 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
|||
KC_MUTE, KC_P4, KC_P5, KC_P6, _______,
|
||||
MO(_FN1), KC_P1, KC_P2, KC_P3, KC_PENT,
|
||||
KC_BSPC, KC_P0, _______, KC_PDOT, _______,
|
||||
|
||||
|
||||
KC_F5, KC_F6, KC_F7
|
||||
|
||||
),
|
||||
[_FN1] = LAYOUT(
|
||||
_______, _______, _______, _______,
|
||||
_______, _______, _______, _______,
|
||||
_______, _______, _______, _______,
|
||||
RGB_HUD, RGB_SPI, RGB_HUI, _______,
|
||||
_______, RGB_RMOD, RGB_TOG, RGB_MOD, _______,
|
||||
_______, RGB_VAD, RGB_SPD, RGB_VAI, _______,
|
||||
_______, RGB_SAD, _______, RGB_SAI, _______,
|
||||
|
||||
|
||||
_______, _______, _______
|
||||
|
||||
),
|
||||
|
@ -54,7 +54,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
|||
_______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______,
|
||||
|
||||
|
||||
_______, _______, _______
|
||||
|
||||
),
|
||||
|
@ -65,7 +65,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
|||
_______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______,
|
||||
|
||||
|
||||
_______, _______, _______
|
||||
|
||||
)
|
||||
|
@ -93,7 +93,7 @@ bool encoder_update_user(uint8_t index, bool clockwise) {
|
|||
}
|
||||
#endif
|
||||
|
||||
#ifdef OLED_DRIVER_ENABLE
|
||||
#ifdef OLED_ENABLE
|
||||
oled_rotation_t oled_init_user(oled_rotation_t rotation) {
|
||||
return OLED_ROTATION_270; // flips the display 270 degrees
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue