From f0124ed93cdcee8d22a6690e639a3f60b9a63c54 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Fri, 1 May 2009 14:35:12 +1000 Subject: [PATCH] include: up the number of max. input devices to 40. With the Xtest virtual slave devices we have 4 devices for each MD pointer/keyboard pair, plus the AllDevices and AllMasterDevices reserved deviceids. It's quite easy to hit the current limit. Signed-off-by: Peter Hutterer --- include/misc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/misc.h b/include/misc.h index 6a920cc9f..61dd9474c 100644 --- a/include/misc.h +++ b/include/misc.h @@ -86,7 +86,7 @@ OF THIS SOFTWARE. #define MAXCLIENTS 256 #define MAXEXTENSIONS 128 #define MAXFORMATS 8 -#define MAXDEVICES 20 /* input devices */ +#define MAXDEVICES 40 /* input devices */ #define EXTENSION_EVENT_BASE 64 #define EXTENSION_BASE 128