mirror of https://github.com/godotengine/godot
Changed Input.action_press() treatment of strength parameter to match behavior of InputEventAction and documentation, by clamping between 0 and 1. Fixes Input.get_action_strength() returning values over 1 when large values are passed to Input.action_press(). |
||
|---|---|---|
| .. | ||
| SCsub | ||
| default_controller_mappings.h | ||
| gamecontrollerdb.txt | ||
| godotcontrollerdb.txt | ||
| input.cpp | ||
| input.h | ||
| input_builders.py | ||
| input_enums.h | ||
| input_event.cpp | ||
| input_event.h | ||
| input_map.cpp | ||
| input_map.h | ||
| shortcut.cpp | ||
| shortcut.h | ||