// All material copyright Esri, All Rights Reserved, unless otherwise specified. // See https://js.arcgis.com/4.30/esri/copyright.txt for details. //>>built define("../../../chunks/tslib.es6 ../../../core/Accessor ../../../core/accessorSupport/decorators/property ../../../core/has ../../../core/Logger ../../../core/RandomLCG ../../../core/accessorSupport/decorators/subclass".split(" "),function(c,a,d,h,k,l,e){a=class extends a{constructor(b){super();this.nativeIndex=null;this._detectedDeviceType="unknown";"standard"===b.mapping?this._detectedDeviceType="standard":f.test(b.id)?this._detectedDeviceType="spacemouse":this._detectedDeviceType="unknown";this.nativeIndex= b.index}get native(){const b=navigator.getGamepads?navigator.getGamepads():[];return null!=this.nativeIndex&&this.nativeIndex