Skip to content

Commit

Permalink
apply diff 'ploopy-scrolllk'
Browse files Browse the repository at this point in the history
  • Loading branch information
plodah committed Jan 27, 2025
1 parent 1bb8ae6 commit 51d0eac
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion keyboards/ploopyco/ploopyco.c
Original file line number Diff line number Diff line change
Expand Up @@ -239,9 +239,16 @@ void pointing_device_init_kb(void) {
pointing_device_set_cpi(dpi_array[keyboard_config.dpi_config]);
}

bool led_update_kb(led_t led_state) {
#if defined(PLOOPY_DRAGSCROLL_ON_SCROLLLOCK_ENABLED)
is_drag_scroll = led_state.scroll_lock;
#endif // PLOOPY_DRAGSCROLL_ON_SCROLLLOCK_ENABLED
return true;
}

void eeconfig_init_kb(void) {
keyboard_config.dpi_config = PLOOPY_DPI_DEFAULT;
eeconfig_update_kb(keyboard_config.raw);
eeconfig_init_user();
}
#endif
#endif

0 comments on commit 51d0eac

Please sign in to comment.