I have trouble using keyboard input (like arrow keys) to control a slider GUI in App Designer. For example, when pressing the left arrow key, the slider cursor move to left and pressing the right arrow the slider cursor move to right. I'm trying to use switch/case but totally have no idea what need to be written under each 'case'. Please help! Thank you so much!
Below is the codes I grabbed from "code view" window in App Designer.
% Value changing function: Slider
function SliderValueChanging(app, event)
changingValue = event.Value;
% Key press function: UIFigure
function UIFigureKeyPress(app, event)
case 'left arrow key'
case 'right arrow key'