summaryrefslogtreecommitdiff
path: root/common/keycode.h
diff options
context:
space:
mode:
authortmk <nobody@nowhere>2013-07-23 07:45:25 +0900
committertmk <nobody@nowhere>2013-07-23 07:53:18 +0900
commit6aaa6e0ef9aa1e464b67723fd4cdd0d63b2c861d (patch)
tree25c8f53490930e4e70638211cec159f86e4018d5 /common/keycode.h
parent25aec56c082936a463d609357a04332c97c9940b (diff)
Add support for macro media/system keys
Diffstat (limited to 'common/keycode.h')
-rw-r--r--common/keycode.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/keycode.h b/common/keycode.h
index acbec07d20..77d5b79baf 100644
--- a/common/keycode.h
+++ b/common/keycode.h
@@ -30,7 +30,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define IS_SPECIAL(code) ((0xA5 <= (code) && (code) <= 0xDF) || (0xE8 <= (code) && (code) <= 0xFF))
-#define IS_SYSTEM(code) (KC_POWER <= (code) && (code) <= KC_WAKE)
+#define IS_SYSTEM(code) (KC_PWR <= (code) && (code) <= KC_WAKE)
#define IS_CONSUMER(code) (KC_MUTE <= (code) && (code) <= KC_WFAV)
#define IS_FN(code) (KC_FN0 <= (code) && (code) <= KC_FN31)
#define IS_MOUSEKEY(code) (KC_MS_UP <= (code) && (code) <= KC_MS_ACCEL2)