fix trigger code to trigger button

pull/20/head
cosmonaut 2022-08-01 23:00:21 -07:00
parent ad0c86e8f6
commit b1b8c821ca
1 changed files with 6 additions and 0 deletions

View File

@ -159,6 +159,12 @@ namespace MoonWorks.Input
{ AxisButtonCode.RightY_Down, RightYDown }
};
TriggerCodeToTriggerButton = new Dictionary<TriggerCode, TriggerButton>
{
{ TriggerCode.Left, TriggerLeftButton },
{ TriggerCode.Right, TriggerRightButton }
};
VirtualButtons = new VirtualButton[]
{
A,