dualsense-ts
Version:
The natural interface for your DualSense and DualSense Access controllers, with Typescript
20 lines • 668 B
TypeScript
import { Input, InputParams } from "../input";
import { Axis, AxisParams } from "./axis";
export interface GyroscopeParams extends InputParams {
/** Configuration for the input's x axis */
x?: AxisParams;
/** Configuration for the input's y axis */
y?: AxisParams;
/** Configuration for the input's z axis */
z?: AxisParams;
}
/** Tracks the angular velocity of the controller. */
export declare class Gyroscope extends Input<Gyroscope> {
readonly state: this;
readonly x: Axis;
readonly y: Axis;
readonly z: Axis;
constructor(params?: GyroscopeParams);
readonly active = false;
}
//# sourceMappingURL=gyroscope.d.ts.map