From 7d81e7208aa70b29c3370048db69f680f3b10115 Mon Sep 17 00:00:00 2001 From: Jesper Zedlitz Date: Tue, 29 Jan 2019 20:27:52 +0100 Subject: [PATCH] Increase the maximum key number to be able to simulate multimedia keys, e.g. XF86AudioRecord. --- src/constant.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/constant.h b/src/constant.h index 76d2253..246a784 100644 --- a/src/constant.h +++ b/src/constant.h @@ -17,7 +17,7 @@ #define JOYMIN -32767 //maximum number of defined keys -#define MAXKEY 123 +#define MAXKEY 255 //fastest the mouse can go. Completely arbitrary. #define MAXMOUSESPEED 5000