Keymap: Big switch config (#3904)
* bigswitch keymap * bigswitch keymap * bigswitch keymap * bigswitch keymap * recommended edits made * forgot to revert this change with the others
This commit is contained in:
parent
743449472e
commit
fe3bfd91c1
6 changed files with 141 additions and 0 deletions
|
@ -19,10 +19,12 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
volatile uint8_t runonce = true;
|
||||
static uint16_t my_timer;
|
||||
|
||||
__attribute__ ((weak))
|
||||
void matrix_init_user(void) {
|
||||
my_timer = timer_read();
|
||||
}
|
||||
|
||||
__attribute__ ((weak))
|
||||
void matrix_scan_user(void) {
|
||||
if (runonce && timer_elapsed(my_timer) > 1000) {
|
||||
runonce = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue