Unsinnigen Kommentar entfernt

This commit is contained in:
Zoredh 2020-01-09 02:43:46 +01:00
parent 6ff270e7c0
commit aa7a1a4dd1

View file

@ -35,7 +35,6 @@ def proc_event(event,midi_out):
elif event.type == JOYAXISMOTION: elif event.type == JOYAXISMOTION:
#print("axis %d value %0.3f" % (event.axis, event.value)) #print("axis %d value %0.3f" % (event.axis, event.value))
try: try:
# Bei analogen Joysticks erst ab einem Fuenftel reagieren
if abs(event.value) > 0: if abs(event.value) > 0:
VELOCITY = int(abs(event.value) * 127) VELOCITY = int(abs(event.value) * 127)
#VELOCITY = 100 #VELOCITY = 100