* [Keyboard] add Stello65 keyboard * Apply suggestions from code review Co-authored-by: Drashna Jaelre <[email protected]> * Apply suggestions from code review Co-authored-by: Ryan <[email protected]> * [Keyboard] update config pinout for stello65_sl_rev1 Co-authored-by: Drashna Jaelre <[email protected]> Co-authored-by: Ryan <[email protected]>
17 lines
406 B
C
17 lines
406 B
C
// 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;
|
|
};
|