aboutsummaryrefslogtreecommitdiff
path: root/include/state_params.i
blob: 854008dcf26103f8ad18e1ea328d2da9ce538365 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// version 1

// List of parameters.
//          type       name         display name,    default value

STATE_PARAM(int32_t,  time,        "Current Time",  0)
STATE_PARAM(ratio_t,       speed,    "Speed",         255)
STATE_PARAM(fraction_t,   brightness,  "Brightness",    50)
STATE_PARAM(uint8_t,   n_snow,      "Snow Effect",   10)
STATE_PARAM(fraction_t,   n_red,       "Desaturation",  32)
STATE_PARAM(ratio_t,       x_scale,     "X Scale",       255)
STATE_PARAM(bool,      power,       "Power",         true)
STATE_PARAM(bool,      cool,        "Cool",          false)
STATE_PARAM(bool,      invert,      "Invert",        false)
STATE_PARAM(bool,   use_static_color,   "Use Static Color",  false)
STATE_PARAM(color_int_t,   static_color,   "Static Color",  0xffddbb)
STATE_PARAM(bool,      twinkle,     "Twinkle",       true)
STATE_PARAM(fraction_t,   twink_amt,   "Twinkle Amount",  0)
STATE_PARAM(fraction_t,   base_brightness,   "Base Brightness",  0)