From 7fd2f1d571e638e74bf2fa04ac0e872fa49ed450 Mon Sep 17 00:00:00 2001 From: bsongis Date: Wed, 11 Jul 2012 08:26:08 +0000 Subject: [PATCH] Forgot a file in my last commit! --- src/open9x.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/open9x.h b/src/open9x.h index 721ee2b08..142706fd0 100644 --- a/src/open9x.h +++ b/src/open9x.h @@ -453,6 +453,7 @@ extern Key keys[NUM_KEYS]; #define _MSK_KEY_REPT 0x40 #define _MSK_KEY_LONG 0x80 #define IS_KEY_BREAK(key) (((key)&0xf0) == 0x20) +#define IS_KEY_FIRST(key) (((key)&0xf0) == 0x60) #define EVT_KEY_BREAK(key) ((key)|_MSK_KEY_BREAK) #define EVT_KEY_FIRST(key) ((key)|_MSK_KEY_REPT|0x20) #define EVT_KEY_REPT(key) ((key)|_MSK_KEY_REPT)