aboutsummaryrefslogtreecommitdiff
path: root/main/input_default.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* | 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.
* | rename Input.get_mouse_speed() to Input.get_last_mouse_speed()Juan Linietsky2017-01-131-1/+1
| |
* | Created new Engine singleton, and moved engine related OS functions to it.Juan Linietsky2017-01-131-12/+12
|/
* More fixes to Joypad renaming.Andreas Haas2017-01-081-6/+6
| | | | | | Windows did not compile anymore because DI8DEVTYPE_JOYPAD obviously isn't defined in the directx headers ^^ I also did the same renaming as in #7473 for the windows platform and reverted the changes in the gamepad mappings.
* renamed joystick to joypad everywhere around source code!Juan Linietsky2017-01-081-20/+20
|
* 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!
* Merge pull request #6862 from Faless/fix_6388Rémi Verschelde2016-11-111-7/+7
|\ | | | | Fix Keyboard Input Hangs when using modifiers
| * Fix Keyboard Input Hangs when using modifiersFabio Alessandrelli2016-10-191-7/+7
| | | | | | | | | | | | | | | | 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.
* | Rename remaining WinRT references to UWPGeorge Marques2016-11-031-1/+1
| |
* | Rename WINRT_ENABLED to UWP_ENABLEDGeorge Marques2016-11-031-1/+1
|/
* Allow whitespace in Gamepad mappings.Andreas Haas2016-10-151-2/+2
| | | | | | | | Previously, mappings that contained whitespace (most likely after a comma seperator) would not parse correctly. Consider the following mapping as an example: "_test_guid_, test controller, a:b0, b:b1, leftx:a0 ,"
* Merge pull request #6568 from Hinsbart/joy_namesRémi Verschelde2016-09-261-0/+58
|\ | | | | Add functions to get readable names for joystick events
| * Add function to get readable names for joystick eventsAndreas Haas2016-09-201-0/+58
| | | | | | | | Closes #6476
* | Fix input action pressed state not changing for quick joystick movements.Andreas Haas2016-09-151-0/+7
|/ | | | | fixes #6488 Also removes a bunch of dead code related to checking if a joystick axis is pressed.
* Merge pull request #6363 from vnen/winrtJuan Linietsky2016-09-101-0/+4
|\ | | | | Fix the support for WinRT/UWP
| * Implement missing WinRT functionsGeorge Marques2016-09-031-0/+4
| | | | | | | | | | | | | | | | - Fix buildsystem for WinRT/UWP platform. - Add audio driver and joystick mapping for WinRT. - Enable thread class for WinRT. - Refactor MSVC compiler architecture detection to methods.py, so it can be used by Windows and WinRT.
* | Merge pull request #6442 from RandomShaper/fix-action-releaseGeorge Marques2016-09-101-1/+1
|\ \ | | | | | | Fix Input.action_release() marking action as pressed
| * | Fix Input.action_release() marking action as pressedPedro J. Estébanez2016-09-101-1/+1
| | |
* | | x11: fix x360 wireless gamepad mapping.Andreas Haas2016-09-081-1/+1
|/ / | | | | | | | | Uses hat values instead of buttons for the dpad now. Fixes #6419
* | Update gamepad mappings from community db.Andreas Haas2016-09-021-1/+28
| |
* | -Modified Input and added is_action_just_pressed() as well as ↵Juan Linietsky2016-09-011-18/+69
|/ | | | is_action_just_released()
* Fix crash when trying to access the guid of an unavailable Gamepad.Andreas Haas2016-08-281-0/+1
| | | | Throws an error now.
* Fix steam controller gamepad mappingAndreas Haas2016-08-051-1/+1
| | | | The left stick click was missing
* Add gamepad mapping for the steam controller userspace driver.Andreas Haas2016-07-261-0/+1
|
* Added gyroscope support to Godot and AndroidJamil Halabi2016-07-161-0/+14
|
* Merge pull request #5559 from Hinsbart/connected_joystickspunto-2016-07-101-3/+15
|\ | | | | Input: add get_connected_joysticks() method.
| * Input: add get_connected_joysticks() method.Andreas Haas2016-07-051-3/+15
| | | | | | | | fixes #5465
* | Can use AtlasTextures as custom mouse cursor.Andreas Haas2016-07-031-1/+4
|/ | | | fixes #3957
* Fix the joystick vibration timestampWilhem Barbier2016-06-201-1/+1
|
* Merge pull request #5225 from Hinsbart/x_rumbleRémi Verschelde2016-06-191-1/+1
|\ | | | | Windows: Support gamepad vibration using XInput.
| * Windows: Support gamepad vibration using XInput.Andreas Haas2016-06-151-1/+1
| |
* | Add missing license headers in our source files (#5255)Rémi Verschelde2016-06-181-0/+28
|/ | | Also removes a couple wrong Godot headers from third-party source files.
* Add joystick vibration support on Linux (#5043)Wilhem Barbier2016-06-151-0/+47
|
* Update gamepad mappings.Andreas Haas2016-06-141-0/+18
| | | | Merge mappings from https://github.com/gabomdq/SDL_GameControllerDB
* Add magnetometer sensor support for Androidfluffrabbit2016-05-271-0/+14
|
* Fix ds3 gamepad mappingHinsbart2016-05-041-0/+1
|
* use joystick name from mapping-db if availablehinsbart2016-02-291-0/+2
|
* OUYA gamepad mappings fixKrzysztof Jankowski2016-02-251-0/+1
| | | Fix gamepad mappings for OUYA revision 4
* added more Android gamepad mappingsDana Olson2016-02-241-2/+5
|
* added a couple more Linux mappings, tweaked Ouya Linux mappingDana Olson2016-02-231-2/+6
|
* fix is_joy_mapped return valuehondres2016-02-161-1/+2
|
* fix joystick axis handling for Input.is_action_pressed()hondres2016-02-151-0/+12
|
* x11: analog triggers for ps4 gamepadhondres2016-02-141-1/+1
|
* Merge pull request #3428 from Hinsbart/android-gamepadpunto-2016-02-081-3/+16
|\ | | | | support gamepad remapping on android
| * use fallback mapping from listHondres2016-01-271-17/+13
| |
| * can use fallback mapping on all platformshondres2016-01-241-14/+17
| |
| * support gamepad remapping on androidhondres2016-01-241-0/+14
| |
* | added more gamepad mappingsDana Olson2016-02-011-76/+89
| |
* | clear joystick state on disconnectionhondres2016-01-261-1/+11
|/
* add mappings and increase max number of buttonshondres2016-01-221-3/+6
|