Skip to content

Commit

Permalink
Merge pull request #142 from inputlabs/led-touch-sens
Browse files Browse the repository at this point in the history
Changed LED patterns on touch sensitivity presets
  • Loading branch information
marcos-diaz authored Oct 7, 2024
2 parents 1914000 + 37b74a5 commit 4f5ff2c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/config.c
Original file line number Diff line number Diff line change
Expand Up @@ -294,10 +294,10 @@ void config_tune_update_leds() {
if (config_tune_mode == PROC_TUNE_TOUCH_SENS) {
led_static_mask(LED_RIGHT);
if (config_cache.sens_touch == 0) led_blink_mask(LED_DOWN);
if (config_cache.sens_touch == 1) led_blink_mask(LED_DOWN + LED_LEFT);
if (config_cache.sens_touch == 2) led_blink_mask(LED_LEFT);
if (config_cache.sens_touch == 3) led_blink_mask(LED_LEFT + LED_UP);
if (config_cache.sens_touch == 4) led_blink_mask(LED_UP);
if (config_cache.sens_touch == 1) led_blink_mask(LED_LEFT);
if (config_cache.sens_touch == 2) led_blink_mask(LED_UP);
if (config_cache.sens_touch == 3) led_blink_mask(LED_LEFT + LED_DOWN);
if (config_cache.sens_touch == 4) led_blink_mask(LED_LEFT + LED_UP);
led_set_mode(LED_MODE_BLINK);
}
}
Expand Down

0 comments on commit 4f5ff2c

Please sign in to comment.