From 4141d9b0dd04200aee0a2fee893081665bafdd8a Mon Sep 17 00:00:00 2001 From: Joshua Liu Date: Thu, 19 Jun 2025 23:06:49 -0400 Subject: feat: removed more unnecessary macro constants and moved enumeration declaration into devdetails.h --- devdetails.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'devdetails.h') diff --git a/devdetails.h b/devdetails.h index a9e21bd..101f394 100644 --- a/devdetails.h +++ b/devdetails.h @@ -1,8 +1,6 @@ #define MINI_VENID 0x0fd9 #define MINI_PROID 0x0063 -#define MINI_KEYS 6 - static unsigned char BLANK_KEY_IMAGE[] = { 0x42, 0x4d, 0xf6, 0x3c, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x36, 0x00, 0x00, 0x00, 0x28, 0x00, @@ -12,3 +10,5 @@ static unsigned char BLANK_KEY_IMAGE[] = { 0x00, 0x00, 0xc4, 0x0e, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; + +enum numkeys {STREAMDECK_ORIG = 12, STREAMDECK_MINI = 6}; -- cgit v1.2.3