Skip to content

Commit

Permalink
chore: 🤖 corne backup
Browse files Browse the repository at this point in the history
  • Loading branch information
SparrowMike committed Aug 23, 2024
1 parent 83cc5b9 commit 07a11dd
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 7 deletions.
6 changes: 3 additions & 3 deletions keyboards/crkbd/keymaps/cornie/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

#define MASTER_LEFT

#define TAPPING_TERM 200
#define TAPPING_TERM 190

#define SPLIT_WPM_ENABLE

Expand Down Expand Up @@ -32,7 +32,7 @@
#define INCLUDE_LUNA

// INFO: graphics ----RIGHT---- pick one only
#define INCLUDE_ARASAKA
// #define INCLUDE_CAT
// #define INCLUDE_ARASAKA
#define INCLUDE_CAT
// #define INCLUDE_OCEAN
// #define INCLUDE_BARS
5 changes: 3 additions & 2 deletions keyboards/crkbd/keymaps/oled_test/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@

#define MASTER_LEFT

#define OLED_TIMEOUT 36000
#define OLED_TIMEOUT 6000

#define TESTER
// #define TESTER

#define INCLUDE_OCEAN
18 changes: 16 additions & 2 deletions keyboards/crkbd/keymaps/oled_test/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,23 @@
# include "./animation/tester.c"
#endif

#ifdef INCLUDE_OCEAN
# include "./../cornie/animation/ocean_dream.c"
#endif

const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {};


oled_rotation_t oled_init_user(oled_rotation_t rotation) {
#if defined(INCLUDE_OCEAN)
return OLED_ROTATION_270;
#endif
return rotation;
}

bool oled_task_user(void) {
oled_write_vertical("This is the first line", 0, 0);
oled_write_vertical("and the second at the QMK!", 4, 0);
// oled_write_vertical("This is the first line", 0, 0);
// oled_write_vertical("and the second at the QMK!", 4, 0);

// oled_clear();

Expand All @@ -20,6 +31,9 @@ bool oled_task_user(void) {
// draw_text();
// anim_timer = timer_read32();
// }
# ifdef INCLUDE_OCEAN
render_stars();
# endif

return false;
}
1 change: 1 addition & 0 deletions keyboards/crkbd/keymaps/oled_test/rules.mk
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
OLED_ENABLE = yes
OLED_DRIVER = ssd1306
WPM_ENABLE = yes

0 comments on commit 07a11dd

Please sign in to comment.