Skip to content

Commit

Permalink
AVR space saving shoul not be enabled with magic keys
Browse files Browse the repository at this point in the history
  • Loading branch information
rhruiz committed May 12, 2024
1 parent b4bcb89 commit e6575e2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions users/rhruiz/rhruiz.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
#include "rhruiz.h"
#include "lib/lib8tion/lib8tion.h"

#ifndef MAGIC_ENABLE
/* space saving overrides */
uint16_t keycode_config(uint16_t keycode) {
return keycode;
Expand All @@ -10,6 +11,7 @@ uint16_t keycode_config(uint16_t keycode) {
uint8_t mod_config(uint8_t mod) {
return mod;
}
#endif

bool process_record_user(uint16_t keycode, keyrecord_t *record) {
if (!(process_record_keymap(keycode, record)
Expand Down

0 comments on commit e6575e2

Please sign in to comment.