mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-07 12:01:50 +00:00
add get_binding_text() for script api
This commit is contained in:
parent
9628068faf
commit
67f7006ad0
3 changed files with 27 additions and 0 deletions
|
|
@ -58,6 +58,12 @@ input.get_bindings() -> массив строк
|
|||
|
||||
Возвращает названия всех доступных привязок.
|
||||
|
||||
```python
|
||||
input.get_binding_text(bindname: str) -> str
|
||||
```
|
||||
|
||||
Возвращает текстовое представление кнопки по имени привязки.
|
||||
|
||||
```python
|
||||
input.is_active(bindname: str) -> bool
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue