diff --git a/code.py b/code.py index 6ae0a68..4ff3129 100644 --- a/code.py +++ b/code.py @@ -31,7 +31,7 @@ previousValue = True #volume controller def control_volumen(pinStatus): - if pinStatus == False: + if pinStatus == True: print('Volumen down') consumer_control.send(ConsumerControlCode.VOLUME_DECREMENT) else: @@ -58,7 +58,7 @@ def middle_mouse_button(): #media control def previous_next_track(pinStatus): - if pinStatus == False: + if pinStatus == True: print('Previous track') consumer_control.send(ConsumerControlCode.SCAN_PREVIOUS_TRACK) else: