steamworks.js-timmy 0.1.4 → 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/linux64/client.d.ts +10 -1
- package/dist/linux64/steamworksjs.linux-x64-gnu.node +0 -0
- package/dist/osx/client.d.ts +10 -1
- package/dist/osx/steamworksjs.darwin-arm64.node +0 -0
- package/dist/osx/steamworksjs.darwin-x64.node +0 -0
- package/dist/win64/client.d.ts +10 -1
- package/dist/win64/steamworksjs.win32-x64-msvc.node +0 -0
- package/package.json +1 -1
package/dist/linux64/client.d.ts
CHANGED
|
@@ -97,17 +97,21 @@ export declare namespace input {
|
|
|
97
97
|
runFrame(): void
|
|
98
98
|
/** Gets controller's motion sensors */
|
|
99
99
|
getMotionData(): MotionData | null
|
|
100
|
-
|
|
100
|
+
triggerHapticPulse(side: VibrateSide, duration: number): void
|
|
101
101
|
}
|
|
102
|
+
export function activateActionSetAll(actionSetHandle: bigint): void
|
|
102
103
|
export interface AnalogActionVector {
|
|
103
104
|
x: number
|
|
104
105
|
y: number
|
|
105
106
|
}
|
|
107
|
+
export function getActionHandle(actionName: string): bigint
|
|
106
108
|
export function getActionSet(actionSetName: string): bigint
|
|
107
109
|
export function getAnalogAction(actionName: string): bigint
|
|
108
110
|
export function getControllers(): Array<Controller>
|
|
109
111
|
export function getDigitalAction(actionName: string): bigint
|
|
112
|
+
export function getFilePathForAction(actionHandle: InputActionOrigins): string
|
|
110
113
|
export function init(): void
|
|
114
|
+
/** The conversion will return 32767 if the value is not found */
|
|
111
115
|
export const enum InputActionOrigins {
|
|
112
116
|
None = 0,
|
|
113
117
|
SteamControllerA = 1,
|
|
@@ -561,7 +565,12 @@ export declare namespace input {
|
|
|
561
565
|
/** Rotational Velocity Z axis */
|
|
562
566
|
rotVelZ: number
|
|
563
567
|
}
|
|
568
|
+
export function setInputActionManifestFilePath(path: string): void
|
|
564
569
|
export function shutdown(): void
|
|
570
|
+
export const enum VibrateSide {
|
|
571
|
+
Left = 0,
|
|
572
|
+
Right = 1
|
|
573
|
+
}
|
|
565
574
|
}
|
|
566
575
|
|
|
567
576
|
export declare namespace localplayer {
|
|
Binary file
|
package/dist/osx/client.d.ts
CHANGED
|
@@ -97,17 +97,21 @@ export declare namespace input {
|
|
|
97
97
|
runFrame(): void
|
|
98
98
|
/** Gets controller's motion sensors */
|
|
99
99
|
getMotionData(): MotionData | null
|
|
100
|
-
|
|
100
|
+
triggerHapticPulse(side: VibrateSide, duration: number): void
|
|
101
101
|
}
|
|
102
|
+
export function activateActionSetAll(actionSetHandle: bigint): void
|
|
102
103
|
export interface AnalogActionVector {
|
|
103
104
|
x: number
|
|
104
105
|
y: number
|
|
105
106
|
}
|
|
107
|
+
export function getActionHandle(actionName: string): bigint
|
|
106
108
|
export function getActionSet(actionSetName: string): bigint
|
|
107
109
|
export function getAnalogAction(actionName: string): bigint
|
|
108
110
|
export function getControllers(): Array<Controller>
|
|
109
111
|
export function getDigitalAction(actionName: string): bigint
|
|
112
|
+
export function getFilePathForAction(actionHandle: InputActionOrigins): string
|
|
110
113
|
export function init(): void
|
|
114
|
+
/** The conversion will return 32767 if the value is not found */
|
|
111
115
|
export const enum InputActionOrigins {
|
|
112
116
|
None = 0,
|
|
113
117
|
SteamControllerA = 1,
|
|
@@ -561,7 +565,12 @@ export declare namespace input {
|
|
|
561
565
|
/** Rotational Velocity Z axis */
|
|
562
566
|
rotVelZ: number
|
|
563
567
|
}
|
|
568
|
+
export function setInputActionManifestFilePath(path: string): void
|
|
564
569
|
export function shutdown(): void
|
|
570
|
+
export const enum VibrateSide {
|
|
571
|
+
Left = 0,
|
|
572
|
+
Right = 1
|
|
573
|
+
}
|
|
565
574
|
}
|
|
566
575
|
|
|
567
576
|
export declare namespace localplayer {
|
|
Binary file
|
|
Binary file
|
package/dist/win64/client.d.ts
CHANGED
|
@@ -97,17 +97,21 @@ export declare namespace input {
|
|
|
97
97
|
runFrame(): void
|
|
98
98
|
/** Gets controller's motion sensors */
|
|
99
99
|
getMotionData(): MotionData | null
|
|
100
|
-
|
|
100
|
+
triggerHapticPulse(side: VibrateSide, duration: number): void
|
|
101
101
|
}
|
|
102
|
+
export function activateActionSetAll(actionSetHandle: bigint): void
|
|
102
103
|
export interface AnalogActionVector {
|
|
103
104
|
x: number
|
|
104
105
|
y: number
|
|
105
106
|
}
|
|
107
|
+
export function getActionHandle(actionName: string): bigint
|
|
106
108
|
export function getActionSet(actionSetName: string): bigint
|
|
107
109
|
export function getAnalogAction(actionName: string): bigint
|
|
108
110
|
export function getControllers(): Array<Controller>
|
|
109
111
|
export function getDigitalAction(actionName: string): bigint
|
|
112
|
+
export function getFilePathForAction(actionHandle: InputActionOrigins): string
|
|
110
113
|
export function init(): void
|
|
114
|
+
/** The conversion will return 32767 if the value is not found */
|
|
111
115
|
export const enum InputActionOrigins {
|
|
112
116
|
None = 0,
|
|
113
117
|
SteamControllerA = 1,
|
|
@@ -561,7 +565,12 @@ export declare namespace input {
|
|
|
561
565
|
/** Rotational Velocity Z axis */
|
|
562
566
|
rotVelZ: number
|
|
563
567
|
}
|
|
568
|
+
export function setInputActionManifestFilePath(path: string): void
|
|
564
569
|
export function shutdown(): void
|
|
570
|
+
export const enum VibrateSide {
|
|
571
|
+
Left = 0,
|
|
572
|
+
Right = 1
|
|
573
|
+
}
|
|
565
574
|
}
|
|
566
575
|
|
|
567
576
|
export declare namespace localplayer {
|
|
Binary file
|