25 lines
1.2 KiB
TypeScript
25 lines
1.2 KiB
TypeScript
// Input/IMC_Default.ts
|
|
|
|
import { IA_LeftTrigger } from '#root/Input/Actions/IA_LeftTrigger.ts';
|
|
import { IA_Move } from '#root/Input/Actions/IA_Move.ts';
|
|
import { IA_NextDebugMode } from '#root/Input/Actions/IA_NextDebugMode.ts';
|
|
import { IA_PrevDebugMode } from '#root/Input/Actions/IA_PrevDebugMode.ts';
|
|
import { IA_RightTrigger } from '#root/Input/Actions/IA_RightTrigger.ts';
|
|
import { IA_ToggleHUD } from '#root/Input/Actions/IA_ToggleHUD.ts';
|
|
import { IA_ToggleVisualDebug } from '#root/Input/Actions/IA_ToggleVisualDebug.ts';
|
|
import { InputMappingContext } from '#root/UE/InputMappingContext.ts';
|
|
import type { Key } from '#root/UE/Key.ts';
|
|
|
|
export const IMC_Default = new InputMappingContext();
|
|
|
|
IMC_Default.mapKey(IA_LeftTrigger, 'IA_LeftTrigger' as unknown as Key);
|
|
IMC_Default.mapKey(IA_RightTrigger, 'IA_RightTrigger' as unknown as Key);
|
|
IMC_Default.mapKey(IA_NextDebugMode, 'IA_NextDebugMode' as unknown as Key);
|
|
IMC_Default.mapKey(IA_PrevDebugMode, 'IA_PrevDebugMode' as unknown as Key);
|
|
IMC_Default.mapKey(IA_ToggleHUD, 'IA_ToggleHUD' as unknown as Key);
|
|
IMC_Default.mapKey(
|
|
IA_ToggleVisualDebug,
|
|
'IA_ToggleVisualDebug' as unknown as Key
|
|
);
|
|
IMC_Default.mapKey(IA_Move, 'IA_Move' as unknown as Key);
|