git://git.gir.st
/
tmk_keyboard.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
39aeb1f
)
core: Cancel removing IS_ANY() at c98e89f
author
tmk
<hasu@tmk-kbd.com>
Thu, 5 Jan 2017 12:17:29 +0000
(21:17 +0900)
committer
tmk
<hasu@tmk-kbd.com>
Thu, 5 Jan 2017 12:17:29 +0000
(21:17 +0900)
IS_ANY() is used in usb_usb
tmk_core/common/keycode.h
patch
|
blob
|
blame
|
history
diff --git
a/tmk_core/common/keycode.h
b/tmk_core/common/keycode.h
index 3ac1b55b7da849491d5da2a57d2c8e49e0a1ae60..63d52e892efb013dd3460306437a66d654acdc63 100644
(file)
--- a/
tmk_core/common/keycode.h
+++ b/
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)