mirror of
https://github.com/openstenoproject/qmk
synced 2024-11-10 02:30:07 +00:00
Make MOUSEKEY_MOVE_MAX and MOUSEKEY_WHEEL_MAX configurable
Kitten_paw/ickerwx was doing that
This commit is contained in:
parent
bbe8876c8d
commit
737c1fe641
1 changed files with 11 additions and 2 deletions
|
@ -23,8 +23,17 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
|
||||
|
||||
/* max value on report descriptor */
|
||||
#ifndef MOUSEKEY_MOVE_MAX
|
||||
#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
|
||||
#define MOUSEKEY_MOVE_DELTA 5
|
||||
|
|
Loading…
Reference in a new issue