This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| input_functions [2017/04/15 15:24] – korshun | input_functions [2017/07/09 12:47] (current) – korshun | ||
|---|---|---|---|
| Line 12: | Line 12: | ||
| ^ pressed|[[functions: | ^ pressed|[[functions: | ||
| ^ released|[[functions: | ^ released|[[functions: | ||
| + | ^ toggled|[[functions: | ||
| ===== Introduction ===== | ===== Introduction ===== | ||
| Line 17: | Line 18: | ||
| Each key can be | Each key can be | ||
| * **Up** or **down** at any moment. | * **Up** or **down** at any moment. | ||
| - | * **Pressed**, | + | * **Pressed**, |
| - | * **Released**, | + | * **Released**, |
| + | * **Toggled**, | ||
| Pressed and released states are especially useful for menus as they allow the user to perform the action as many times as the key was pressed. | Pressed and released states are especially useful for menus as they allow the user to perform the action as many times as the key was pressed. | ||