summaryrefslogtreecommitdiffstats
path: root/core/input_map.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Added some obvious errors explanationsqarmin2019-09-251-10/+10
|
* Replace 'ERR_EXPLAIN' with 'ERR_FAIL_*_MSG' in 'core/' and 'editor/'Braden Bodily2019-08-171-4/+1
| | | | | | | | | Condensed some if and ERR statements. Added dots to end of error messages Couldn't figure out EXPLAINC. These files gave me trouble: core/error_macros.h, core/io/file_access_buffered_fa.h (where is it?), core/os/memory.cpp, drivers/png/png_driver_common.cpp, drivers/xaudio2/audio_driver_xaudio2.cpp (where is it?)
* Changed some code showed in LGTM and Coverageqarmin2019-07-201-1/+1
|
* Some code changed with Clang-Tidyqarmin2019-06-261-1/+1
|
* Add configurable strength value to InputEventActionGilles Roudiere2019-06-021-1/+1
|
* Update copyright statements to 2019Rémi Verschelde2019-01-011-2/+2
| | | | Happy new year to the wonderful Godot community!
* Merge pull request #21954 from isaacremnant/fix_inputsRémi Verschelde2018-09-141-0/+4
|\ | | | | Fix is_action_pressed for InputEventActions
| * Fix is_action_pressed for InputEventAction.isaacremnant2018-09-101-0/+4
| |
* | Make core/ includes absolute, remove subfolders from include pathRémi Verschelde2018-09-121-2/+2
|/ | | | | | This allows more consistency in the manner we include core headers, where previously there would be a mix of absolute, relative and include path-dependent includes.
* Fix arg name in docs, some copy-paste errorsPoommetee Ketson2018-08-211-1/+1
|
* Added method to clear input events of an actionAndreaCatania2018-05-031-0/+8
|
* Fixing input strength and the impossibility to erase action eventsgroud2018-04-251-1/+1
|
* Allow actions to provide an analog valueGilles Roudiere2018-04-161-21/+46
|
* Allows to map an action to all devices.Nibodhika2018-04-071-4/+6
| | | | | | | | 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
* Add two new default actions ui_end, ui_homeFabio Alessandrelli2018-02-231-0/+10
| | | | Used by Slider and Scrollbar
* Add missing copyright headers and fix formattingRémi Verschelde2018-01-051-0/+1
| | | | | | 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.
* Update copyright statements to 2018Rémi Verschelde2018-01-011-2/+2
| | | | Happy new year to the wonderful Godot community!
* Use HTTPS URL for Godot's website in the headersRémi Verschelde2017-08-271-1/+1
|
* Removes type information from method bindsIgnacio Etcheverry2017-08-101-4/+4
|
* Rename KEY_RETURN to KEY_ENTER and KEY_ENTER to KEY_KP_ENTERBojidar Marinov2017-08-061-2/+2
| | | | Closes #7695
* Style: Apply clang-format on all filesRémi Verschelde2017-07-301-1/+1
| | | | Thus fixing some invalid changes that had still made it to the master branch.
* -Renamed GlobalConfig to ProjectSettings, makes more sense.Juan Linietsky2017-07-191-3/+3
| | | | -Added system for feature overrides, it's pretty cool :)
* Merge pull request #9703 from Noshyaar/docsRémi Verschelde2017-07-191-4/+4
|\ | | | | Add object type hint for docs
| * Add object type hint for docsPoommetee Ketson2017-07-191-4/+4
| |
* | Fix errors with global config names no more sorrys pleasegeequlim2017-07-191-1/+1
|/
* Removal of InputEvent as built-in Variant type..Juan Linietsky2017-05-201-86/+52
| | | | this might cause bugs I haven't found yet..
* Add "Godot Engine contributors" copyright lineRémi Verschelde2017-04-081-0/+1
|
* A Whole New World (clang-format edition)Rémi Verschelde2017-03-051-122/+103
| | | | | | | | | | | | | | | | | | | | | | | | 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
* -renamed globals.h to global_config.cpp (this seems to have caused a few ↵Juan Linietsky2017-02-211-1/+1
| | | | | | modified files) -.pck and .zip exporting redone, seems to be working..
* Rename the _MD macro to D_METHODHein-Pieter van Braam2017-02-131-13/+13
| | | | | | This new name also makes its purpose a little clearer This is a step towards fixing #56
* Keyboard Input modifiers do not block actions.Fabio Alessandrelli2017-01-251-3/+9
| | | | | | | | | | 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
* Style: Fix statements ending with ';;'Rémi Verschelde2017-01-161-3/+3
|
* Style: Cleanups, added headers, renamed filesRémi Verschelde2017-01-161-0/+1
| | | | | | | | | Made sure files in core/ and tools/ have a proper Godot license header when written by us. Also renamed aabb.{cpp,h} and object_type_db.{cpp,h} to rect3.{cpp,h} and class_db.{cpp,h} respectively. Also added a proper header to core/io/base64.{c,h} after clarifying the licensing with the original author (public domain).
* Style: Fix whole-line commented codeRémi Verschelde2017-01-141-1/+1
| | | | | They do not play well with clang-format which aligns the `//` part with the rest of the code block, thus producing badly indented commented code.
* renamed joystick to joypad everywhere around source code!Juan Linietsky2017-01-081-2/+2
|
* -Changed most project settings in the engine, so they have major and minor ↵Juan Linietsky2017-01-051-3/+3
| | | | | | | | categories. -Changed SectionedPropertyEditor to support this -Renamed Globals singleton to GlobalConfig, makes more sense. -Changed the logic behind persisten global settings, instead of the persist checkbox, a revert button is now available
* ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to ↵Juan Linietsky2017-01-021-13/+13
| | | | | | | | 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()
* Welcome in 2017, dear changelog reader!Rémi Verschelde2017-01-011-1/+1
| | | | | | | | 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!
* Fix Keyboard Input Hangs when using modifiersFabio Alessandrelli2016-10-191-3/+3
| | | | | | | | 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.
* Fix input action pressed state not changing for quick joystick movements.Andreas Haas2016-09-151-58/+0
| | | | | fixes #6488 Also removes a bunch of dead code related to checking if a joystick axis is pressed.
* -Modified Input and added is_action_just_pressed() as well as ↵Juan Linietsky2016-09-011-0/+4
| | | | is_action_just_released()
* fix ui_* input events in EditorAndreas Haas2016-06-051-24/+24
| | | | | `input/` is the category for these in globals ^^ fixes #5050
* Make Input Actions config not affect the editorJuan Linietsky2016-06-051-0/+62
|
* Added InputMap.get_actions()J08nY2016-06-041-0/+30
| | | | get_actions() lists all actions in the InputMap.
* add sign comparison for joystick axis events in InputMap::_find_eventHinsbart2016-04-221-1/+1
| | | | fixes #4400
* remove trailing whitespaceHubert Jarosz2016-03-091-1/+1
|
* fix InputMap::action_erase_event()hondres2016-03-071-4/+1
| | | | fixes #3976
* -make signals throw an error when target method is not found, fixes #2036Juan Linietsky2016-01-041-1/+1
| | | | | -removed 4 arguments limit for emit_signal() from script -remvoed 4 arguments limit for call_deferred() from script
* proper joy axis support as actions, can be configured and inquired, fixes #2317Juan Linietsky2016-01-021-0/+58
|
* Update copyright to 2016 in headersGeorge Marques2016-01-011-1/+1
|