Skip to content
Permalink
276ea8cd31
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
36 lines (29 sloc) 1.17 KB
/*
Copyright 2021 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/>.
*/
#include "yuiop22rs.h"
__attribute__((weak)) void rotary_switch_update_state_kb(uint8_t state) { rotary_switch_update_state_user(state); }
__attribute__((weak)) void rotary_switch_update_state_user(uint8_t state) {}
uint8_t rotary_switch_state = 0;
void dip_switch_update_mask_kb(uint32_t state) {
rotary_switch_state = (uint32_t)state;
rotary_switch_update_state_kb(rotary_switch_state);
}
matrix_row_t matrix_mask[MATRIX_ROWS] = {
0b11000,
0b11111,
0b11111,
0b11111,
0b11111,
0b00000,
};