Loading...
Searching...
No Matches
setting_values.h File Reference

Named values for the multi-choice settings. More...

Go to the source code of this file.

Enumerations

enum  TimeFormat {
  TIME_FORMAT_SYSTEM = 0 , TIME_FORMAT_12H = 1 , TIME_FORMAT_24H = 2 , TIME_FORMAT_BEATS = 3 ,
  TIME_FORMAT_12H_NO_LEAD = 4 , TIME_FORMAT_COUNT
}
 SETTING_TIME_FORMAT choices. More...
enum  StepsMode { STEPS_MODE_STEPS = 0 , STEPS_MODE_MILES = 1 , STEPS_MODE_KM = 2 , STEPS_MODE_COUNT }
 SETTING_STEPS_MODE choices. More...
enum  DistanceUnit { DISTANCE_UNIT_KM = 0 , DISTANCE_UNIT_MILES = 1 , DISTANCE_UNIT_COUNT }
 SETTING_DISTANCE_UNIT choices. The standalone Distance panel picks its own unit separate from the Steps panel's STEPS_MODE. More...
enum  VibeChoice {
  VIBE_NONE = 0 , VIBE_SHORT = 1 , VIBE_LONG = 2 , VIBE_DOUBLE = 3 ,
  VIBE_COUNT
}
 Bluetooth connect/disconnect vibe pattern choices. More...
enum  BatteryDisplay { BATTERY_DISPLAY_BOTH = 0 , BATTERY_DISPLAY_ICON = 1 , BATTERY_DISPLAY_PERCENT = 2 , BATTERY_DISPLAY_COUNT }
 SETTING_BATTERY_DISPLAY choices: what the battery readout shows. More...

Detailed Description

Named values for the multi-choice settings.

The wire format and Clay config encode these as bare integers. C branches read them by name instead. The order mirrors each setting's config.js option list, and the trailing *_COUNT marker feeds the schema's enum_count so the limit can't drift from the values.