Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:02:59

0001 // Copyright (c) 2020 OPEN CASCADE SAS
0002 //
0003 // This file is part of Open CASCADE Technology software library.
0004 //
0005 // This library is free software; you can redistribute it and/or modify it under
0006 // the terms of the GNU Lesser General Public License version 2.1 as published
0007 // by the Free Software Foundation, with special exception defined in the file
0008 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
0009 // distribution for complete text of the license and disclaimer of any warranty.
0010 //
0011 // Alternatively, this file may be used under the terms of Open CASCADE
0012 // commercial license or contractual agreement.
0013 
0014 #ifndef _Aspect_XRGenericAction_HeaderFile
0015 #define _Aspect_XRGenericAction_HeaderFile
0016 
0017 //! Generic XR action.
0018 enum Aspect_XRGenericAction
0019 {
0020   Aspect_XRGenericAction_IsHeadsetOn,             //!< headset is on/off head
0021   Aspect_XRGenericAction_InputAppMenu,            //!< application menu button pressed/released
0022   Aspect_XRGenericAction_InputSysMenu,            //!< system menu button pressed/released
0023   Aspect_XRGenericAction_InputTriggerPull,        //!< trigger squeezing [0..1], 1 to click
0024   Aspect_XRGenericAction_InputTriggerClick,       //!< trigger clicked/released
0025   Aspect_XRGenericAction_InputGripClick,          //!< grip state on/off
0026   Aspect_XRGenericAction_InputTrackPadPosition,   //!< trackpad 2D position [-1,+1] with X and Y axes
0027   Aspect_XRGenericAction_InputTrackPadTouch,      //!< trackpad touched/untouched
0028   Aspect_XRGenericAction_InputTrackPadClick,      //!< trackpad clicked/released
0029   Aspect_XRGenericAction_InputThumbstickPosition, //!< thumbstick 2D position [-1,+1] with X and Y axes
0030   Aspect_XRGenericAction_InputThumbstickTouch,    //!< thumbstick touched/untouched
0031   Aspect_XRGenericAction_InputThumbstickClick,    //!< thumbstick clicked/released
0032   Aspect_XRGenericAction_InputPoseBase,           //!< base position of hand
0033   Aspect_XRGenericAction_InputPoseFront,          //!< front position of hand
0034   Aspect_XRGenericAction_InputPoseHandGrip,       //!< position of main handgrip
0035   Aspect_XRGenericAction_InputPoseFingerTip,      //!< position of main fingertip
0036   Aspect_XRGenericAction_OutputHaptic             //!< haptic output (vibration)
0037 };
0038 enum { Aspect_XRGenericAction_NB = Aspect_XRGenericAction_OutputHaptic + 1 };
0039 
0040 #endif // _Aspect_XRGenericAction_HeaderFile