mirror of
https://github.com/qmk/qmk_firmware.git
synced 2025-07-08 17:02:06 +00:00
ducky: enable DIP_SWITCH_ENABLE rule
This commit is contained in:
parent
bb31ec6b80
commit
82ea4e2fe1
@ -85,6 +85,8 @@ inline uint8_t matrix_rows(void) { return MATRIX_ROWS; }
|
||||
|
||||
inline uint8_t matrix_cols(void) { return MATRIX_COLS; }
|
||||
|
||||
__attribute__((weak)) bool peek_matrix(uint8_t row_index, uint8_t col_index, bool raw) { return 0 != ((raw ? raw_matrix[row_index] : matrix[row_index]) & (MATRIX_ROW_SHIFTER << col_index)); }
|
||||
|
||||
void matrix_init(void) {
|
||||
unselect_rows();
|
||||
init_cols();
|
||||
|
@ -42,6 +42,7 @@ BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
|
||||
RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
|
||||
BLUETOOTH_ENABLE = no # Enable Bluetooth
|
||||
AUDIO_ENABLE = no # Audio output
|
||||
DIP_SWITCH_ENABLE = yes
|
||||
CUSTOM_MATRIX = yes # Custom keyscan matrix (don't force inputs)
|
||||
|
||||
# Enter lower-power sleep mode when on the ChibiOS idle thread
|
||||
|
Loading…
Reference in New Issue
Block a user