[Keyboard] Corne - Remove legacy revision support (#12226)
This commit is contained in:
parent
8e22da67c1
commit
57158cc3bc
71 changed files with 215 additions and 2269 deletions
|
@ -17,6 +17,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
*/
|
||||
|
||||
#include QMK_KEYBOARD_H
|
||||
#include <stdio.h>
|
||||
|
||||
enum layer_names {
|
||||
_DVORAK,
|
||||
|
@ -101,7 +102,7 @@ layer_state_t layer_state_set_user(layer_state_t state) {
|
|||
|
||||
#ifdef OLED_DRIVER_ENABLE
|
||||
oled_rotation_t oled_init_user(oled_rotation_t rotation) {
|
||||
if (!is_master) {
|
||||
if (!is_keyboard_master()) {
|
||||
return OLED_ROTATION_180; // flips the display 180 degrees if offhand
|
||||
}
|
||||
return rotation;
|
||||
|
@ -187,7 +188,7 @@ void oled_render_logo(void) {
|
|||
}
|
||||
|
||||
void oled_task_user(void) {
|
||||
if (is_master) {
|
||||
if (is_keyboard_master()) {
|
||||
oled_render_layer_state();
|
||||
oled_render_keylog();
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue