summaryrefslogtreecommitdiff
path: root/core/input_map.h
AgeCommit message (Collapse)Author
2018-04-16Allow actions to provide an analog valueGilles Roudiere
2018-04-07Allows to map an action to all devices.Nibodhika
This is accomplished by setting a special value (-1) to the device variable in the InputEvent that's being used to compare with the one received from the OS. This special value is invalid for a regular input, so it should be safe. Implements #17942
2018-01-05Add missing copyright headers and fix formattingRémi Verschelde
Using `misc/scripts/fix_headers.py` on all Godot files. Some missing header guards were added, and the header inclusion order was fixed in the Bullet module.
2018-01-01Update copyright statements to 2018Rémi Verschelde
Happy new year to the wonderful Godot community!
2017-08-27Use HTTPS URL for Godot's website in the headersRémi Verschelde
2017-05-20Removal of InputEvent as built-in Variant type..Juan Linietsky
this might cause bugs I haven't found yet..
2017-04-08Add "Godot Engine contributors" copyright lineRémi Verschelde
2017-03-05A Whole New World (clang-format edition)Rémi Verschelde
I can show you the code Pretty, with proper whitespace Tell me, coder, now when did You last write readable code? I can open your eyes Make you see your bad indent Force you to respect the style The core devs agreed upon A whole new world A new fantastic code format A de facto standard With some sugar Enforced with clang-format A whole new world A dazzling style we all dreamed of And when we read it through It's crystal clear That now we're in a whole new world of code
2017-01-25Keyboard Input modifiers do not block actions.Fabio Alessandrelli
This means, if you press "F" while holding "shift" and there is and action registered for "F" that action should be pressed. This commit restore this behaviour, lost when implementing is_action_just_pressed. If you want "blocking modifiers" you should code it via script. Fixes 6826
2017-01-02ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to ↵Juan Linietsky
Variant. All usages of "type" to refer to classes were renamed to "class" ClassDB has been exposed to GDScript. OBJ_TYPE() macro is now GDCLASS()
2017-01-01Welcome in 2017, dear changelog reader!Rémi Verschelde
That year should bring the long-awaited OpenGL ES 3.0 compatible renderer with state-of-the-art rendering techniques tuned to work as low as middle end handheld devices - without compromising with the possibilities given for higher end desktop games of course. Great times ahead for the Godot community and the gamers that will play our games!
2016-10-19Fix Keyboard Input Hangs when using modifiersFabio Alessandrelli
Main input parsing loop only update actions for keyboard if the state has changed. `InputMap::event_is_action` now ignores keyboard modifiers if the event is not pressed. Clarify difference between `InputMap::action_has_event` and `InputMap::event_is_action` in docs. Fixes #6388.
2016-09-15Fix input action pressed state not changing for quick joystick movements.Andreas Haas
fixes #6488 Also removes a bunch of dead code related to checking if a joystick axis is pressed.
2016-09-01-Modified Input and added is_action_just_pressed() as well as ↵Juan Linietsky
is_action_just_released()
2016-06-05Make Input Actions config not affect the editorJuan Linietsky
2016-06-04Added InputMap.get_actions()J08nY
get_actions() lists all actions in the InputMap.
2016-01-02proper joy axis support as actions, can be configured and inquired, fixes #2317Juan Linietsky
2016-01-01Update copyright to 2016 in headersGeorge Marques
2015-05-18-Rename unexisting by nonexistant, closes #1940Juan Linietsky
-Added function to retrieve list of actions fron InputMap
2015-04-18Updated copyright year in all headersJuan Linietsky
2014-04-23added bindings for InputMapDana Olson
2014-02-09GODOT IS OPEN SOURCEJuan Linietsky