Browse Source

core: Cancel removing IS_ANY() at c98e89f

IS_ANY() is used in usb_usb
master
tmk 7 years ago
parent
commit
be80ed2ef3
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      tmk_core/common/keycode.h

+ 1
- 0
tmk_core/common/keycode.h View File





#define IS_ERROR(code) (KC_ROLL_OVER <= (code) && (code) <= KC_UNDEFINED) #define IS_ERROR(code) (KC_ROLL_OVER <= (code) && (code) <= KC_UNDEFINED)
#define IS_ANY(code) (KC_A <= (code) && (code) <= 0xFF)


#ifndef ACTIONMAP_ENABLE #ifndef ACTIONMAP_ENABLE
#define IS_KEY(code) (KC_A <= (code) && (code) <= KC_EXSEL) #define IS_KEY(code) (KC_A <= (code) && (code) <= KC_EXSEL)

Loading…
Cancel
Save