add get_binding_text() for script api
This commit is contained in:
@@ -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
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user