changed spin direction for volumen control and skip track

Signed-off-by: Ebbe Baß <ebbe@ping-mee.de>
master
Ebbe Baß 2022-05-03 19:48:02 +02:00
parent 963494289d
commit b4af51afc4
1 changed files with 2 additions and 2 deletions

View File

@ -31,7 +31,7 @@ previousValue = True
#volume controller #volume controller
def control_volumen(pinStatus): def control_volumen(pinStatus):
if pinStatus == False: if pinStatus == True:
print('Volumen down') print('Volumen down')
consumer_control.send(ConsumerControlCode.VOLUME_DECREMENT) consumer_control.send(ConsumerControlCode.VOLUME_DECREMENT)
else: else:
@ -58,7 +58,7 @@ def middle_mouse_button():
#media control #media control
def previous_next_track(pinStatus): def previous_next_track(pinStatus):
if pinStatus == False: if pinStatus == True:
print('Previous track') print('Previous track')
consumer_control.send(ConsumerControlCode.SCAN_PREVIOUS_TRACK) consumer_control.send(ConsumerControlCode.SCAN_PREVIOUS_TRACK)
else: else: