mirror of
https://github.com/onyx-and-iris/nvda-addon-voicemeeter.git
synced 2025-01-18 04:30:48 +00:00
script_karaoke should read back the karoke mode
bump to 0.6
This commit is contained in:
parent
e14ea5f23c
commit
26de3d90b9
@ -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])
|
||||
|
@ -28,7 +28,7 @@ addon_info = {
|
||||
The add-on requires Voicemeeter to be installed."""
|
||||
),
|
||||
# version
|
||||
"addon_version": "0.5",
|
||||
"addon_version": "0.6",
|
||||
# Author(s)
|
||||
"addon_author": "onyx-and-iris <code@onyxandiris.online>",
|
||||
# URL for the add-on documentation support
|
||||
|
Loading…
Reference in New Issue
Block a user