1#ifndef MY_CUSTOM_MODE_H
2#define MY_CUSTOM_MODE_H
6 static void loop(
auto& ctx) {}
7 static void on_enter_mode(
auto& ctx) {}
8 static void on_exit_mode(
auto& ctx) {}
11 static void sunset_update(
auto& ctx,
float progress) {}
14 static void brightness_update(
auto& ctx, brightness_t brightness) {}
17 static void custom_ramp_update(
auto& ctx, uint8_t rampValue) {}
20 static bool custom_click(
auto& ctx, uint8_t nbClick) {
return false; }
22 static bool custom_hold(
auto& ctx, uint8_t nbClickAndHold,
bool isEndOfHoldEvent, uint32_t holdDuration)
28 static void power_on_sequence(
auto& ctx) {}
29 static void power_off_sequence(
auto& ctx) {}
30 static void read_parameters(
auto& ctx) {}
31 static void write_parameters(
auto& ctx) {}
34 static void user_thread(
auto& ctx) {}
42 static constexpr bool hasBrightCallback =
false;
43 static constexpr bool hasCustomRamp =
false;
44 static constexpr bool hasButtonCustomUI =
false;
45 static constexpr bool hasSystemCallbacks =
false;
46 static constexpr bool requireUserThread =
false;
Definition: my_custom_mode.hpp:38
Definition: my_custom_mode.hpp:5
Parent object for all custom user modes.
Definition: mode_type.hpp:53