feat(pointing): Add pre-defined scroll scaler and mouse scroll tests (#2759)

feat(pointing): Add pre-defined scroll scaler

tests(pointing): Add mouse scroll tests
This commit is contained in:
Cem Aksoylar
2025-02-04 09:27:14 -08:00
committed by GitHub
parent 8e065d55b9
commit 0f7c11248a
23 changed files with 299 additions and 17 deletions

View File

@@ -30,4 +30,12 @@
codes = <INPUT_REL_X INPUT_REL_Y>;
track-remainders;
};
};
/omit-if-no-ref/ zip_scroll_scaler: zip_scroll_scaler {
compatible = "zmk,input-processor-scaler";
#input-processor-cells = <2>;
type = <INPUT_EV_REL>;
codes = <INPUT_REL_WHEEL INPUT_REL_HWHEEL>;
track-remainders;
};
};