[Keyboard] Add Stello65 keyboard (#17168)
* [Keyboard] add Stello65 keyboard * Apply suggestions from code review Co-authored-by: Drashna Jaelre <drashna@live.com> * Apply suggestions from code review Co-authored-by: Ryan <fauxpark@gmail.com> * [Keyboard] update config pinout for stello65_sl_rev1 Co-authored-by: Drashna Jaelre <drashna@live.com> Co-authored-by: Ryan <fauxpark@gmail.com>
This commit is contained in:
parent
c681b6dbf3
commit
b8bbd0cb9a
33 changed files with 574 additions and 10 deletions
16
keyboards/stello65/beta/beta.c
Normal file
16
keyboards/stello65/beta/beta.c
Normal file
|
@ -0,0 +1,16 @@
|
|||
// Copyright 2021 @wekey (@@wekey)
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#include "beta.h"
|
||||
#include "encoder_actions.h"
|
||||
|
||||
void matrix_scan_kb(void) {
|
||||
encoder_action_unregister();
|
||||
matrix_scan_user();
|
||||
}
|
||||
|
||||
bool encoder_update_kb(uint8_t index, bool clockwise) {
|
||||
if (!encoder_update_user(index, clockwise)) { return false; }
|
||||
encoder_action_register(index, clockwise);
|
||||
return true;
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue