Hi there,
I am using the Gestures library from mikaelho (github)
I am trying to get the gesture recogizer to work to simulate turning a dial, but i can't seem to figure out how.
You can see my attempts including commented:
def tempo_knob(gest_data):
#print(dir(gest_data))
print(gest_data.recognizer)
#print(gest_data.rotation)
print('yeeep')
# [Gestures.UP, Gestures.DOWN, Gestures.LEFT, Gestures.RIGHT]
Gestures().add_swipe(knob1, tempo_knob, )
g = Gestures()
#g.recognize_simultaneously = lambda gr, other_gr: gr == Gestures.SWIPE and other_gr == Gestures.ROTATE
#g.add_swipe(knob1, tempo_knob, [Gestures.UP, Gestures.DOWN, Gestures.LEFT, Gestures.RIGHT])
Can anyone help how I may:
Capture both swiping in any direction (and knowing what direction it was swiped), as well as rotating.
I was able to get rotation when it was only g.add_rotate()
Any help would be greatly appreciated