@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.
Files changed (2) hide show
  1. package/dist/index.d.ts +2 -0
  2. 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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@utsp/types",
3
- "version": "0.5.0",
3
+ "version": "0.6.0-nightly.20251207012530.05b8403",
4
4
  "description": "Type definitions and interfaces for UTSP (Universal Text Stream Protocol)",
5
5
  "author": "THP Software",
6
6
  "license": "MIT",