include: Increase the number of max. input devices to 256.

Extending the decade old f0124ed93, to increase the number of input
devices from 40 to 256. 40 translates at most 9 MD, while 256 will allow
63 MD. It is an arbitrary number, but people are hitting the current
limit under reasonable conditions.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=64793
Signed-off-by: Arthur Williams <taaparthur@gmail.com>
This commit is contained in:
Arthur Williams 2019-10-17 22:47:37 -07:00
parent eddad048e3
commit fe439596b9
1 changed files with 3 additions and 1 deletions

View File

@ -91,7 +91,9 @@ OF THIS SOFTWARE.
#define LIMITCLIENTS 256 /* Must be a power of 2 and <= MAXCLIENTS */
#define MAXEXTENSIONS 128
#define MAXFORMATS 8
#define MAXDEVICES 40 /* input devices */
#ifndef MAXDEVICES
#define MAXDEVICES 256 /* input devices */
#endif
#define GPU_SCREEN_OFFSET 256
/* 128 event opcodes for core + extension events, excluding GE */