/
redgpu
/
ezEngine
Обзор
Документация
Войти
/
redgpu
/
ezEngine
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
dev
Code/Engine/Core/Input/Declarations.h
417 строк
24 KB
Ingrater
clang-tidy modernize-use-using check (#956)
22 май 2023, 17:30
Не верифицирован
22 май 2023, 17:30
01da71c
Код
Авторство
О чём код?
#pragma once #include <Core/CoreDLL.h> #include <Foundation/Types/Bitflags.h> /// \brief This struct defines the different states a key can be in. /// All keys always go through the states 'Pressed' and 'Released', even if they are active for only one frame. /// A key is 'Down' when it is pressed for at least two frames. It is 'Up' when it is not pressed for at least two frames. struct EZ_CORE_DLL ezKeyState { enum Enum { Up, ///< Key is not pressed at all. Released, ///< Key has just been released this frame. Pressed, ///< Key has just been pressed down this frame. Down ///< Key is pressed down for longer than one frame now. }; /// \brief Computes the new key state from a previous key state and whether it is currently pressed or not. static ezKeyState::Enum GetNewKeyState(ezKeyState::Enum prevState, bool bKeyDown); }; // clang-format off // off for the entire file /// \brief These flags are specified when registering an input slot (by a device), to define some capabilities and restrictions of the hardware. /// /// By default you do not need to use these flags at all. However, when presenting the user with a list of 'possible' buttons to press to map to an /// action, these flags can be used to filter out unwanted slots. /// For example you can filter out mouse movements by requiring that the input slot must be pressable or may not represent any axis. /// You an additionally also use the prefix of the input slot name, to filter out all touch input slots etc. if necessary. struct ezInputSlotFlags { using StorageType = ezUInt16; enum Enum { None = 0, ReportsRelativeValues = EZ_BIT(0), ///< The input slot reports delta values (e.g. a mouse move), instead of absolute values. ValueBinaryZeroOrOne = EZ_BIT(1), ///< The input slot will either be zero or one. Used for all buttons and keys. ValueRangeZeroToOne = EZ_BIT(2), ///< The input slot has analog values between zero and one. Used for analog axis like the xbox triggers or thumb-sticks. ValueRangeZeroToInf = EZ_BIT(3), ///< The input slot has unbounded values larger than zero. Used for all absolute positions, such as the mouse position. Pressable = EZ_BIT(4), ///< The slot can be pressed (e.g. a key). This is not possible for an axis, such as the mouse or an analog stick. Holdable = EZ_BIT(5), ///< The user can hold down the key. Possible for buttons, but not for axes or for wheels such as the mouse wheel. HalfAxis = EZ_BIT(6), ///< The input slot represents one half of the actually possible data. Used for all axes (pos / neg mouse movement, thumb-sticks). FullAxis = EZ_BIT(7), ///< The input slot represents one full axis. Mostly used for devices that report absolute values, such as the mouse position or touch input positions (values between zero and one) RequiresDeadZone = EZ_BIT(8), ///< The input slot represents hardware that should use a dead zone, otherwise it might fire prematurely. Mostly used on thumb-sticks and trigger buttons. ValuesAreNonContinuous = EZ_BIT(9), ///< The values of the slot can jump around randomly, ie. the user can input arbitrary values, like the position on a touchpad ActivationDependsOnOthers = EZ_BIT(10), ///< Whether this slot can be activated depends on whether certain other slots are active. This is the case for touch-points which are numbered depending on how many other touch-points are already active. NeverTimeScale = EZ_BIT(11), ///< When this flag is specified, data from the input slot will never be scaled by the input update time difference. Important for mouse deltas and such. // Some predefined sets of flags for the most common use cases IsButton = ValueBinaryZeroOrOne | Pressable | Holdable, IsMouseWheel = ReportsRelativeValues | ValueRangeZeroToInf | Pressable | HalfAxis | NeverTimeScale, IsAnalogTrigger = ValueRangeZeroToOne | Pressable | Holdable | FullAxis | RequiresDeadZone, IsMouseAxisPosition = ValueRangeZeroToOne | FullAxis | NeverTimeScale, IsMouseAxisMove = ReportsRelativeValues | ValueRangeZeroToInf | HalfAxis | NeverTimeScale, IsAnalogStick = ValueRangeZeroToOne | Holdable | HalfAxis | RequiresDeadZone, IsDoubleClick = ValueBinaryZeroOrOne | Pressable | NeverTimeScale, IsTouchPosition = ValueRangeZeroToOne | FullAxis | NeverTimeScale | ValuesAreNonContinuous, IsTouchPoint = ValueBinaryZeroOrOne | Pressable | Holdable | ActivationDependsOnOthers, IsDPad = ValueBinaryZeroOrOne | Pressable | Holdable | HalfAxis, IsTrackedValue = ValueRangeZeroToInf | HalfAxis | NeverTimeScale | ValuesAreNonContinuous, Default = None }; struct Bits { StorageType ReportsRelativeValues : 1; StorageType ValueBinaryZeroOrOne : 1; StorageType ValueRangeZeroToOne : 1; StorageType ValueRangeZeroToInf : 1; StorageType Pressable : 1; StorageType Holdable : 1; StorageType HalfAxis : 1; StorageType FullAxis : 1; StorageType RequiresDeadZone : 1; StorageType ValuesAreNonContinuous : 1; StorageType ActivationDependsOnOthers : 1; }; }; EZ_DECLARE_FLAGS_OPERATORS(ezInputSlotFlags); #define ezInputSlot_None "" // // Touchpads // #define ezInputSlot_TouchPoint0 "touchpoint_0" #define ezInputSlot_TouchPoint0_PositionX "touchpoint_0_position_x" #define ezInputSlot_TouchPoint0_PositionY "touchpoint_0_position_y" #define ezInputSlot_TouchPoint1 "touchpoint_1" #define ezInputSlot_TouchPoint1_PositionX "touchpoint_1_position_x" #define ezInputSlot_TouchPoint1_PositionY "touchpoint_1_position_y" #define ezInputSlot_TouchPoint2 "touchpoint_2" #define ezInputSlot_TouchPoint2_PositionX "touchpoint_2_position_x" #define ezInputSlot_TouchPoint2_PositionY "touchpoint_2_position_y" #define ezInputSlot_TouchPoint3 "touchpoint_3" #define ezInputSlot_TouchPoint3_PositionX "touchpoint_3_position_x" #define ezInputSlot_TouchPoint3_PositionY "touchpoint_3_position_y" #define ezInputSlot_TouchPoint4 "touchpoint_4" #define ezInputSlot_TouchPoint4_PositionX "touchpoint_4_position_x" #define ezInputSlot_TouchPoint4_PositionY "touchpoint_4_position_y" #define ezInputSlot_TouchPoint5 "touchpoint_5" #define ezInputSlot_TouchPoint5_PositionX "touchpoint_5_position_x" #define ezInputSlot_TouchPoint5_PositionY "touchpoint_5_position_y" #define ezInputSlot_TouchPoint6 "touchpoint_6" #define ezInputSlot_TouchPoint6_PositionX "touchpoint_6_position_x" #define ezInputSlot_TouchPoint6_PositionY "touchpoint_6_position_y" #define ezInputSlot_TouchPoint7 "touchpoint_7" #define ezInputSlot_TouchPoint7_PositionX "touchpoint_7_position_x" #define ezInputSlot_TouchPoint7_PositionY "touchpoint_7_position_y" #define ezInputSlot_TouchPoint8 "touchpoint_8" #define ezInputSlot_TouchPoint8_PositionX "touchpoint_8_position_x" #define ezInputSlot_TouchPoint8_PositionY "touchpoint_8_position_y" #define ezInputSlot_TouchPoint9 "touchpoint_9" #define ezInputSlot_TouchPoint9_PositionX "touchpoint_9_position_x" #define ezInputSlot_TouchPoint9_PositionY "touchpoint_9_position_y" // // Standard Controllers // #define ezInputSlot_Controller0_ButtonA "controller0_button_a" #define ezInputSlot_Controller0_ButtonB "controller0_button_b" #define ezInputSlot_Controller0_ButtonX "controller0_button_x" #define ezInputSlot_Controller0_ButtonY "controller0_button_y" #define ezInputSlot_Controller0_ButtonStart "controller0_button_start" #define ezInputSlot_Controller0_ButtonBack "controller0_button_back" #define ezInputSlot_Controller0_LeftShoulder "controller0_left_shoulder" #define ezInputSlot_Controller0_RightShoulder "controller0_right_shoulder" #define ezInputSlot_Controller0_LeftTrigger "controller0_left_trigger" #define ezInputSlot_Controller0_RightTrigger "controller0_right_trigger" #define ezInputSlot_Controller0_PadUp "controller0_pad_up" #define ezInputSlot_Controller0_PadDown "controller0_pad_down" #define ezInputSlot_Controller0_PadLeft "controller0_pad_left" #define ezInputSlot_Controller0_PadRight "controller0_pad_right" #define ezInputSlot_Controller0_LeftStick "controller0_left_stick" #define ezInputSlot_Controller0_RightStick "controller0_right_stick" #define ezInputSlot_Controller0_LeftStick_NegX "controller0_leftstick_negx" #define ezInputSlot_Controller0_LeftStick_PosX "controller0_leftstick_posx" #define ezInputSlot_Controller0_LeftStick_NegY "controller0_leftstick_negy" #define ezInputSlot_Controller0_LeftStick_PosY "controller0_leftstick_posy" #define ezInputSlot_Controller0_RightStick_NegX "controller0_rightstick_negx" #define ezInputSlot_Controller0_RightStick_PosX "controller0_rightstick_posx" #define ezInputSlot_Controller0_RightStick_NegY "controller0_rightstick_negy" #define ezInputSlot_Controller0_RightStick_PosY "controller0_rightstick_posy" #define ezInputSlot_Controller1_ButtonA "controller1_button_a" #define ezInputSlot_Controller1_ButtonB "controller1_button_b" #define ezInputSlot_Controller1_ButtonX "controller1_button_x" #define ezInputSlot_Controller1_ButtonY "controller1_button_y" #define ezInputSlot_Controller1_ButtonStart "controller1_button_start" #define ezInputSlot_Controller1_ButtonBack "controller1_button_back" #define ezInputSlot_Controller1_LeftShoulder "controller1_left_shoulder" #define ezInputSlot_Controller1_RightShoulder "controller1_right_shoulder" #define ezInputSlot_Controller1_LeftTrigger "controller1_left_trigger" #define ezInputSlot_Controller1_RightTrigger "controller1_right_trigger" #define ezInputSlot_Controller1_PadUp "controller1_pad_up" #define ezInputSlot_Controller1_PadDown "controller1_pad_down" #define ezInputSlot_Controller1_PadLeft "controller1_pad_left" #define ezInputSlot_Controller1_PadRight "controller1_pad_right" #define ezInputSlot_Controller1_LeftStick "controller1_left_stick" #define ezInputSlot_Controller1_RightStick "controller1_right_stick" #define ezInputSlot_Controller1_LeftStick_NegX "controller1_leftstick_negx" #define ezInputSlot_Controller1_LeftStick_PosX "controller1_leftstick_posx" #define ezInputSlot_Controller1_LeftStick_NegY "controller1_leftstick_negy" #define ezInputSlot_Controller1_LeftStick_PosY "controller1_leftstick_posy" #define ezInputSlot_Controller1_RightStick_NegX "controller1_rightstick_negx" #define ezInputSlot_Controller1_RightStick_PosX "controller1_rightstick_posx" #define ezInputSlot_Controller1_RightStick_NegY "controller1_rightstick_negy" #define ezInputSlot_Controller1_RightStick_PosY "controller1_rightstick_posy" #define ezInputSlot_Controller2_ButtonA "controller2_button_a" #define ezInputSlot_Controller2_ButtonB "controller2_button_b" #define ezInputSlot_Controller2_ButtonX "controller2_button_x" #define ezInputSlot_Controller2_ButtonY "controller2_button_y" #define ezInputSlot_Controller2_ButtonStart "controller2_button_start" #define ezInputSlot_Controller2_ButtonBack "controller2_button_back" #define ezInputSlot_Controller2_LeftShoulder "controller2_left_shoulder" #define ezInputSlot_Controller2_RightShoulder "controller2_right_shoulder" #define ezInputSlot_Controller2_LeftTrigger "controller2_left_trigger" #define ezInputSlot_Controller2_RightTrigger "controller2_right_trigger" #define ezInputSlot_Controller2_PadUp "controller2_pad_up" #define ezInputSlot_Controller2_PadDown "controller2_pad_down" #define ezInputSlot_Controller2_PadLeft "controller2_pad_left" #define ezInputSlot_Controller2_PadRight "controller2_pad_right" #define ezInputSlot_Controller2_LeftStick "controller2_left_stick" #define ezInputSlot_Controller2_RightStick "controller2_right_stick" #define ezInputSlot_Controller2_LeftStick_NegX "controller2_leftstick_negx" #define ezInputSlot_Controller2_LeftStick_PosX "controller2_leftstick_posx" #define ezInputSlot_Controller2_LeftStick_NegY "controller2_leftstick_negy" #define ezInputSlot_Controller2_LeftStick_PosY "controller2_leftstick_posy" #define ezInputSlot_Controller2_RightStick_NegX "controller2_rightstick_negx" #define ezInputSlot_Controller2_RightStick_PosX "controller2_rightstick_posx" #define ezInputSlot_Controller2_RightStick_NegY "controller2_rightstick_negy" #define ezInputSlot_Controller2_RightStick_PosY "controller2_rightstick_posy" #define ezInputSlot_Controller3_ButtonA "controller3_button_a" #define ezInputSlot_Controller3_ButtonB "controller3_button_b" #define ezInputSlot_Controller3_ButtonX "controller3_button_x" #define ezInputSlot_Controller3_ButtonY "controller3_button_y" #define ezInputSlot_Controller3_ButtonStart "controller3_button_start" #define ezInputSlot_Controller3_ButtonBack "controller3_button_back" #define ezInputSlot_Controller3_LeftShoulder "controller3_left_shoulder" #define ezInputSlot_Controller3_RightShoulder "controller3_right_shoulder" #define ezInputSlot_Controller3_LeftTrigger "controller3_left_trigger" #define ezInputSlot_Controller3_RightTrigger "controller3_right_trigger" #define ezInputSlot_Controller3_PadUp "controller3_pad_up" #define ezInputSlot_Controller3_PadDown "controller3_pad_down" #define ezInputSlot_Controller3_PadLeft "controller3_pad_left" #define ezInputSlot_Controller3_PadRight "controller3_pad_right" #define ezInputSlot_Controller3_LeftStick "controller3_left_stick" #define ezInputSlot_Controller3_RightStick "controller3_right_stick" #define ezInputSlot_Controller3_LeftStick_NegX "controller3_leftstick_negx" #define ezInputSlot_Controller3_LeftStick_PosX "controller3_leftstick_posx" #define ezInputSlot_Controller3_LeftStick_NegY "controller3_leftstick_negy" #define ezInputSlot_Controller3_LeftStick_PosY "controller3_leftstick_posy" #define ezInputSlot_Controller3_RightStick_NegX "controller3_rightstick_negx" #define ezInputSlot_Controller3_RightStick_PosX "controller3_rightstick_posx" #define ezInputSlot_Controller3_RightStick_NegY "controller3_rightstick_negy" #define ezInputSlot_Controller3_RightStick_PosY "controller3_rightstick_posy" // // Keyboard // #define ezInputSlot_KeyLeft "keyboard_left" #define ezInputSlot_KeyRight "keyboard_right" #define ezInputSlot_KeyUp "keyboard_up" #define ezInputSlot_KeyDown "keyboard_down" #define ezInputSlot_KeyEscape "keyboard_escape" #define ezInputSlot_KeySpace "keyboard_space" #define ezInputSlot_KeyBackspace "keyboard_backspace" #define ezInputSlot_KeyReturn "keyboard_return" #define ezInputSlot_KeyTab "keyboard_tab" #define ezInputSlot_KeyLeftShift "keyboard_left_shift" #define ezInputSlot_KeyRightShift "keyboard_right_shift" #define ezInputSlot_KeyLeftCtrl "keyboard_left_ctrl" #define ezInputSlot_KeyRightCtrl "keyboard_right_ctrl" #define ezInputSlot_KeyLeftAlt "keyboard_left_alt" #define ezInputSlot_KeyRightAlt "keyboard_right_alt" #define ezInputSlot_KeyLeftWin "keyboard_left_win" #define ezInputSlot_KeyRightWin "keyboard_right_win" #define ezInputSlot_KeyBracketOpen "keyboard_bracket_open" #define ezInputSlot_KeyBracketClose "keyboard_bracket_close" #define ezInputSlot_KeySemicolon "keyboard_semicolon" #define ezInputSlot_KeyApostrophe "keyboard_apostrophe" #define ezInputSlot_KeySlash "keyboard_slash" #define ezInputSlot_KeyEquals "keyboard_equals" #define ezInputSlot_KeyTilde "keyboard_tilde" #define ezInputSlot_KeyHyphen "keyboard_hyphen" #define ezInputSlot_KeyComma "keyboard_comma" #define ezInputSlot_KeyPeriod "keyboard_period" #define ezInputSlot_KeyBackslash "keyboard_backslash" #define ezInputSlot_KeyPipe "keyboard_pipe" #define ezInputSlot_Key1 "keyboard_1" #define ezInputSlot_Key2 "keyboard_2" #define ezInputSlot_Key3 "keyboard_3" #define ezInputSlot_Key4 "keyboard_4" #define ezInputSlot_Key5 "keyboard_5" #define ezInputSlot_Key6 "keyboard_6" #define ezInputSlot_Key7 "keyboard_7" #define ezInputSlot_Key8 "keyboard_8" #define ezInputSlot_Key9 "keyboard_9" #define ezInputSlot_Key0 "keyboard_0" #define ezInputSlot_KeyNumpad1 "keyboard_numpad_1" #define ezInputSlot_KeyNumpad2 "keyboard_numpad_2" #define ezInputSlot_KeyNumpad3 "keyboard_numpad_3" #define ezInputSlot_KeyNumpad4 "keyboard_numpad_4" #define ezInputSlot_KeyNumpad5 "keyboard_numpad_5" #define ezInputSlot_KeyNumpad6 "keyboard_numpad_6" #define ezInputSlot_KeyNumpad7 "keyboard_numpad_7" #define ezInputSlot_KeyNumpad8 "keyboard_numpad_8" #define ezInputSlot_KeyNumpad9 "keyboard_numpad_9" #define ezInputSlot_KeyNumpad0 "keyboard_numpad_0" #define ezInputSlot_KeyA "keyboard_a" #define ezInputSlot_KeyB "keyboard_b" #define ezInputSlot_KeyC "keyboard_c" #define ezInputSlot_KeyD "keyboard_d" #define ezInputSlot_KeyE "keyboard_e" #define ezInputSlot_KeyF "keyboard_f" #define ezInputSlot_KeyG "keyboard_g" #define ezInputSlot_KeyH "keyboard_h" #define ezInputSlot_KeyI "keyboard_i" #define ezInputSlot_KeyJ "keyboard_j" #define ezInputSlot_KeyK "keyboard_k" #define ezInputSlot_KeyL "keyboard_l" #define ezInputSlot_KeyM "keyboard_m" #define ezInputSlot_KeyN "keyboard_n" #define ezInputSlot_KeyO "keyboard_o" #define ezInputSlot_KeyP "keyboard_p" #define ezInputSlot_KeyQ "keyboard_q" #define ezInputSlot_KeyR "keyboard_r" #define ezInputSlot_KeyS "keyboard_s" #define ezInputSlot_KeyT "keyboard_t" #define ezInputSlot_KeyU "keyboard_u" #define ezInputSlot_KeyV "keyboard_v" #define ezInputSlot_KeyW "keyboard_w" #define ezInputSlot_KeyX "keyboard_x" #define ezInputSlot_KeyY "keyboard_y" #define ezInputSlot_KeyZ "keyboard_z" #define ezInputSlot_KeyF1 "keyboard_f1" #define ezInputSlot_KeyF2 "keyboard_f2" #define ezInputSlot_KeyF3 "keyboard_f3" #define ezInputSlot_KeyF4 "keyboard_f4" #define ezInputSlot_KeyF5 "keyboard_f5" #define ezInputSlot_KeyF6 "keyboard_f6" #define ezInputSlot_KeyF7 "keyboard_f7" #define ezInputSlot_KeyF8 "keyboard_f8" #define ezInputSlot_KeyF9 "keyboard_f9" #define ezInputSlot_KeyF10 "keyboard_f10" #define ezInputSlot_KeyF11 "keyboard_f11" #define ezInputSlot_KeyF12 "keyboard_f12" #define ezInputSlot_KeyHome "keyboard_home" #define ezInputSlot_KeyEnd "keyboard_end" #define ezInputSlot_KeyDelete "keyboard_delete" #define ezInputSlot_KeyInsert "keyboard_insert" #define ezInputSlot_KeyPageUp "keyboard_page_up" #define ezInputSlot_KeyPageDown "keyboard_page_down" #define ezInputSlot_KeyNumLock "keyboard_numlock" #define ezInputSlot_KeyNumpadPlus "keyboard_numpad_plus" #define ezInputSlot_KeyNumpadMinus "keyboard_numpad_minus" #define ezInputSlot_KeyNumpadStar "keyboard_numpad_star" #define ezInputSlot_KeyNumpadSlash "keyboard_numpad_slash" #define ezInputSlot_KeyNumpadPeriod "keyboard_numpad_period" #define ezInputSlot_KeyNumpadEnter "keyboard_numpad_enter" #define ezInputSlot_KeyCapsLock "keyboard_capslock" #define ezInputSlot_KeyPrint "keyboard_print" #define ezInputSlot_KeyScroll "keyboard_scroll" #define ezInputSlot_KeyPause "keyboard_pause" #define ezInputSlot_KeyApps "keyboard_apps" #define ezInputSlot_KeyPrevTrack "keyboard_prev_track" #define ezInputSlot_KeyNextTrack "keyboard_next_track" #define ezInputSlot_KeyPlayPause "keyboard_play_pause" #define ezInputSlot_KeyStop "keyboard_stop" #define ezInputSlot_KeyVolumeUp "keyboard_volume_up" #define ezInputSlot_KeyVolumeDown "keyboard_volume_down" #define ezInputSlot_KeyMute "keyboard_mute" // // Mouse // #define ezInputSlot_MouseWheelUp "mouse_wheel_up" #define ezInputSlot_MouseWheelDown "mouse_wheel_down" #define ezInputSlot_MouseMoveNegX "mouse_move_negx" #define ezInputSlot_MouseMovePosX "mouse_move_posx" #define ezInputSlot_MouseMoveNegY "mouse_move_negy" #define ezInputSlot_MouseMovePosY "mouse_move_posy" #define ezInputSlot_MouseButton0 "mouse_button_0" #define ezInputSlot_MouseButton1 "mouse_button_1" #define ezInputSlot_MouseButton2 "mouse_button_2" #define ezInputSlot_MouseButton3 "mouse_button_3" #define ezInputSlot_MouseButton4 "mouse_button_4" #define ezInputSlot_MouseDblClick0 "mouse_button_0_doubleclick" #define ezInputSlot_MouseDblClick1 "mouse_button_1_doubleclick" #define ezInputSlot_MouseDblClick2 "mouse_button_2_doubleclick" #define ezInputSlot_MousePositionX "mouse_position_x" #define ezInputSlot_MousePositionY "mouse_position_y" // // Spatial Input Data (Tracked Hands or Controllers) // #define ezInputSlot_Spatial_Hand0_Tracked "spatial_hand0_tracked" #define ezInputSlot_Spatial_Hand0_Pressed "spatial_hand0_pressed" #define ezInputSlot_Spatial_Hand0_PositionPosX "spatial_hand0_position_posx" #define ezInputSlot_Spatial_Hand0_PositionPosY "spatial_hand0_position_posy" #define ezInputSlot_Spatial_Hand0_PositionPosZ "spatial_hand0_position_posz" #define ezInputSlot_Spatial_Hand0_PositionNegX "spatial_hand0_position_negx" #define ezInputSlot_Spatial_Hand0_PositionNegY "spatial_hand0_position_negy" #define ezInputSlot_Spatial_Hand0_PositionNegZ "spatial_hand0_position_negz" #define ezInputSlot_Spatial_Hand1_Tracked "spatial_hand1_tracked" #define ezInputSlot_Spatial_Hand1_Pressed "spatial_hand1_pressed" #define ezInputSlot_Spatial_Hand1_PositionPosX "spatial_hand1_position_posx" #define ezInputSlot_Spatial_Hand1_PositionPosY "spatial_hand1_position_posy" #define ezInputSlot_Spatial_Hand1_PositionPosZ "spatial_hand1_position_posz" #define ezInputSlot_Spatial_Hand1_PositionNegX "spatial_hand1_position_negx" #define ezInputSlot_Spatial_Hand1_PositionNegY "spatial_hand1_position_negy" #define ezInputSlot_Spatial_Hand1_PositionNegZ "spatial_hand1_position_negz" #define ezInputSlot_Spatial_Head_PositionPosX "spatial_head_position_posx" #define ezInputSlot_Spatial_Head_PositionPosY "spatial_head_position_posy" #define ezInputSlot_Spatial_Head_PositionPosZ "spatial_head_position_posz" #define ezInputSlot_Spatial_Head_PositionNegX "spatial_head_position_negx" #define ezInputSlot_Spatial_Head_PositionNegY "spatial_head_position_negy" #define ezInputSlot_Spatial_Head_PositionNegZ "spatial_head_position_negz" #define ezInputSlot_Spatial_Head_ForwardPosX "spatial_head_forward_posx" #define ezInputSlot_Spatial_Head_ForwardPosY "spatial_head_forward_posy" #define ezInputSlot_Spatial_Head_ForwardPosZ "spatial_head_forward_posz" #define ezInputSlot_Spatial_Head_ForwardNegX "spatial_head_forward_negx" #define ezInputSlot_Spatial_Head_ForwardNegY "spatial_head_forward_negy" #define ezInputSlot_Spatial_Head_ForwardNegZ "spatial_head_forward_negz" #define ezInputSlot_Spatial_Head_UpPosX "spatial_head_up_posx" #define ezInputSlot_Spatial_Head_UpPosY "spatial_head_up_posy" #define ezInputSlot_Spatial_Head_UpPosZ "spatial_head_up_posz" #define ezInputSlot_Spatial_Head_UpNegX "spatial_head_up_negx" #define ezInputSlot_Spatial_Head_UpNegY "spatial_head_up_negy" #define ezInputSlot_Spatial_Head_UpNegZ "spatial_head_up_negz"