some updates
This commit is contained in:
@@ -11,13 +11,21 @@ public:
|
||||
virtual EInputType GetInputType() = 0;
|
||||
|
||||
virtual void OnGameButton( EInputDeviceType eDevice, EInputButton eScancode, bool bIsPressed ) = 0;
|
||||
virtual void OnGameAxis( EInputDeviceType eDevice, EInputAxis eAxis, float fValue) = 0;
|
||||
virtual void OnGameAxis( EInputDeviceType eDevice, EInputAxis eAxis, float fValue ) = 0;
|
||||
virtual void OnGameAxisDiff( EInputDeviceType eDevice, EInputAxis eAxis, float fValue ) = 0;
|
||||
|
||||
virtual void OnButton( EInputDeviceType eDevice, EInputButton eScancode, bool bIsPressed ) = 0;
|
||||
virtual void OnAxis( EInputDeviceType eDevice, EInputAxis eAxis, float fValue) = 0;
|
||||
virtual void OnAxis( EInputDeviceType eDevice, EInputAxis eAxis, float fValue ) = 0;
|
||||
virtual void OnAxisDiff( EInputDeviceType eDevice, EInputAxis eAxis, float fValue ) = 0;
|
||||
|
||||
virtual void OnGameButton( EInputDeviceType eDevice, const char *szName, bool bIsPressed ) = 0;
|
||||
virtual void OnGameAxis( EInputDeviceType eDevice, const char *szName, float fValue ) = 0;
|
||||
virtual void OnGameAxisDiff( EInputDeviceType eDevice, const char *szName, float fValue ) = 0;
|
||||
|
||||
virtual void OnButton( EInputDeviceType eDevice, const char *szName, bool bIsPressed ) = 0;
|
||||
virtual void OnAxis( EInputDeviceType eDevice, const char *szName, float fValue ) = 0;
|
||||
virtual void OnAxisDiff( EInputDeviceType eDevice, const char *szName, float fValue ) = 0;
|
||||
|
||||
virtual void OnTextWriteUTF8( uint32_t uCode ) = 0;
|
||||
};
|
||||
|
||||
|
||||
14
public/ixr.h
Normal file
14
public/ixr.h
Normal file
@@ -0,0 +1,14 @@
|
||||
#ifndef IXR_H
|
||||
#define IXR_H
|
||||
|
||||
#include "tier1/interface.h"
|
||||
#include "tier2/iappsystem.h"
|
||||
#include "trig.h"
|
||||
|
||||
abstract_class IXrManager: public IAppSystem
|
||||
{
|
||||
public:
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
@@ -89,6 +89,11 @@ enum EInputAxis
|
||||
{
|
||||
k_EInputAxis_MouseX,
|
||||
k_EInputAxis_MouseY,
|
||||
|
||||
k_EInputAxis_Gamepad_ThumbStick_LX,
|
||||
k_EInputAxis_Gamepad_ThumbStick_LY,
|
||||
k_EInputAxis_Gamepad_ThumbStick_RX,
|
||||
k_EInputAxis_Gamepad_ThumbStick_RY,
|
||||
};
|
||||
|
||||
enum EInputType
|
||||
@@ -103,6 +108,8 @@ enum EInputDeviceType
|
||||
k_EInputDevice_Keyboard,
|
||||
k_EInputDevice_Mouse,
|
||||
k_EInputDevice_Gamepad,
|
||||
k_EInputDevice_VrHeadset,
|
||||
k_EInputDevice_VrController,
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user