qmk-keychron-q3-colemak-dh/keyboards/libra_mini/keymaps/default/config.h
somepin 9470468ede
Add Libra Mini joystick remapping (#334)
* Enable remapping Libra Mini joystick as keys

* Move config to default keycap so make passes
2023-01-14 21:35:08 -06:00

19 lines
447 B
C

/* SPDX-License-Identifier: GPL-2.0-or-later */
#pragma once
/* Mouse control configuration */
/* Cursor speed */
#define ANALOG_JOYSTICK_SPEED_MAX 5
#define ANALOG_JOYSTICK_SPEED_REGULATOR 10
#define ANALOG_JOYSTICK_Y_AXIS_PIN B6
#define ANALOG_JOYSTICK_X_AXIS_PIN D7
#define POINTING_DEVICE_INVERT_X
#define POINTING_DEVICE_INVERT_Y
/* Mouse inertia (keeps sliding after a flick) */
// #define POINTING_DEVICE_GESTURES_CURSOR_GLIDE_ENABLE