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:
Benjamin Tissoires
2015-12-16 15:46:18 +01:00
parent 94062a0881
commit ff7a59f46a
2 changed files with 2 additions and 2 deletions

View File

@@ -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;

View File

@@ -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