forked from kofal.net/zmk
fix(ble,hid): Fix smooth scrolling over BLE (#2998)
- Use correct MIN16 value in hid report. -32768 in 2's compliment is 8000(hex) - Initialize resolution multiplier array - Properly implement `read_hids_mouse_feature_report` Fixes: #2957 Co-authored-by: Tobias Adolph <43353209+adolto@users.noreply.github.comgit>
This commit is contained in:
@@ -13,7 +13,13 @@
|
||||
|
||||
LOG_MODULE_DECLARE(zmk, CONFIG_ZMK_LOG_LEVEL);
|
||||
|
||||
static struct zmk_pointing_resolution_multipliers multipliers[ZMK_ENDPOINT_COUNT];
|
||||
static struct zmk_pointing_resolution_multipliers multipliers[ZMK_ENDPOINT_COUNT] = {
|
||||
[0 ... ZMK_ENDPOINT_COUNT - 1] =
|
||||
{
|
||||
.wheel = 15,
|
||||
.hor_wheel = 15,
|
||||
},
|
||||
};
|
||||
|
||||
struct zmk_pointing_resolution_multipliers
|
||||
zmk_pointing_resolution_multipliers_get_current_profile(void) {
|
||||
|
||||
Reference in New Issue
Block a user