Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
Alabastard-64 committed Jan 24, 2023
1 parent ade01f0 commit 9ac04e9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion quantum/pointing_device/pointing_device_modes.c
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ static uint8_t divisor_postprocess(uint8_t divisor) {
static uint8_t get_pointing_mode_divisor(void) {
// allow for user and keyboard overrides
uint8_t divisor = 0;

divisor = get_pointing_mode_divisor_user(get_pointing_mode_id(), pointing_mode_context.mode.direction);
if (!divisor) {
divisor = get_pointing_mode_divisor_kb(get_pointing_mode_id(), pointing_mode_context.mode.direction);
Expand Down
6 changes: 3 additions & 3 deletions quantum/pointing_device/pointing_device_modes.h
Original file line number Diff line number Diff line change
Expand Up @@ -148,9 +148,9 @@ bool process_pointing_mode_user(pointing_mode_t pointing_mode, report_mouse_t* m
/* ----------Callbacks for adding/modifying pointing device mode divisors----------------------------------------- */
uint8_t get_pointing_mode_divisor_kb(uint8_t mode_id, uint8_t direction); // adding divisors at keyboard level
uint8_t get_pointing_mode_divisor_user(uint8_t mode_id, uint8_t direction); // adding divisors at user/keymap level
uint8_t pointing_mode_divisor_postprocess_kb(uint8_t divisor); // modifying divisors at keyboard level
uint8_t pointing_mode_divisor_postprocess_user(uint8_t divisor); // modifying divisors at user/keymap level
void pointing_mode_divisor_override(uint8_t divisor); // Override current divisor until next update
uint8_t pointing_mode_divisor_postprocess_kb(uint8_t divisor); // modifying divisors at keyboard level
uint8_t pointing_mode_divisor_postprocess_user(uint8_t divisor); // modifying divisors at user/keymap level
void pointing_mode_divisor_override(uint8_t divisor); // Override current divisor until next update

/* ----------Core functions (only used in custom pointing devices or key processing)------------------------------ */
report_mouse_t pointing_device_modes_task(report_mouse_t mouse_report); // intercepts mouse_report (in pointing_device_task_* stack)
Expand Down

0 comments on commit 9ac04e9

Please sign in to comment.