2019-03-14 08:46 AM
I'm new to C++ and I've been reading about the buttoncontroller and keysampler but how do I move on element in the scroll list up or down upon a button pressed event?
2019-03-14 10:16 AM
You can use the animateToItem method defined in ScrollBase to manually move to a given item in your list.
virtual void animateToItem(int16_t itemIndex, int16_t animationSteps = -1);
So you can keep track of your current item index and increment/decrement it with your button presses.