Browse Source

new statics

Raanan Weber 5 years ago
parent
commit
565f8cc109
1 changed files with 4 additions and 0 deletions
  1. 4 0
      src/Cameras/XR/motionController/webXRControllerComponent.ts

+ 4 - 0
src/Cameras/XR/motionController/webXRControllerComponent.ts

@@ -56,6 +56,10 @@ export interface IWebXRMotionControllerComponentChanges {
  */
  */
 export class WebXRControllerComponent implements IDisposable {
 export class WebXRControllerComponent implements IDisposable {
 
 
+    public static THUMBSTICK = "xr-standard-thumbstick";
+    public static TOUCHPAD = "xr-standard-touchpad";
+    public static TRIGGER = "xr-standard-trigger";
+    public static SQUEEZE = "xr-standard-squeeze";
     /**
     /**
      * Observers registered here will be triggered when the state of a button changes
      * Observers registered here will be triggered when the state of a button changes
      * State change is either pressed / touched / value
      * State change is either pressed / touched / value