mirror of
https://github.com/libratbag/libratbag.git
synced 2026-11-07 23:23:52 +01:00
bump max events the macros can handle
We should probably dynamically alloc those then. Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
This commit is contained in:
@@ -263,7 +263,7 @@ struct ratbag_macro_event {
|
||||
} event;
|
||||
};
|
||||
|
||||
#define MAX_MACRO_EVENTS 64
|
||||
#define MAX_MACRO_EVENTS 256
|
||||
struct ratbag_macro {
|
||||
char *name;
|
||||
char *group;
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
#include <libratbag-util.h>
|
||||
#include <libevdev/libevdev.h>
|
||||
|
||||
#define MAX_MACRO_EVENTS 64
|
||||
#define MAX_MACRO_EVENTS 256
|
||||
|
||||
LIBRATBAG_ATTRIBUTE_PRINTF(1, 2)
|
||||
static inline void
|
||||
|
||||
Reference in New Issue
Block a user