mirror of
https://github.com/onyx-and-iris/nvda-addon-voicemeeter.git
synced 2026-04-18 09:03:30 +00:00
script_karaoke should read back the karoke mode
bump to 0.6
This commit is contained in:
@@ -79,11 +79,12 @@ class CommandsMixin:
|
||||
ui.message("on" if val else "off")
|
||||
|
||||
def script_karaoke(self, _):
|
||||
opts = ["off", "k m", "k 1", "k 2", "k v"]
|
||||
val = self.controller.ctx.get_int("karaoke") + 1
|
||||
if val == 5:
|
||||
if val == len(opts):
|
||||
val = 0
|
||||
self.controller.ctx.set_int("karaoke", val)
|
||||
ui.message(val)
|
||||
ui.message(opts[val])
|
||||
|
||||
def script_bus_assignment(self, gesture):
|
||||
proposed = int(gesture.displayName[-1])
|
||||
|
||||
Reference in New Issue
Block a user