diff --git a/src/nvda_voicemeeter/builder.py b/src/nvda_voicemeeter/builder.py index 0727db1..959c41d 100644 --- a/src/nvda_voicemeeter/builder.py +++ b/src/nvda_voicemeeter/builder.py @@ -296,7 +296,7 @@ class Builder: for j in range(self.kind.phys_out + self.kind.virt_out) ] ) - if i == self.kind.phys_in + self.kind.virt_in - 2: + if i == self.kind.phys_in + 1: layout.append( [ psg.Button("K", size=(6, 2), key=f"STRIP {i}||MONO"), diff --git a/src/nvda_voicemeeter/window.py b/src/nvda_voicemeeter/window.py index bdd29c4..8a41127 100644 --- a/src/nvda_voicemeeter/window.py +++ b/src/nvda_voicemeeter/window.py @@ -506,7 +506,7 @@ class NVDAVMWindow(psg.Window): case "MONO": if int(index) < self.kind.phys_in: actual = param.lower() - elif int(index) == self.kind.phys_in + self.kind.virt_in - 2: + elif int(index) == self.kind.phys_in + 1: actual = "k" else: actual = "mc" @@ -536,7 +536,7 @@ class NVDAVMWindow(psg.Window): case "MONO": if int(index) < self.kind.phys_in: actual = param.lower() - elif int(index) == self.kind.phys_in + self.kind.virt_in - 2: + elif int(index) == self.kind.phys_in + 1: actual = "k" else: actual = "mc"