Fix input actions/axis lookups to not use StringView
The stored strings might point to temporary strings, causing garbage data to be present in the dictionary at times.
This commit is contained in:
@@ -55,8 +55,8 @@ struct AxisData
|
||||
|
||||
namespace InputImpl
|
||||
{
|
||||
Dictionary<StringView, ActionData> Actions;
|
||||
Dictionary<StringView, AxisData> Axes;
|
||||
Dictionary<String, ActionData> Actions;
|
||||
Dictionary<String, AxisData> Axes;
|
||||
bool GamepadsChanged = true;
|
||||
Array<AxisEvaluation> AxesValues;
|
||||
InputDevice::EventQueue InputEvents;
|
||||
|
||||
Reference in New Issue
Block a user