@utsp/types 0.5.0 → 0.6.0-nightly.20251207012530.05b8403
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/index.d.ts +2 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -553,6 +553,8 @@ interface IInputSystem {
|
|
|
553
553
|
getButtonJustReleased(device: InputDeviceType, input: number): boolean;
|
|
554
554
|
/** Query axis value (returns number, typically -1 to 1) */
|
|
555
555
|
getAxis(device: InputDeviceType, input: number): number;
|
|
556
|
+
/** Check if left mouse button is currently pressed (optional convenience method) */
|
|
557
|
+
isLeftMousePressed?(): boolean;
|
|
556
558
|
/** Start listening to events */
|
|
557
559
|
start(): void;
|
|
558
560
|
/** Stop listening to events */
|
package/package.json
CHANGED