Added keystrokes: alt left/right for playing the previous/next track
This commit is contained in:
parent
d72b63ad89
commit
834b1d2dd7
@ -74,6 +74,10 @@ class Controller(object):
|
||||
return self.on_volume_up()
|
||||
elif ev.GetKeyCode() == wx.WXK_DOWN and ev.ControlDown():
|
||||
return self.on_volume_down()
|
||||
elif ev.GetKeyCode() == wx.WXK_LEFT and ev.AltDown():
|
||||
return self.on_previous()
|
||||
elif ev.GetKeyCode() == wx.WXK_RIGHT and ev.AltDown():
|
||||
return self.on_next()
|
||||
ev.Skip()
|
||||
|
||||
def on_play_pause(self, *args, **kwargs):
|
||||
|
Loading…
Reference in New Issue
Block a user