add get_binding_text() for script api

This commit is contained in:
Sergwest585
2024-10-20 01:22:49 +03:00
parent 9628068faf
commit 67f7006ad0
3 changed files with 27 additions and 0 deletions
+6
View File
@@ -58,6 +58,12 @@ input.get_bindings() -> массив строк
Возвращает названия всех доступных привязок.
```python
input.get_binding_text(bindname: str) -> str
```
Возвращает текстовое представление кнопки по имени привязки.
```python
input.is_active(bindname: str) -> bool
```