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.
[Keyboard] Add boardsource/the_q (qmk#23782)
* initial unsplit keyboard * move shared code * unsplit: fix underglow led x,y & remove unecessary code * unsplit: remove split code & tidy readme * unsplit: limit brightness & community layout * rename keyboard * the_q: tidy keymap & readme * lulu: remove accidental build target * rename file
- Loading branch information
Showing
13 changed files
with
314 additions
and
283 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
// Copyright 2024 jack (@waffle87) | ||
// SPDX-License-Identifier: GPL-2.0-or-later | ||
#include "oled.h" | ||
|
||
void render_layer_state(void) { | ||
switch (get_highest_layer(layer_state)) { | ||
case 0: | ||
oled_write_raw_P(layer0_img, sizeof(layer0_img)); | ||
break; | ||
case 1: | ||
oled_write_raw_P(layer1_img, sizeof(layer1_img)); | ||
break; | ||
case 2: | ||
oled_write_raw_P(layer2_img, sizeof(layer2_img)); | ||
break; | ||
case 3: | ||
oled_write_raw_P(layer3_img, sizeof(layer3_img)); | ||
break; | ||
} | ||
} |
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 @@ | ||
SRC += lib/oled.c |
Oops, something went wrong.