Small un/register_code() cleanups (#18544)

This commit is contained in:
Ryan authored and GitHub committed 2022-09-30 16:29:24 -04:00
1 parent 8bd73d4455
commit 2c96c75263
2 files changed
+25 -31

No files matched your search

+5 -1
View File
@@ -192,7 +192,11 @@ enum mods_codes {
/** \brief Other Keys
*/
enum usage_pages { PAGE_SYSTEM, PAGE_CONSUMER };
enum usage_pages {
PAGE_SYSTEM,
PAGE_CONSUMER,
};
#define ACTION_USAGE_SYSTEM(id) ACTION(ACT_USAGE, PAGE_SYSTEM << 10 | (id))
#define ACTION_USAGE_CONSUMER(id) ACTION(ACT_USAGE, PAGE_CONSUMER << 10 | (id))
#define ACTION_MOUSEKEY(key) ACTION(ACT_MOUSEKEY, key)