|
|
@ -21,22 +21,6 @@ |
|
|
|
# include "bb-oled-extra.h" |
|
|
|
#endif // KEYBOARD_crkbd_rev1 |
|
|
|
|
|
|
|
#ifdef KEYBOARD_crkbd_rev1 |
|
|
|
# include "bb-oled-extra.h" |
|
|
|
#endif // KEYBOARD_crkbd_rev1 |
|
|
|
// |
|
|
|
/* F layout |
|
|
|
* ┌───┬───┬───┬───┬───┬───┐ ┌───┬───┬───┬───┬───┬───┐ |
|
|
|
* │+ *│ F │ G │ Ğ │ I │ O │ │ D │ R │ N │ H │ P │ Q │ |
|
|
|
* ├───┼───┼───┼───┼───┼───┤ ├───┼───┼───┼───┼───┼───┤ |
|
|
|
* │ X │ A │ S │ D │ F │ G │ │ T │ K │ M │ L │ Y │ Ş │ |
|
|
|
* ├───┼───┼───┼───┼───┼───┤ ├───┼───┼───┼───┼───┼───┤ |
|
|
|
* │< >│ J │ Ö │ V │ C │ Ç │ │ Z │ S │ B │. :│, ;│ W │ |
|
|
|
* └───┴───┴───┴───┼───┼───┼───┐ ┌───┼───┼───┼───┴───┴───┴───┘ |
|
|
|
* │Tab│Ent│Esc│ │Del│Spc│Bsp│ |
|
|
|
* └───┴───┴───┘ └───┴───┴───┘ |
|
|
|
*/ |
|
|
|
|
|
|
|
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { |
|
|
|
[_BASE] = LAYOUT_split_3x6_3_wrapper( |
|
|
|
BB_ENC0,_BL1_5_,_BR1_5_,BB_ENC1, |
|
|
@ -195,15 +179,6 @@ oled_rotation_t oled_init_user(oled_rotation_t rotation) { |
|
|
|
return rotation; |
|
|
|
} |
|
|
|
|
|
|
|
#ifdef OLED_ENABLE |
|
|
|
// Flip the display on the right half |
|
|
|
oled_rotation_t oled_init_user(oled_rotation_t rotation) { |
|
|
|
if (!is_keyboard_left()) { |
|
|
|
return OLED_ROTATION_180; |
|
|
|
} |
|
|
|
return rotation; |
|
|
|
} |
|
|
|
|
|
|
|
bool oled_task_keymap(void) { |
|
|
|
if (is_keyboard_left()) { |
|
|
|
render_status_left(0, 0); |
|
|
|