summaryrefslogtreecommitdiffstats
path: root/common/keycode.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/keycode.h')
-rw-r--r--common/keycode.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/common/keycode.h b/common/keycode.h
index f9331cdbf..2eec2af85 100644
--- a/common/keycode.h
+++ b/common/keycode.h
@@ -43,6 +43,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MOD_INDEX(code) ((code) & 0x07)
#define FN_BIT(code) (1<<FN_INDEX(code))
#define FN_INDEX(code) ((code) - KC_FN0)
+#define FN_MIN KC_FN0
+#define FN_MAX KC_FN7
/*