dualsense-ts
Version:
The natural interface for your DualSense and DualSense Access controllers, with Typescript
57 lines • 1.66 kB
TypeScript
/** IDs of real and virtual controller inputs */
export declare const enum InputId {
Options = "Options",
Create = "Create",
Playstation = "Playstation",
Mute = "Mute",
/** The orange indicator light state */
Status = "Status",
Triangle = "Triangle",
Circle = "Circle",
Cross = "Cross",
Square = "Square",
Dpad = "Dpad",
Up = "Up",
Down = "Down",
Left = "Left",
Right = "Right",
TouchButton = "TouchButton",
TouchX0 = "TouchX0",
TouchY0 = "TouchY0",
TouchContact0 = "TouchContact0",
TouchId0 = "TouchId0",
TouchX1 = "TouchX1",
TouchY1 = "TouchY1",
TouchContact1 = "TouchContact1",
TouchId1 = "TouchId1",
LeftAnalogButton = "L3",
RightAnalogButton = "R3",
LeftTrigger = "L2",
RightTrigger = "R2",
LeftTriggerButton = "L2Button",
RightTriggerButton = "R2Button",
LeftBumper = "L1",
RightBumper = "R1",
LeftAnalogX = "LX",
LeftAnalogY = "LY",
RightAnalogX = "RX",
RightAnalogY = "RY",
GyroX = "GyroX",
GyroY = "GyroY",
GyroZ = "GyroZ",
AccelX = "AccelX",
AccelY = "AccelY",
AccelZ = "AccelZ",
/** Monotonic sensor timestamp in microseconds, from the controller's clock */
SensorTimestamp = "SensorTimestamp",
BatteryLevel = "BatteryLevel",
BatteryStatus = "BatteryStatus",
MuteLed = "MuteLed",
/** Whether a microphone is connected to the controller */
Microphone = "Microphone",
/** Whether headphones are connected to the controller */
Headphone = "Headphone",
/** For placeholder inputs */
Unknown = "Unknown"
}
//# sourceMappingURL=id.d.ts.map