ben hoffman
ccece82f78
Use the new "GetOptions" metadata on BP callable functions that take in an FName for a "MappingName". This will make referencing Player Mappable settings in Blueprints much easier!
...
#rb trivial
[CL 27604089 by ben hoffman in ue5-main branch]
2023-09-05 13:51:42 -04:00
charles lefebvre
061b009699
Kismet Compiler: Deprecate SpawnIntermediateEventNode
...
#rnx
#rb dan.oconnor
[CL 27365052 by charles lefebvre in ue5-main branch]
2023-08-24 20:56:35 -04:00
najmm01
47aa9d0a5e
PR #10630 : Added new Input Modifier - Smooth Delta.
...
It provides a normalized smoothed difference between the current and last input value, which options on how the value is calculated for different behavior.
For boolean Input Values, it just returns the boolean as is.
#jira UE-190264
#rb me
[CL 26893500 by najmm01 in ue5-main branch]
2023-08-07 14:33:48 -04:00
robert manuszewski
d3991fec9b
Fixing potential compile errors ahead of enabling TObjectPtr GC barrier
...
#rb trivial
[CL 26868625 by robert manuszewski in ue5-main branch]
2023-08-05 06:09:54 -04:00
ben hoffman
79cd1dad96
Update the label on the asset creation tab to mark Player Mappable Input Config types as deprecated
...
#rb justin.hare
#rnx
[CL 26775325 by ben hoffman in ue5-main branch]
2023-08-02 12:00:36 -04:00
robert manuszewski
cfe46a88ad
TObjectPtr compilation fixes ahead of enabling GC barrier
...
#rb trivial
[FYI] Kirill.Zorin, Johan.Torp, Zousar.Shaker
[CL 26767884 by robert manuszewski in ue5-main branch]
2023-08-02 06:51:30 -04:00
ben hoffman
e2953e1c42
Add the ability to bind lambda expressions to the Enhanced Input component outright. Also mark the delegate handles as protected instead of private so that users can more easily extend upon the Enhanced Input component and add more binding options to it if they want.
...
#jira UE-189964
#rb nate.strohmyer
[CL 26439038 by ben hoffman in ue5-main branch]
2023-07-18 13:15:39 -04:00
ben hoffman
33cd570223
Fix a bad include that was automatically added
...
#rb trivial
#rnx
[CL 26418736 by ben hoffman in ue5-main branch]
2023-07-17 17:42:28 -04:00
j veilleux
0d4d93ef66
Added support for Enhanced Input show debug command to use debug target, fixing issue where show debug menu always only showed input information of first local player in a game instance even if debug target selected others.
...
#review @ben.hoffman
[CL 26409661 by j veilleux in ue5-main branch]
2023-07-17 12:26:35 -04:00
ben hoffman
872cae6afd
Mark the test input action to not show up in a class drop down
...
#rb trivial
#rnx
[CL 26344459 by ben hoffman in ue5-main branch]
2023-06-30 10:54:34 -04:00
ben hoffman
ae29db55de
Add Unit tests for player mappable keys
...
#jira UE-188470
#rb me
#rnx
[CL 26292514 by ben hoffman in ue5-main branch]
2023-06-28 14:17:54 -04:00
ben hoffman
274d0b75cc
Make it just a log instead of a warning when you attempt to set the key profile with a null local player
...
#rb trivial
#rnx
[CL 26289601 by ben hoffman in ue5-main branch]
2023-06-28 12:56:46 -04:00
ben hoffman
b28c638f1e
Make the player mappable key settings object protected instead of private. This will let people make custom UInputAction subclasses that modify it more easily.
...
#rb trivial
#rnx
[CL 26259244 by ben hoffman in ue5-main branch]
2023-06-27 11:43:23 -04:00
ben hoffman
6cff6f0eb8
Update the comments on the Enhanced Action Key Mapping and the Input Action asset to be very explict about the order of which modifiers are applied.
...
#jira UE-178283
#rb trivial
[CL 26243177 by ben hoffman in ue5-main branch]
2023-06-26 16:12:07 -04:00
ben hoffman
ad3821835e
Deprecate UPlayerMappableInputConfig in favor of the new UEnhancedInputUserSettings with 5.3.
...
#jira UE-181937
#rb ben.zeigler
[CL 26214454 by ben hoffman in ue5-main branch]
2023-06-23 14:28:04 -04:00
ben hoffman
e03dbce641
Make the log about only firing the last action in a chord a verbose log instead of a warning. It was a warning for development purposes.
...
#rnx
[CL 26213695 by ben hoffman in ue5-main branch]
2023-06-23 13:44:41 -04:00
logan harvell
88c85786f0
Chord action input trigger and legacy input consumption tweaks:
...
- Fix chord action input triggers to block other input triggers unless triggered
- Enable an input action binding to block legacy input for any specified trigger states, opt-in only
#rb Ben.Hoffman
[CL 26196559 by logan harvell in ue5-main branch]
2023-06-22 18:17:02 -04:00
ben hoffman
7b186a8b55
Make the Enhanced Input user settings interface use const pointers to UInputMappingContext objects to be consistent with the rest of the EI subsystem.
...
Ad a flag to register the IMC with the settings when you add or remove the mapping context.
#rb justin.hare
[CL 26191592 by ben hoffman in ue5-main branch]
2023-06-22 15:46:14 -04:00
ben hoffman
af34b1fc9f
Fix a bug where not all keys would be consumed when an input action was flagged to consume input, only the last key mapping would be
...
#rb trivial
#rnx
[CL 26162887 by ben hoffman in ue5-main branch]
2023-06-21 17:01:35 -04:00
ben hoffman
c39eacbd2c
Allow for the settings delegate to be deferred to the next tick when UnMapping a key, just like it can be with MapPlayerKey
...
#rb trivial
#rnx
[CL 26155510 by ben hoffman in ue5-main branch]
2023-06-21 14:01:11 -04:00
ben hoffman
4491ea75b3
Refactor the UPlayerInput::ProcessInputStack function to separate out the evaluation of the key map fromt he broadcasting of delegates.
...
This will allow us to change the consumption state of Keys or Delegate bindings from subclasses such as Enhanced Input, which means that we can mark Input Actions to explictly block any legacy key mappings, gameplay debugger keybindings, etc.
#jira UE-188938
#rb benjamin.fox
[CL 26152560 by ben hoffman in ue5-main branch]
2023-06-21 12:19:04 -04:00
ben hoffman
305179e3d7
Add a null check to IMC's on the debug drawing screen. It is possible that if you are not using actual data assets for Enhanced Input and instead are spawning them dynamically at runtime that the IMC could be garabage collected when the debug screen is displayed. Add this check here just in case that happens.
...
#rb trivial
#rnx
[CL 26053490 by ben hoffman in ue5-main branch]
2023-06-16 11:24:17 -04:00
ben hoffman
1d7673ab7e
Remove an invalid "break" in a loop that created an order dependant check for chorded actions being blocked.
...
#jira UE-187065
#rb trivial
#pf 6488bccc3e676502346db71c
[CL 25961337 by ben hoffman in ue5-main branch]
2023-06-13 15:54:07 -04:00
ben hoffman
500e1e7a00
Only draw debug modifiers if we are in the editor. The drawing of these debug textures can cause some bad perf hitching while using the debug command if in a cooked game client, and they would only ever draw in White boxes anyway. There is no point to attempting to draw this outside the editor.
...
#rb trivial
#rnx
[CL 25846924 by ben hoffman in ue5-main branch]
2023-06-07 11:48:10 -04:00
ben hoffman
cf4ee23f0f
Remove a LogTemp
...
#rb trivial
#rnx
[CL 25845071 by ben hoffman in ue5-main branch]
2023-06-07 10:41:01 -04:00