Replace preprocessor guards for ENCODER_MAP_ENABLE with !ENCODER_CALLBACKS_ENABLE.

This commit is contained in:
Nick Brassel
2025-06-03 10:06:52 +10:00
parent b2b6afffcb
commit 5b3508b9b5
191 changed files with 420 additions and 420 deletions
+1 -1
View File
@@ -153,7 +153,7 @@ enum {
Add the keycodes to a new encoder map (optionally with transparent layers above, if you want identical functionality of layer-independence):
```c
#if defined(ENCODER_MAP_ENABLE)
#if !defined(ENCODER_CALLBACKS_ENABLE)
const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = {
[0] = { ENCODER_CCW_CW(MY_ENCODER_LEFT, MY_ENCODER_RIGHT) }, // [!code focus]
[1] = { ENCODER_CCW_CW(KC_TRNS, KC_TRNS) }, // [!code focus]