Tidy up use of keycode range helpers (#19756)
This commit is contained in:
parent
2ffdec5dc2
commit
1d0b4c8d38
16 changed files with 39 additions and 33 deletions
|
@ -27,8 +27,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
/* FIXME: Add doxygen comments here */
|
||||
|
||||
#define IS_ANY(code) (KC_A <= (code) && (code) <= 0xFF)
|
||||
#define IS_KEY(code) IS_BASIC_KEYCODE(code)
|
||||
#define IS_MOD(code) IS_MODIFIERS_KEYCODE(code)
|
||||
|
||||
#define IS_SYSTEM(code) IS_SYSTEM_KEYCODE(code)
|
||||
#define IS_CONSUMER(code) IS_MEDIA_KEYCODE(code)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue