restore old light button behavior

watch faces that handle EVENT_LIGHT_BUTTON_UP but not EVENT_LIGHT_BUTTON_DOWN
probably don't want the default EVENT_LIGHT_BUTTON_DOWN LED activation behavior
This commit is contained in:
Jeremy O'Brien
2023-01-26 10:44:11 -05:00
committed by joeycastillo
parent c945f323f4
commit a18c285e58
22 changed files with 51 additions and 14 deletions

View File

@@ -376,6 +376,12 @@ bool morsecalc_face_loop(movement_event_t event, movement_settings_t *settings,
settings->bit.led_green_color ? (0xF | settings->bit.led_green_color << 4) : 0);
}
break;
case EVENT_LIGHT_BUTTON_DOWN:
// don't light up every time light is hit
break;
default:
movement_default_loop_handler(event, settings);
break;
}
return true;