mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-07 20:11: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
|
|
@ -60,6 +60,12 @@ input.get_bindings() -> strings array
|
|||
|
||||
Returns all binding names.
|
||||
|
||||
```python
|
||||
input.get_binding_text(bindname: str) -> str
|
||||
```
|
||||
|
||||
Returns text representation of button by binding name.
|
||||
|
||||
```python
|
||||
input.is_pressed(code: str) -> bool
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue