switched pause play mode with scoll

Signed-off-by: Ebbe Baß <ebbe@ping-mee.de>
master
Ebbe Baß 2022-05-03 19:24:20 +02:00
parent 398fdd4638
commit f401ccff6e
1 changed files with 4 additions and 2 deletions

View File

@ -75,9 +75,10 @@ while True:
if mode == 0: if mode == 0:
mute_volumen() mute_volumen()
elif mode == 1: elif mode == 1:
play_pause()
middle_mouse_button() middle_mouse_button()
elif mode == 2: elif mode == 2:
play_pause() middle_mouse_button()
else: else:
mode = 0 mode = 0
mute_volumen() mute_volumen()
@ -88,10 +89,11 @@ while True:
mute_volumen() mute_volumen()
mode += 1 mode += 1
elif mode == 1: elif mode == 1:
play_pause()
middle_mouse_button() middle_mouse_button()
mode += 1 mode += 1
elif mode == 2: elif mode == 2:
play_pause() middle_mouse_button()
mode += 1 mode += 1
else: else:
mode = 0 mode = 0