UNPKG

dualsense-ts

Version:

A natural interface for your DualSense controller, with Typescript

15 lines (10 loc) 356 B
/** A numeric value between ±Math.PI */ export type Radians = number; /** A numeric value between 0 and 360 */ export type Degrees = number; /** A numeric value between 0 and 1 */ export type Magnitude = number; /** A numeric value between -1 and 1 */ export type Force = number; /** A numeric value between 0 and 1 */ export type Intensity = number;