Commit Graph

32 Commits

Author SHA1 Message Date
Dmitry Rekman
f455b7c9ec Linux: several keyboard input improvements.
- No longer assumes a US-QWERTY layout (uses SDL equivalent of Windows VK_ values, not raw keyboard scancodes)
- Fixes various keys not working for odd reasons (we lost bits downcasting from uint32 to uint16, causing key values to change or overlap other keys).

(Fixes UE-11582 and UE-14143 and probably others.)

Misc:
- Reverted to using WarpMouseInWindow due to reports that Global is not always reliable.
- Added a workaround for relative mouse movement being wrong in some cases.

#platformnotify Josh.Adams
#codereview Ryan.Gordon, Josh.Adams, Marc.Audy

[CL 2625112 by Dmitry Rekman in Main branch]
2015-07-17 18:52:48 -04:00
Marc Audy
8f37568344 You can now bind the Any key
Input Action and Key events now return the key generating the event

[CL 2622350 by Marc Audy in Main branch]
2015-07-15 16:30:39 -04:00
Marc Audy
ba98923120 Expose MouseWheelAxis to give proper axis access to mouse wheel
Generalize special case handling for axes that don't push values every frame

[CL 2612881 by Marc Audy in Main branch]
2015-07-07 16:55:41 -04:00
Nick Whiting
9938dabb9d #motioncontroller Added generic motion controller key abstraction, updated SteamVRController to use new abstraction, as well as fixing issues with d-pad pressing
#codereview Marc.Audy, Mike.Fricker
#platformnotify josh.adams

[CL 2611879 by Nick Whiting in Main branch]
2015-07-06 19:45:54 -04:00
Marc Audy
cb66590f93 Avoid static initialization issues
#platformnotify Josh.Adams

[CL 2611600 by Marc Audy in Main branch]
2015-07-06 16:41:49 -04:00
Marc Audy
5a3be78579 Remove EControllerButtons
#platformnotify Josh.Adams

[CL 2609636 by Marc Audy in Main branch]
2015-07-02 16:06:48 -04:00
Marc Audy
01cddeab44 Fix XBoxOne compile error
[CL 2541454 by Marc Audy in Main branch]
2015-05-07 15:14:30 -04:00
Dmitry Rekman
91725743ba Fix warnings (initialization order issues).
#codereview Marc.Audy, Eric.Newman

[CL 2540232 by Dmitry Rekman in Main branch]
2015-05-06 18:57:14 -04:00
Marc Audy
96c57010be Remove unsupported gestures from EKeys
Made keys that are not blueprint bindable not selectable via the key selector dropdowns
Made supported gesture keys blueprint bindable
Added mechanism to organize keys in to more categories than just gamepad, keyboard, and mouse
Moved motion, gesture, android, steam, and xbox one keys in to their own menu categories

[CL 2539546 by Marc Audy in Main branch]
2015-05-06 13:57:18 -04:00
JJ Hoesing
2a716ef696 - Exposed Steam controller buttons to blueprint, input mapping, etc.
#codereview Marc.Audy

[CL 2534816 by JJ Hoesing in Main branch]
2015-05-02 04:29:27 -04:00
James Golding
87a8bc0ab1 UE-8738 Use full words for keys that are hard to read in UI
#codereview marc.audy

[CL 2518963 by James Golding in Main branch]
2015-04-21 05:44:29 -04:00
Chris Babcock
2e3ef723cd PR #967: Added support for Android menu and volume keys (Contributed by gatools)
#ue4
#android
#codereview Robert.Jones

[CL 2493857 by Chris Babcock in Main branch]
2015-03-27 11:06:40 -04:00
Richard Hinckley
dddc3b0127 [MERGE] Fixing GUBP documentation warnings.
[CL 2471426 by Richard Hinckley in Main branch]
2015-03-06 13:53:53 -05:00
Ben Marsh
d05a383d46 Fixes for Doxygen warnings.
[CL 2415280 by Ben Marsh in Main branch]
2015-01-22 09:24:44 -05:00
Ben Marsh
149375b14b Update copyright notices to 2015.
[CL 2379638 by Ben Marsh in Main branch]
2014-12-07 19:09:38 -05:00
Marc Audy
3028589a49 Tweak the display names of the gamepad key mappings
[CL 2356342 by Marc Audy in Main branch]
2014-11-11 16:28:44 -05:00
Marc Audy
8997ffab51 Fix CIS issues by having extended characters directly in string
Don't use LOCTEXT for key names that are static across languages

[CL 2340006 by Marc Audy in Main branch]
2014-10-24 12:56:09 -04:00
Marc Audy
6a0ee813d1 Support AZERTY keys in FKey system
NOTE: Existing bindings to EKeys::Underscore and EKeys::Quote will no longer work and need to be switched to Hyphen and Apostrophe respectively.  Underscore and Quote now map to the actual keys in their name for binding on AZERTY (and any other keys where they are the unshifted value).

[CL 2339913 by Marc Audy in Main branch]
2014-10-24 11:30:45 -04:00
Marc Audy
4a00c581ab Make FKeyDetails DisplayName an Attribute
[CL 2334741 by Marc Audy in Main branch]
2014-10-20 14:39:20 -04:00
Jaroslaw Palczynski
7c41927cf4 Rename FPostConstructInitializeProperties to something simpler
Changed it with FObjectInitializer.

UECORE-7

[CL 2328384 by Jaroslaw Palczynski in Main branch]
2014-10-14 10:29:11 -04:00
Mike Beach
66b56f0dfd Making it so the blueprint favoriting system works with the new menu system.
[CL 2301204 by Mike Beach in Main branch]
2014-09-17 13:01:38 -04:00
Robert Jones
229955303b #ttp 338022 TappyChicken: Android: Add back button
Added 'Android Back' for specific back button support in Android.
Tested via adding a temp node to Tappy Chicken to make sure it works as expected; which it does.

[CL 2191729 by Robert Jones in Main branch]
2014-07-11 10:29:51 -04:00
Marc Audy
8d931d1bb7 Allow OEM keys to be used as FKey
[CL 2096125 by Marc Audy in Main branch]
2014-06-05 16:42:03 -04:00
Marc Audy
709a7e8753 Fixed formatting for label
[CL 2072991 by Marc Audy in Main branch]
2014-05-14 14:50:09 -04:00
Marc Audy
f7f8eb650b Make PS4 labels correct for shoulder and trigger buttons when using experimental gamepad labelling.
[CL 2070619 by Marc Audy in Main branch]
2014-05-12 14:45:14 -04:00