Skip to content

Commit

Permalink
feat: create keycode aliases
Browse files Browse the repository at this point in the history
  • Loading branch information
fdidron committed Jul 30, 2024
1 parent 2120dc5 commit a622e5f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions keyboards/zsa/common/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
// SPDX-License-Identifier: GPL-2.0-or-later

#pragma once
#include "keycode_aliases.h"

#ifdef ORYX_ENABLE
# ifndef SERIAL_NUMBER
Expand Down
7 changes: 7 additions & 0 deletions keyboards/zsa/common/keycode_aliases.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
// Copyright 2024 ZSA Technology Labs, Inc <@zsa>
// SPDX-License-Identifier: GPL-2.0-or-later
//
// As QMK evolves, some keycodes are renamed. This file provides a way to map old keycodes to new ones.

// Changed from fw23 to fw24
#define QK_MAGIC_TOGGLE_NKRO MAGIC_TOGGLE_NKRO

0 comments on commit a622e5f

Please sign in to comment.