balthazarneveu / interactive_pipe

create interactive image processing pipeline with friendly sliders
The Unlicense
5 stars 1 forks source link

keyboard controllers #4

Closed balthazarneveu closed 1 year ago

balthazarneveu commented 1 year ago

Tasks

@interactive(
    rotation = Control(ROTATIONS[0], ROTATIONS, name="rotation")
)

can become

@interactive(
    rotation = KeyboardSlider(ROTATIONS[0], ROTATIONS, name="rotation", keydown="-", keyup="+", modulo=True)
)

:gift: added the QT info box to view shortcuts information. Keyboard sliders appear here