From a1e2159a4f11e1923fd817646c246883adea6cfa Mon Sep 17 00:00:00 2001 From: Yaroslav Chvanov Date: Tue, 7 Mar 2023 04:26:43 +0300 Subject: [PATCH] sinowealth: allow up to three profiles --- src/driver-sinowealth.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/driver-sinowealth.c b/src/driver-sinowealth.c index daf5d2e1..42fbbdd4 100644 --- a/src/driver-sinowealth.c +++ b/src/driver-sinowealth.c @@ -111,7 +111,7 @@ _Static_assert(sizeof(enum sinowealth_command_id) == sizeof(uint8_t), "Invalid s * button configuration, so you may have to use another mouse to assign * buttons. */ -#define SINOWEALTH_NUM_PROFILES_MAX 1 +#define SINOWEALTH_NUM_PROFILES_MAX 3 _Static_assert(SINOWEALTH_NUM_PROFILES_MAX <= 3, "Too many profiles enabled"); /* Maximum amount of real events in a macro. */