mirror of
https://github.com/onyx-and-iris/nvda-voicemeeter.git
synced 2024-11-22 18:00:50 +00:00
define space bind event for bus buttons
This commit is contained in:
parent
23458debaa
commit
cc99b14e89
@ -1021,8 +1021,8 @@ class NVDAVMWindow(psg.Window):
|
|||||||
if param == "MODE":
|
if param == "MODE":
|
||||||
self.nvda.speak(f"{label} bus {param} {util._bus_mode_map[val]}")
|
self.nvda.speak(f"{label} bus {param} {util._bus_mode_map[val]}")
|
||||||
else:
|
else:
|
||||||
self.nvda.speak(f"{label} bus{param} {'on' if val else 'off'}")
|
self.nvda.speak(f"{label} {param} {'on' if val else 'off'}")
|
||||||
case [["BUS", index], [param], ["KEY", "ENTER"]]:
|
case [["BUS", index], [param], ["KEY", "SPACE" | "ENTER"]]:
|
||||||
if param == "MODE":
|
if param == "MODE":
|
||||||
util.open_context_menu_for_buttonmenu(self, f"BUS {index}||MODE")
|
util.open_context_menu_for_buttonmenu(self, f"BUS {index}||MODE")
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user