From f401ccff6e1544547cf5da2d635b336d6bae3525 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ebbe=20Ba=C3=9F?= Date: Tue, 3 May 2022 19:24:20 +0200 Subject: [PATCH] switched pause play mode with scoll MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ebbe Baß --- code.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/code.py b/code.py index b7fe888..52f9448 100644 --- a/code.py +++ b/code.py @@ -75,9 +75,10 @@ while True: if mode == 0: mute_volumen() elif mode == 1: + play_pause() middle_mouse_button() elif mode == 2: - play_pause() + middle_mouse_button() else: mode = 0 mute_volumen() @@ -88,10 +89,11 @@ while True: mute_volumen() mode += 1 elif mode == 1: + play_pause() middle_mouse_button() mode += 1 elif mode == 2: - play_pause() + middle_mouse_button() mode += 1 else: mode = 0