tengri/Content/Input/IMC_ItemHeld.ts

12 lines
429 B
TypeScript

// Content/Input/IMC_ItemHeld.ts
import { InputMappingContext } from '/Content/UE/InputMappingContext.ts';
import { Key } from '/Content/UE/Key.ts';
import { IA_Aim } from '/Content/Input/Actions/IA_Aim.ts';
import { IA_Throw } from '/Content/Input/Actions/IA_Throw.ts';
export const IMC_ItemHeld = new InputMappingContext();
IMC_ItemHeld.mapKey(IA_Aim, new Key('IA_Aim'));
IMC_ItemHeld.mapKey(IA_Throw, new Key('IA_Throw'));