1
0
Fork 0

Update pmw3360 comments to match the datasheet better, fix delays. (#15682)

This commit is contained in:
uqs 2022-01-02 09:06:17 +01:00 committed by GitHub
parent 367e2bb0ff
commit 8b44eaa63e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 26 additions and 16 deletions

View file

@ -218,7 +218,7 @@ void keyboard_pre_init_kb(void) {
}
void pointing_device_init_kb(void) {
pmw3360_set_cpi(dpi_array[keyboard_config.dpi_config]);
pointing_device_set_cpi(dpi_array[keyboard_config.dpi_config]);
// initialize the scroll wheel's optical encoder
opt_encoder_init();
}