Skip to content

User GearsTextIndicator

roosit edited this page Nov 15, 2026 · 1 revision

Gears Text

Back to list | JSON template | Русский

What it does

Shows the current gear: the number of teeth on the front and rear sprockets, their numbers and the gear ratio.

When to use it

  • The source contains gear shifts (FIT with an electronic groupset).
  • You need a caption of the current gear, for example "50x16", on a training video.

Settings

Setting What it does
Gears Chooses the sensor the value is taken from.
Font Changes the font name, style (plain, bold, italic), size and color of the text.
Text Alignment Defines which of the nine places in the layer the text is in: top, center or bottom, and left, center or right. By default the text is centered.
Text Template Sets the string the values are substituted into.

Text template variables

The template builds a string from the current values.

Variable Default format What it shows
{front} %d The front sprocket (gear) number, as reported by the device.
{rear} %d The rear sprocket (gear) number, as reported by the device.
{frontTeeth} %d The number of teeth on the front sprocket.
{rearTeeth} %d The number of teeth on the rear sprocket.
{ratio} %.2f The gear ratio: the front sprocket teeth divided by the rear sprocket teeth (0 if there are no rear teeth).

The default template is {frontTeeth}x{rearTeeth}.

The "Compact" skin replaces the template with {front}-{rear}.

Tips

  • Gear data exists only for electronic groupsets: the device records shift events.
  • To show the numbers instead of the teeth, use {front} and {rear} or the "Compact" skin.
  • During a pause and outside the recording the indicator is empty.

Clone this wiki locally