From b03a7cef7555119f1cdee95b0c08cafd9f1f18eb Mon Sep 17 00:00:00 2001 From: Daniel Kao Date: Sun, 31 Jul 2022 07:51:20 -0700 Subject: [PATCH] Fix POINTING_DEVICE_GESTURES_SCROLL_ENABLE typo (#17850) * Fix typo for POINTING_DEVICE_GESTURES_SCROLL_ENABLE Follow the name written in documentation which follows POINTING_DEVICE_GESTURES_CURSOR_GLIDE_ENABLE * Reword the blurb about POINTING_DEVICE_GESTURES_CURSOR_GLIDE_ENABLE in docs --- docs/feature_pointing_device.md | 2 +- drivers/sensors/cirque_pinnacle.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/feature_pointing_device.md b/docs/feature_pointing_device.md index 17acc15ff0..c46cf34ee6 100644 --- a/docs/feature_pointing_device.md +++ b/docs/feature_pointing_device.md @@ -294,7 +294,7 @@ void pointing_device_driver_set_cpi(uint16_t cpi) {} !> When using `SPLIT_POINTING_ENABLE` the `POINTING_DEVICE_MOTION_PIN` functionality is not supported and `POINTING_DEVICE_TASK_THROTTLE_MS` will default to `1`. Increasing this value will increase transport performance at the cost of possible mouse responsiveness. -!> **`POINTING_DEVICE_GESTURES_CURSOR_GLIDE_ENABLE`** can be used with any pointing device with a lift/contact status can integrate this gesture into its driver. e.g. PMW3360 can use Lift_Stat from Motion register. Note that `POINTING_DEVICE_MOTION_PIN` cannot be used with this feature; continuous polling of `pointing_device_get_report()` is needed to generate glide reports. +!> Any pointing device with a lift/contact status can integrate inertial cursor feature into its driver, controlled by `POINTING_DEVICE_GESTURES_CURSOR_GLIDE_ENABLE`. e.g. PMW3360 can use Lift_Stat from Motion register. Note that `POINTING_DEVICE_MOTION_PIN` cannot be used with this feature; continuous polling of `get_report()` is needed to generate glide reports. ## Split Keyboard Configuration diff --git a/drivers/sensors/cirque_pinnacle.h b/drivers/sensors/cirque_pinnacle.h index e9bb9621e4..320e7d936e 100644 --- a/drivers/sensors/cirque_pinnacle.h +++ b/drivers/sensors/cirque_pinnacle.h @@ -41,13 +41,13 @@ # ifndef CIRQUE_PINNACLE_Y_RANGE # define CIRQUE_PINNACLE_Y_RANGE (CIRQUE_PINNACLE_Y_UPPER - CIRQUE_PINNACLE_Y_LOWER) # endif -# if defined(POINTING_DEVICE_GESTURE_SCROLL_ENABLE) +# if defined(POINTING_DEVICE_GESTURES_SCROLL_ENABLE) # define CIRQUE_PINNACLE_CIRCULAR_SCROLL_ENABLE # endif #else # define CIRQUE_PINNACLE_X_RANGE 256 # define CIRQUE_PINNACLE_Y_RANGE 256 -# if defined(POINTING_DEVICE_GESTURE_SCROLL_ENABLE) +# if defined(POINTING_DEVICE_GESTURES_SCROLL_ENABLE) # define CIRQUE_PINNACLE_SIDE_SCROLL_ENABLE # endif #endif