update doc/*/scripting/user-input.md

This commit is contained in:
MihailRis
2024-11-02 13:15:17 +03:00
parent 47c6c98b4a
commit 839211a310
5 changed files with 23 additions and 4 deletions
+12
View File
@@ -66,6 +66,18 @@ input.get_binding_text(bindname: str) -> str
Returns text representation of button by binding name.
```python
input.is_active(bindname: str) -> bool
```
Checks if the binding is active.
```python
input.set_enabled(bindname: str, flag: bool)
```
Enables/disables binding until leaving the world.
```python
input.is_pressed(code: str) -> bool
```