Compare commits

..

3 Commits

Author SHA1 Message Date
5069db97da ensure Virtual Input gets correct label if cleared 2023-09-10 14:32:31 +01:00
681bf8e85c fixes bug renaming virtual strips.
patch bump
2023-09-10 14:23:34 +01:00
8424558f3d special thanks section added to readme 2023-09-07 07:29:04 +01:00
3 changed files with 16 additions and 5 deletions

View File

@@ -42,7 +42,7 @@ with voicemeeterlib.api(KIND_ID, sync=True) as vm:
window.run() window.run()
``` ```
### `KIND_ID` ### KIND_ID
May be one of the following: May be one of the following:
@@ -84,6 +84,16 @@ The `Save Settings` option opens a popup window with two buttons, `Browse` and `
If you have any questions/suggestions feel free to raise an issue or open a new discussion. If you have any questions/suggestions feel free to raise an issue or open a new discussion.
### Special Thanks
[Mario Loreti](https://www.marioloreti.net/en/) for his help in testing and offering feedback during development.
[NVAccess](https://www.nvaccess.org/) for creating the open source NVDA screen reader and its controller client.
[Vincent Burel](https://github.com/vburel2018) for creating Voicemeeter and its SDK.
[PySimpleGUI](https://github.com/PySimpleGUI) team for creating an awesome GUI framework.
[voicemeeter]: https://voicemeeter.com/ [voicemeeter]: https://voicemeeter.com/
[nvda]: https://www.nvaccess.org/ [nvda]: https://www.nvaccess.org/
[controller_client]: https://github.com/nvaccess/nvda/tree/master/extras/controllerClient [controller_client]: https://github.com/nvaccess/nvda/tree/master/extras/controllerClient

View File

@@ -1,6 +1,6 @@
[project] [project]
name = "nvda_voicemeeter" name = "nvda_voicemeeter"
version = "0.1.2" version = "0.1.3"
description = "A Voicemeeter app compatible with NVDA" description = "A Voicemeeter app compatible with NVDA"
authors = [ authors = [
{ name = "onyx-and-iris", email = "code@onyxandiris.online" }, { name = "onyx-and-iris", email = "code@onyxandiris.online" },

View File

@@ -237,9 +237,9 @@ class NVDAVMWindow(psg.Window):
def popup_rename(self, message, title=None, tab=None): def popup_rename(self, message, title=None, tab=None):
if tab == "Physical Strip": if tab == "Physical Strip":
upper = self.kind.phys_out + 1 upper = self.kind.phys_in + 1
elif tab == "Virtual Strip": elif tab == "Virtual Strip":
upper = self.kind.virt_out + 1 upper = self.kind.virt_in + 1
elif tab == "Buses": elif tab == "Buses":
upper = self.kind.num_bus + 1 upper = self.kind.num_bus + 1
@@ -323,7 +323,8 @@ class NVDAVMWindow(psg.Window):
self[f"STRIP {index}||LABEL"].update(value=label) self[f"STRIP {index}||LABEL"].update(value=label)
self.cache["labels"][f"STRIP {index}||LABEL"] = label self.cache["labels"][f"STRIP {index}||LABEL"] = label
case "Virtual Strip": case "Virtual Strip":
label = data.get("Edit") or f"Virtual Input {index + 1}" index += self.kind.phys_in
label = data.get("Edit") or f"Virtual Input {index - self.kind.phys_in + 1}"
self.vm.strip[index].label = label self.vm.strip[index].label = label
self[f"STRIP {index}||LABEL"].update(value=label) self[f"STRIP {index}||LABEL"].update(value=label)
self.cache["labels"][f"STRIP {index}||LABEL"] = label self.cache["labels"][f"STRIP {index}||LABEL"] = label