|
rcbench
Servo and ESC test bench: panel, IOmcu and shared C
|
Data Fields | |
| gfx_rect_t | track |
| gfx_rect_t | presets [UI_SLIDER_MAX_PRESETS] |
| float | preset_value [UI_SLIDER_MAX_PRESETS] |
| const char * | preset_label [UI_SLIDER_MAX_PRESETS] |
| int | preset_count |
| int | ticks |
| float | min |
| float | max |
| float | step |
| float | value |
| gfx_color_t | color |
| bool | tap_to_set |
| bool | dim |
| bool | dragging |
| uint8_t | drag_id |
| int16_t | drag_x |
| float | drag_value |
| int | pressed_preset |
| uint8_t | preset_id |
| float ui_slider_t::drag_value |
and the value it went down on
| int16_t ui_slider_t::drag_x |
where the finger went down
| int ui_slider_t::pressed_preset |
index, or -1
| int ui_slider_t::ticks |
scale divisions on the track, 0 for none