Reallocate SAFE_RANGE (#19909)

This commit is contained in:
Joel Challis
2023-02-22 22:49:07 +00:00
committed by GitHub
parent ea77246865
commit 961f0b7b2d
50 changed files with 31 additions and 132 deletions

View File

@@ -18,16 +18,12 @@
#include "quantum.h"
enum TWOx1800_keycodes {
ENC_BTN1 = SAFE_RANGE,
ENC_BTN1 = QK_KB_0,
ENC_BTN2,
ENC_BTN3,
ENC_BTN4,
NEW_SAFE_RANGE
};
#undef SAFE_RANGE
#define SAFE_RANGE NEW_SAFE_RANGE
// Encoder update function that returns true/false
bool encoder_update_keymap(uint8_t index, bool clockwise);