Files
UnrealEngineUWP/Engine/Plugins/Runtime/WindowsMixedReality/Source/WindowsMixedRealitySpatialInput/Private/WindowsSpatialInputDefinitions.h
jules blok fafe22eea5 Deprecate MotionController keys
- Allow keys to be flagged as "bindable in blueprints" and "bindable to actions" separately
- Mark all keys intended for XR projects as not bindable in blueprints
- Mark MotionController keys as not bindable to actions as well
- Replace the SteamVRController module with SteamVRInput based on the marketplace plugin

#rb keli.hlodversson
#jira UE-78930

#ROBOMERGE-SOURCE: CL 9960925 in //UE4/Release-4.24/...
#ROBOMERGE-BOT: RELEASE (Release-4.24 -> Main) (v558-9892490)

[CL 9960926 by jules blok in Main branch]
2019-11-01 15:43:44 -04:00

86 lines
3.1 KiB
C

// Copyright (c) Microsoft Corporation. All rights reserved.
#pragma once
#include "InputCoreTypes.h"
/*
* Controller axis name definitions
*/
#define TapGestureName "WindowsSpatialInput_TapGesture"
#define DoubleTapGestureName "WindowsSpatialInput_DoubleTapGesture"
#define HoldGestureName "WindowsSpatialInput_HoldGesture"
#define LeftTapGestureName "WindowsSpatialInput_LeftTapGesture"
#define LeftDoubleTapGestureName "WindowsSpatialInput_LeftDoubleTapGesture"
#define LeftHoldGestureName "WindowsSpatialInput_LeftHoldGesture"
#define RightTapGestureName "WindowsSpatialInput_RightTapGesture"
#define RightDoubleTapGestureName "WindowsSpatialInput_RightDoubleTapGesture"
#define RightHoldGestureName "WindowsSpatialInput_RightHoldGesture"
#define LeftManipulationGestureName "WindowsSpatialInput_LeftManipulationGesture"
#define LeftManipulationXGestureName "WindowsSpatialInput_LeftManipulationXGesture"
#define LeftManipulationYGestureName "WindowsSpatialInput_LeftManipulationYGesture"
#define LeftManipulationZGestureName "WindowsSpatialInput_LeftManipulationZGesture"
#define LeftNavigationGestureName "WindowsSpatialInput_LeftNavigationGesture"
#define LeftNavigationXGestureName "WindowsSpatialInput_LeftNavigationXGesture"
#define LeftNavigationYGestureName "WindowsSpatialInput_LeftNavigationYGesture"
#define LeftNavigationZGestureName "WindowsSpatialInput_LeftNavigationZGesture"
#define RightManipulationGestureName "WindowsSpatialInput_RightManipulationGesture"
#define RightManipulationXGestureName "WindowsSpatialInput_RightManipulationXGesture"
#define RightManipulationYGestureName "WindowsSpatialInput_RightManipulationYGesture"
#define RightManipulationZGestureName "WindowsSpatialInput_RightManipulationZGesture"
#define RightNavigationGestureName "WindowsSpatialInput_RightNavigationGesture"
#define RightNavigationXGestureName "WindowsSpatialInput_RightNavigationXGesture"
#define RightNavigationYGestureName "WindowsSpatialInput_RightNavigationYGesture"
#define RightNavigationZGestureName "WindowsSpatialInput_RightNavigationZGesture"
/*
* Keys struct
*/
struct FSpatialInputKeys
{
static const FKey TapGesture;
static const FKey DoubleTapGesture;
static const FKey HoldGesture;
static const FKey LeftTapGesture;
static const FKey LeftDoubleTapGesture;
static const FKey LeftHoldGesture;
static const FKey RightTapGesture;
static const FKey RightDoubleTapGesture;
static const FKey RightHoldGesture;
static const FKey LeftManipulationGesture;
static const FKey LeftManipulationXGesture;
static const FKey LeftManipulationYGesture;
static const FKey LeftManipulationZGesture;
static const FKey LeftNavigationGesture;
static const FKey LeftNavigationXGesture;
static const FKey LeftNavigationYGesture;
static const FKey LeftNavigationZGesture;
static const FKey RightManipulationGesture;
static const FKey RightManipulationXGesture;
static const FKey RightManipulationYGesture;
static const FKey RightManipulationZGesture;
static const FKey RightNavigationGesture;
static const FKey RightNavigationXGesture;
static const FKey RightNavigationYGesture;
static const FKey RightNavigationZGesture;
};