Make MOUSEKEY_MOVE_MAX and MOUSEKEY_WHEEL_MAX configurable
Kitten_paw/ickerwx was doing that
This commit is contained in:
parent
bbe8876c8d
commit
737c1fe641
@ -23,8 +23,17 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
|
|
||||||
|
|
||||||
/* max value on report descriptor */
|
/* max value on report descriptor */
|
||||||
#define MOUSEKEY_MOVE_MAX 127
|
#ifndef MOUSEKEY_MOVE_MAX
|
||||||
#define MOUSEKEY_WHEEL_MAX 127
|
#define MOUSEKEY_MOVE_MAX 127
|
||||||
|
#elif MOUSEKEY_MOVE_MAX > 127
|
||||||
|
#error MOUSEKEY_MOVE_MAX needs to be smaller than 127
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef MOUSEKEY_WHEEL_MAX
|
||||||
|
#define MOUSEKEY_WHEEL_MAX 127
|
||||||
|
#elif MOUSEKEY_WHEEL_MAX > 127
|
||||||
|
#error MOUSEKEY_WHEEL_MAX needs to be smaller than 127
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef MOUSEKEY_MOVE_DELTA
|
#ifndef MOUSEKEY_MOVE_DELTA
|
||||||
#define MOUSEKEY_MOVE_DELTA 5
|
#define MOUSEKEY_MOVE_DELTA 5
|
||||||
|
Loading…
Reference in New Issue
Block a user