@@ -126,6 +126,39 @@ public static OmicronController.ButtonState GetButtonState(CAVE2.Button button,
126126 return CAVE2Manager . GetButtonState ( wandID , button ) ;
127127 }
128128
129+
130+ //
131+ [ System . Obsolete ( "GetAxis(int, CAVE2.Axis) is deprecated, please use GetAxis(CAVE2.Axis, int) instead." ) ]
132+ public static float GetAxis ( int wandID , CAVE2 . Axis axis )
133+ {
134+ return CAVE2Manager . GetAxis ( wandID , axis ) ;
135+ }
136+
137+ [ System . Obsolete ( "GetButton(int, CAVE2.Button) is deprecated, please use GetButton(CAVE2.Button, int) instead." ) ]
138+ public static bool GetButton ( int wandID , CAVE2 . Button button )
139+ {
140+ return CAVE2Manager . GetButton ( wandID , button ) ;
141+ }
142+
143+ [ System . Obsolete ( "GetButtonDown(int, CAVE2.Button) is deprecated, please use GetButtonDown(CAVE2.Button, int) instead." ) ]
144+ public static bool GetButtonDown ( int wandID , CAVE2 . Button button )
145+ {
146+ return CAVE2Manager . GetButtonDown ( wandID , button ) ;
147+ }
148+
149+ [ System . Obsolete ( "GetButtonUp(int, CAVE2.Button) is deprecated, please use GetButtonUp(CAVE2.Button, int) instead." ) ]
150+ public static bool GetButtonUp ( int wandID , CAVE2 . Button button )
151+ {
152+ return CAVE2Manager . GetButtonUp ( wandID , button ) ;
153+ }
154+
155+ [ System . Obsolete ( "GetButtonState(int, CAVE2.Button) is deprecated, please use GetButtonState(CAVE2.Button, int) instead." ) ]
156+ public static OmicronController . ButtonState GetButtonState ( int wandID , CAVE2 . Button button )
157+ {
158+ return CAVE2Manager . GetButtonState ( wandID , button ) ;
159+ }
160+
161+
129162 public static CAVE2 . Button GetReal3DToCAVE2Button ( string name )
130163 {
131164 return CAVE2Manager . GetReal3DToCAVE2Button ( name ) ;
0 commit comments