ソースを参照

core: Cancel removing IS_ANY() at c98e89f

IS_ANY() is used in usb_usb
master
tmk 7年前
コミット
be80ed2ef3
1個のファイルの変更1行の追加0行の削除
  1. 1
    0
      tmk_core/common/keycode.h

+ 1
- 0
tmk_core/common/keycode.h ファイルの表示

@@ -24,6 +24,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.


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

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

読み込み中…
キャンセル
保存