steamworks.js-timmy 0.1.5 → 0.1.7
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 +7 -1
- package/dist/linux64/steamworksjs.linux-x64-gnu.node +0 -0
- package/dist/osx/client.d.ts +7 -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 +7 -1
- package/dist/win64/steamworksjs.win32-x64-msvc.node +0 -0
- package/package.json +1 -1
package/dist/linux64/client.d.ts
CHANGED
|
@@ -97,7 +97,12 @@ export declare namespace input {
|
|
|
97
97
|
runFrame(): void
|
|
98
98
|
/** Gets controller's motion sensors */
|
|
99
99
|
getMotionData(): MotionData | null
|
|
100
|
-
|
|
100
|
+
/**
|
|
101
|
+
* Triggers a vibration event
|
|
102
|
+
* It has intensity from 0 (off) to 65535 (max)
|
|
103
|
+
* use something like `setTimeout` to make a timed vibration
|
|
104
|
+
*/
|
|
105
|
+
triggerVibration(leftSpeedMicroSecond: number, rightSpeedMicroSecond: number): void
|
|
101
106
|
}
|
|
102
107
|
export function activateActionSetAll(actionSetHandle: bigint): void
|
|
103
108
|
export interface AnalogActionVector {
|
|
@@ -565,6 +570,7 @@ export declare namespace input {
|
|
|
565
570
|
/** Rotational Velocity Z axis */
|
|
566
571
|
rotVelZ: number
|
|
567
572
|
}
|
|
573
|
+
export function setInputActionManifestFilePath(path: string): void
|
|
568
574
|
export function shutdown(): void
|
|
569
575
|
export const enum VibrateSide {
|
|
570
576
|
Left = 0,
|
|
Binary file
|
package/dist/osx/client.d.ts
CHANGED
|
@@ -97,7 +97,12 @@ export declare namespace input {
|
|
|
97
97
|
runFrame(): void
|
|
98
98
|
/** Gets controller's motion sensors */
|
|
99
99
|
getMotionData(): MotionData | null
|
|
100
|
-
|
|
100
|
+
/**
|
|
101
|
+
* Triggers a vibration event
|
|
102
|
+
* It has intensity from 0 (off) to 65535 (max)
|
|
103
|
+
* use something like `setTimeout` to make a timed vibration
|
|
104
|
+
*/
|
|
105
|
+
triggerVibration(leftSpeedMicroSecond: number, rightSpeedMicroSecond: number): void
|
|
101
106
|
}
|
|
102
107
|
export function activateActionSetAll(actionSetHandle: bigint): void
|
|
103
108
|
export interface AnalogActionVector {
|
|
@@ -565,6 +570,7 @@ export declare namespace input {
|
|
|
565
570
|
/** Rotational Velocity Z axis */
|
|
566
571
|
rotVelZ: number
|
|
567
572
|
}
|
|
573
|
+
export function setInputActionManifestFilePath(path: string): void
|
|
568
574
|
export function shutdown(): void
|
|
569
575
|
export const enum VibrateSide {
|
|
570
576
|
Left = 0,
|
|
Binary file
|
|
Binary file
|
package/dist/win64/client.d.ts
CHANGED
|
@@ -97,7 +97,12 @@ export declare namespace input {
|
|
|
97
97
|
runFrame(): void
|
|
98
98
|
/** Gets controller's motion sensors */
|
|
99
99
|
getMotionData(): MotionData | null
|
|
100
|
-
|
|
100
|
+
/**
|
|
101
|
+
* Triggers a vibration event
|
|
102
|
+
* It has intensity from 0 (off) to 65535 (max)
|
|
103
|
+
* use something like `setTimeout` to make a timed vibration
|
|
104
|
+
*/
|
|
105
|
+
triggerVibration(leftSpeedMicroSecond: number, rightSpeedMicroSecond: number): void
|
|
101
106
|
}
|
|
102
107
|
export function activateActionSetAll(actionSetHandle: bigint): void
|
|
103
108
|
export interface AnalogActionVector {
|
|
@@ -565,6 +570,7 @@ export declare namespace input {
|
|
|
565
570
|
/** Rotational Velocity Z axis */
|
|
566
571
|
rotVelZ: number
|
|
567
572
|
}
|
|
573
|
+
export function setInputActionManifestFilePath(path: string): void
|
|
568
574
|
export function shutdown(): void
|
|
569
575
|
export const enum VibrateSide {
|
|
570
576
|
Left = 0,
|
|
Binary file
|