From b4af51afc4b386b9180defd978118828fc80a9e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ebbe=20Ba=C3=9F?= Date: Tue, 3 May 2022 19:48:02 +0200 Subject: [PATCH] changed spin direction for volumen control and skip track MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ebbe Baß --- code.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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: