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.
- Loading branch information
Showing
4 changed files
with
73 additions
and
1 deletion.
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
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,30 @@ | ||
/* | ||
This is the c configuration file for the keymap | ||
Copyright 2023 @kushima8 | ||
Copyright 2023 MURAOKA Taro (aka KoRoN, @kaoriya) | ||
This program is free software: you can redistribute it and/or modify | ||
it under the terms of the GNU General Public License as published by | ||
the Free Software Foundation, either version 2 of the License, or | ||
(at your option) any later version. | ||
This program is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
GNU General Public License for more details. | ||
You should have received a copy of the GNU General Public License | ||
along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
*/ | ||
|
||
#pragma once | ||
|
||
#ifdef RGBLIGHT_ENABLE | ||
# ifdef RGBLIGHT_EFFECT_BREATHING | ||
# undef RGBLIGHT_EFFECT_BREATHING | ||
# endif | ||
# ifndef RGBLIGHT_EFFECT_RGB_TEST | ||
# define RGBLIGHT_EFFECT_RGB_TEST // required for LED test | ||
# endif | ||
#endif |
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,39 @@ | ||
#include QMK_KEYBOARD_H | ||
#include "quantum.h" | ||
#include <stdio.h> | ||
|
||
// clang-format off | ||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
[0] = LAYOUT( | ||
// ,--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+-------------. | ||
KC_ESC ,KC_1 ,KC_2 ,KC_3 ,KC_4 ,KC_5 , KC_6 ,KC_7 ,KC_8 ,KC_9 ,KC_0 ,KC_MINS , | ||
// |--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+-------------| | ||
KC_TAB ,KC_Q ,KC_W ,KC_E ,KC_R ,KC_T , KC_Y ,KC_U ,KC_I ,KC_O ,KC_P ,KC_BSPC , | ||
// |--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+-------------| | ||
KC_LCTL ,KC_A ,KC_S ,KC_D ,KC_F ,KC_G , KC_H ,KC_J ,KC_K ,KC_L ,KC_SCLN ,KC_QUOT , | ||
// |--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+-------------| | ||
KC_RSFT ,KC_Z ,KC_X ,KC_C ,KC_V ,KC_B , KC_N ,KC_M ,KC_COMM ,KC_DOT ,KC_SLSH ,KC_ENT , | ||
// |--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+-------------| | ||
KC_LCTL ,KC_LGUI ,KC_LALT ,KC_SPC , KC_SPC ,KC_RALT ,KC_RGUI ,KC_APP | ||
// `--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+---------------------' | ||
) | ||
}; | ||
// clang-format on | ||
|
||
void keyboard_post_init_user(void) { | ||
#ifdef RGBLIGHT_ENABLE | ||
// Force RGB lights to show test animation without writing EEPROM. | ||
rgblight_enable_noeeprom(); | ||
rgblight_mode_noeeprom(RGBLIGHT_MODE_RGB_TEST); | ||
#endif | ||
} | ||
|
||
#ifdef OLED_ENABLE | ||
|
||
# include "lib/oledkit/oledkit.h" | ||
|
||
void oledkit_render_info_user(void) { | ||
reex_oled_render_keyinfo(); | ||
reex_oled_render_ballinfo(); | ||
} | ||
#endif |
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,3 @@ | ||
RGBLIGHT_ENABLE = yes | ||
|
||
OLED_ENABLE = yes |