Remove magic bodges from via keymaps (#19890)

This commit is contained in:
Joel Challis
2023-02-22 01:15:18 +00:00
committed by GitHub
parent 26854f5940
commit 0512e286a6
28 changed files with 19 additions and 222 deletions

View File

@@ -25,22 +25,6 @@
# include "galaxy.h"
#endif
#ifndef WINLOCK_DISABLED
// Define the TGUI key here so it is available in QMK configurator
enum DGK6X_keycodes {
#ifdef VIA_ENABLE
KC_TGUI = USER00, // Toggle between GUI Lock or Unlock
NEW_SAFE_RANGE = SAFE_RANGE
#else
KC_TGUI = SAFE_RANGE, // Toggle between GUI Lock or Unlock
NEW_SAFE_RANGE
#endif
};
#undef SAFE_RANGE
#define SAFE_RANGE NEW_SAFE_RANGE
#endif /* WINLOCK_DISABLED */
/* Function Prototype */
void off_all_leds(void);
void on_all_leds(void);