Migrate dip switch config to info.json - keychron (#23037)

This commit is contained in:
Joel Challis 2024-02-09 06:56:13 +00:00 committed by GitHub
parent e7b84e1cf6
commit 137938b67a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
87 changed files with 117 additions and 466 deletions

View file

@ -16,25 +16,6 @@
#include "quantum.h"
// Mask out handedness diode to prevent it
// from keeping the keyboard awake
// - just mirroring `KC_NO` in the `LAYOUT`
// macro to keep it simple
const matrix_row_t matrix_mask[] = {
0b011111111,
0b011111111,
0b011011111,
0b001111111,
0b011111111,
0b001011111,
0b111111111,
0b101111111,
0b111111111,
0b110111111,
0b010111111,
0b111011110,
};
#ifdef DIP_SWITCH_ENABLE
bool dip_switch_update_kb(uint8_t index, bool active) {
if (!dip_switch_update_user(index, active)) {