@utsp/input 0.17.3 → 0.17.4
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/README.md +27 -19
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,36 +1,44 @@
|
|
|
1
|
+
<div align="center">
|
|
2
|
+
|
|
1
3
|
# @utsp/input
|
|
2
4
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
> This package is currently in early development and should **NOT** be used in production.
|
|
6
|
-
> The API is unstable and subject to breaking changes without notice.
|
|
5
|
+
[](https://www.npmjs.com/package/@utsp/input)
|
|
6
|
+
[](https://opensource.org/licenses/MIT)
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
Visit [**UTSP.dev**](https://utsp.dev/) for more information.
|
|
9
9
|
|
|
10
|
-
|
|
10
|
+
</div>
|
|
11
|
+
|
|
12
|
+
---
|
|
13
|
+
|
|
14
|
+
The **Unified Input** system for UTSP. It abstracts raw hardware events into a clean, action-based API, supporting keyboard, mouse, touch, and gamepads with ease.
|
|
11
15
|
|
|
12
|
-
|
|
16
|
+
> [!WARNING]
|
|
17
|
+
> **PROTOTYPE - NOT READY FOR PRODUCTION**
|
|
18
|
+
> This package is under active development. The API is unstable and subject to breaking changes.
|
|
13
19
|
|
|
14
|
-
|
|
20
|
+
> [!NOTE]
|
|
21
|
+
> **Source Code Availability**
|
|
22
|
+
> While this package is licensed under MIT, the source code is currently being finalized for public release. It will be available on GitHub in the coming months.
|
|
15
23
|
|
|
16
|
-
|
|
17
|
-
- ❌ No documentation available yet
|
|
18
|
-
- ❌ Breaking changes expected
|
|
19
|
-
- ❌ Not recommended for production use
|
|
24
|
+
## ✨ Features
|
|
20
25
|
|
|
21
|
-
|
|
26
|
+
- **🎮 Universal Router**: Single entry point for all input devices.
|
|
27
|
+
- **⌨️ Multi-device**: Support for Keyboard, Mouse, Touch, and Gamepads.
|
|
28
|
+
- **🗺️ Touch Zones**: Virtual on-screen touch areas for mobile controls.
|
|
29
|
+
- **🧩 Custom Bindings**: Flexible mapping of raw inputs to logical axes/buttons.
|
|
30
|
+
- **📱 Haptics**: Synchronized vibration support for mobile devices.
|
|
22
31
|
|
|
23
|
-
## Installation
|
|
32
|
+
## 📦 Installation
|
|
24
33
|
|
|
25
34
|
```bash
|
|
26
35
|
npm install @utsp/input
|
|
27
36
|
```
|
|
28
37
|
|
|
29
|
-
##
|
|
38
|
+
## 📖 Documentation
|
|
30
39
|
|
|
31
|
-
|
|
32
|
-
- [Issues](https://github.com/thp-software/utsp/issues)
|
|
40
|
+
For detailed guides on the protocol and application development, visit the official [**Documentation**](https://docs.utsp.dev/introduction).
|
|
33
41
|
|
|
34
|
-
## License
|
|
42
|
+
## 📄 License
|
|
35
43
|
|
|
36
|
-
MIT ©
|
|
44
|
+
MIT © 2026 [THP Software](https://github.com/thp-software)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@utsp/input",
|
|
3
|
-
"version": "0.17.
|
|
3
|
+
"version": "0.17.4",
|
|
4
4
|
"description": "Comprehensive input management system for UTSP - keyboard, mouse, gamepad, and touch support with unified routing",
|
|
5
5
|
"author": "THP Software",
|
|
6
6
|
"license": "MIT",
|
|
@@ -104,7 +104,7 @@
|
|
|
104
104
|
"access": "public"
|
|
105
105
|
},
|
|
106
106
|
"dependencies": {
|
|
107
|
-
"@utsp/types": "0.17.
|
|
107
|
+
"@utsp/types": "0.17.4"
|
|
108
108
|
},
|
|
109
109
|
"devDependencies": {
|
|
110
110
|
"typescript": "^5.6.3"
|