connect method
Implementation
WebXRController connect(inputSource ) {
if ( inputSource != null && inputSource.hand != null) {
final hand = _hand;
if ( hand != null) {
for (final inputjoint in (inputSource.hand!.values().dartify() as Map).keys ) {
// Initialize hand with joints when connected
_getHandJoint( hand, inputjoint );
}
}
}
dispatchEvent( Event( type: 'connected', data: inputSource ));
return this;
}