steamworks.js-timmy 0.1.18 → 0.1.19
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/client.d.ts +15 -0
- package/dist/linux64/client.d.ts +15 -0
- package/dist/linux64/steamworksjs.linux-x64-gnu.node +0 -0
- package/dist/osx/client.d.ts +15 -0
- package/dist/osx/steamworksjs.darwin-arm64.node +0 -0
- package/dist/osx/steamworksjs.darwin-x64.node +0 -0
- package/dist/win64/client.d.ts +15 -0
- package/dist/win64/steamworksjs.win32-x64-msvc.node +0 -0
- package/package.json +1 -1
package/client.d.ts
CHANGED
|
@@ -567,6 +567,16 @@ export declare namespace input {
|
|
|
567
567
|
PS5Controller = 'PS5Controller',
|
|
568
568
|
SteamDeckController = 'SteamDeckController'
|
|
569
569
|
}
|
|
570
|
+
export const enum KeyboardInputKind {
|
|
571
|
+
/** The text input that will closes on Enter keypress */
|
|
572
|
+
SingleLine = 0,
|
|
573
|
+
/** Text input that will closes on user's demand. */
|
|
574
|
+
MultiLine = 1,
|
|
575
|
+
/** Text input that will make typing email address easier. */
|
|
576
|
+
Email = 2,
|
|
577
|
+
/** Text input that will make typing numeric input easier. */
|
|
578
|
+
Numeric = 3
|
|
579
|
+
}
|
|
570
580
|
export interface MotionData {
|
|
571
581
|
/** Absolute Rotation (drift) X axis */
|
|
572
582
|
rotQuatX: number
|
|
@@ -592,6 +602,11 @@ export declare namespace input {
|
|
|
592
602
|
export function runFrame(): void
|
|
593
603
|
export function setInputActionManifestFilePath(path: string): boolean
|
|
594
604
|
export function shutdown(): void
|
|
605
|
+
/**
|
|
606
|
+
* Opens a floating keyboard over the game content and sends OS keyboard keys directly to the game.
|
|
607
|
+
* The text field position is specified in pixels relative the origin of the game window and is used to position the floating keyboard in a way that doesn't cover the text field.
|
|
608
|
+
*/
|
|
609
|
+
export function triggerOnScreenKeyboard(keyboardInputKind: KeyboardInputKind, xPosOfTextInput: number, yPosOfTextInput: number, widthOfTextInput: number, heightOfTextInput: number, dismissedCallback?: (arg?: unknown) => unknown | undefined | null): boolean
|
|
595
610
|
export const enum VibrateSide {
|
|
596
611
|
Left = 0,
|
|
597
612
|
Right = 1
|
package/dist/linux64/client.d.ts
CHANGED
|
@@ -567,6 +567,16 @@ export declare namespace input {
|
|
|
567
567
|
PS5Controller = 'PS5Controller',
|
|
568
568
|
SteamDeckController = 'SteamDeckController'
|
|
569
569
|
}
|
|
570
|
+
export const enum KeyboardInputKind {
|
|
571
|
+
/** The text input that will closes on Enter keypress */
|
|
572
|
+
SingleLine = 0,
|
|
573
|
+
/** Text input that will closes on user's demand. */
|
|
574
|
+
MultiLine = 1,
|
|
575
|
+
/** Text input that will make typing email address easier. */
|
|
576
|
+
Email = 2,
|
|
577
|
+
/** Text input that will make typing numeric input easier. */
|
|
578
|
+
Numeric = 3
|
|
579
|
+
}
|
|
570
580
|
export interface MotionData {
|
|
571
581
|
/** Absolute Rotation (drift) X axis */
|
|
572
582
|
rotQuatX: number
|
|
@@ -592,6 +602,11 @@ export declare namespace input {
|
|
|
592
602
|
export function runFrame(): void
|
|
593
603
|
export function setInputActionManifestFilePath(path: string): boolean
|
|
594
604
|
export function shutdown(): void
|
|
605
|
+
/**
|
|
606
|
+
* Opens a floating keyboard over the game content and sends OS keyboard keys directly to the game.
|
|
607
|
+
* The text field position is specified in pixels relative the origin of the game window and is used to position the floating keyboard in a way that doesn't cover the text field.
|
|
608
|
+
*/
|
|
609
|
+
export function triggerOnScreenKeyboard(keyboardInputKind: KeyboardInputKind, xPosOfTextInput: number, yPosOfTextInput: number, widthOfTextInput: number, heightOfTextInput: number, dismissedCallback?: (arg?: unknown) => unknown | undefined | null): boolean
|
|
595
610
|
export const enum VibrateSide {
|
|
596
611
|
Left = 0,
|
|
597
612
|
Right = 1
|
|
Binary file
|
package/dist/osx/client.d.ts
CHANGED
|
@@ -567,6 +567,16 @@ export declare namespace input {
|
|
|
567
567
|
PS5Controller = 'PS5Controller',
|
|
568
568
|
SteamDeckController = 'SteamDeckController'
|
|
569
569
|
}
|
|
570
|
+
export const enum KeyboardInputKind {
|
|
571
|
+
/** The text input that will closes on Enter keypress */
|
|
572
|
+
SingleLine = 0,
|
|
573
|
+
/** Text input that will closes on user's demand. */
|
|
574
|
+
MultiLine = 1,
|
|
575
|
+
/** Text input that will make typing email address easier. */
|
|
576
|
+
Email = 2,
|
|
577
|
+
/** Text input that will make typing numeric input easier. */
|
|
578
|
+
Numeric = 3
|
|
579
|
+
}
|
|
570
580
|
export interface MotionData {
|
|
571
581
|
/** Absolute Rotation (drift) X axis */
|
|
572
582
|
rotQuatX: number
|
|
@@ -592,6 +602,11 @@ export declare namespace input {
|
|
|
592
602
|
export function runFrame(): void
|
|
593
603
|
export function setInputActionManifestFilePath(path: string): boolean
|
|
594
604
|
export function shutdown(): void
|
|
605
|
+
/**
|
|
606
|
+
* Opens a floating keyboard over the game content and sends OS keyboard keys directly to the game.
|
|
607
|
+
* The text field position is specified in pixels relative the origin of the game window and is used to position the floating keyboard in a way that doesn't cover the text field.
|
|
608
|
+
*/
|
|
609
|
+
export function triggerOnScreenKeyboard(keyboardInputKind: KeyboardInputKind, xPosOfTextInput: number, yPosOfTextInput: number, widthOfTextInput: number, heightOfTextInput: number, dismissedCallback?: (arg?: unknown) => unknown | undefined | null): boolean
|
|
595
610
|
export const enum VibrateSide {
|
|
596
611
|
Left = 0,
|
|
597
612
|
Right = 1
|
|
Binary file
|
|
Binary file
|
package/dist/win64/client.d.ts
CHANGED
|
@@ -567,6 +567,16 @@ export declare namespace input {
|
|
|
567
567
|
PS5Controller = 'PS5Controller',
|
|
568
568
|
SteamDeckController = 'SteamDeckController'
|
|
569
569
|
}
|
|
570
|
+
export const enum KeyboardInputKind {
|
|
571
|
+
/** The text input that will closes on Enter keypress */
|
|
572
|
+
SingleLine = 0,
|
|
573
|
+
/** Text input that will closes on user's demand. */
|
|
574
|
+
MultiLine = 1,
|
|
575
|
+
/** Text input that will make typing email address easier. */
|
|
576
|
+
Email = 2,
|
|
577
|
+
/** Text input that will make typing numeric input easier. */
|
|
578
|
+
Numeric = 3
|
|
579
|
+
}
|
|
570
580
|
export interface MotionData {
|
|
571
581
|
/** Absolute Rotation (drift) X axis */
|
|
572
582
|
rotQuatX: number
|
|
@@ -592,6 +602,11 @@ export declare namespace input {
|
|
|
592
602
|
export function runFrame(): void
|
|
593
603
|
export function setInputActionManifestFilePath(path: string): boolean
|
|
594
604
|
export function shutdown(): void
|
|
605
|
+
/**
|
|
606
|
+
* Opens a floating keyboard over the game content and sends OS keyboard keys directly to the game.
|
|
607
|
+
* The text field position is specified in pixels relative the origin of the game window and is used to position the floating keyboard in a way that doesn't cover the text field.
|
|
608
|
+
*/
|
|
609
|
+
export function triggerOnScreenKeyboard(keyboardInputKind: KeyboardInputKind, xPosOfTextInput: number, yPosOfTextInput: number, widthOfTextInput: number, heightOfTextInput: number, dismissedCallback?: (arg?: unknown) => unknown | undefined | null): boolean
|
|
595
610
|
export const enum VibrateSide {
|
|
596
611
|
Left = 0,
|
|
597
612
|
Right = 1
|
|
Binary file
|