UNPKG

@arcgis/core

Version:

ArcGIS Maps SDK for JavaScript: A complete 2D and 3D mapping and data visualization API

6 lines (5 loc) 1.15 kB
/* All material copyright ESRI, All Rights Reserved, unless otherwise specified. See https://js.arcgis.com/4.33/esri/copyright.txt for details. */ import{_ as o}from"../../../chunks/tslib.es6.js";import e from"../../../core/Accessor.js";import{property as t}from"../../../core/accessorSupport/decorators/property.js";import"../../../core/has.js";import"../../../core/Logger.js";import"../../../core/RandomLCG.js";import{subclass as r}from"../../../core/accessorSupport/decorators/subclass.js";import p from"../../input/gamepad/GamepadInputDevice.js";let s=class extends e{constructor(o){super(o),this.enabled=!0,this.device=null,this.mode="pan",this.tiltDirection="forward-down",this.velocityFactor=1}};o([t({type:Boolean,nonNullable:!0})],s.prototype,"enabled",void 0),o([t({type:p})],s.prototype,"device",void 0),o([t({type:["pan","zoom"],nonNullable:!0})],s.prototype,"mode",void 0),o([t({type:["forward-down","forward-up"],nonNullable:!0})],s.prototype,"tiltDirection",void 0),o([t({type:Number,nonNullable:!0})],s.prototype,"velocityFactor",void 0),s=o([r("esri.views.navigation.gamepad.GamepadSettings")],s);const i=s;export{i as default};