Move ortho & numpad layouts to data driven (#20183)

Co-authored-by: Nick Brassel <nick@tzarc.org>
This commit is contained in:
Ryan
2023-03-29 15:54:34 +11:00
committed by GitHub
parent 06664e8a94
commit 4869b8061c
589 changed files with 19002 additions and 25368 deletions

View File

@@ -19,20 +19,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "quantum.h"
#define LAYOUT_ortho_5x12( \
K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, \
K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, \
K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, \
K300, K301, K302, K303, K304, K305, K306, K307, K308, K309, K310, K311, \
K400, K401, K402, K403, K404, K405, K406, K407, K408, K409, K410, K411 \
) { \
{K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011}, \
{K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111}, \
{K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211}, \
{K300, K301, K302, K303, K304, K305, K306, K307, K308, K309, K310, K311}, \
{K400, K401, K402, K403, K404, K405, K406, K407, K408, K409, K410, K411} \
}
static inline void led_lwr(const bool on) {
#ifdef LED_NUM_LOCK_PIN
writePin(LED_NUM_LOCK_PIN, on);