@vnejs/docs 0.2.12 → 0.2.13

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vnejs/docs",
3
- "version": "0.2.12",
3
+ "version": "0.2.13",
4
4
  "description": "VNEJS documentation for engine consumers and coding agents",
5
5
  "files": [
6
6
  "*.md",
@@ -6,7 +6,9 @@
6
6
 
7
7
  ## События
8
8
 
9
- Нет.
9
+ | Ключ | Строка | Смысл |
10
+ |------|--------|-------|
11
+ | `EMIT` | `vne:gamepad:emit` | Проксировать нажатие в `CONTROLS.EMIT` (`{ keys }`) с lock `inProcess`. |
10
12
 
11
13
  ## Константы
12
14
 
@@ -22,7 +24,7 @@
22
24
 
23
25
  ## Маппинг кнопок (W3C / Xbox standard)
24
26
 
25
- После того как joypad выдаёт логическое имя `button_N`, плагин эмитит ключи в `CONTROLS.EMIT`:
27
+ После того как joypad выдаёт логическое имя `button_N`, модули кнопок и триггеров эмитят `GAMEPAD.EMIT`, а `controls.gamepad` проксирует ключи в `CONTROLS.EMIT`:
26
28
 
27
29
  | joypad | Физическая (standard) | Абстрактный control |
28
30
  |--------|----------------------|---------------------|
@@ -74,7 +76,8 @@ Electron при `STEAM_DECK=1` добавляет `?steamDeck=1`.
74
76
 
75
77
  | Модуль | Зона ответственности |
76
78
  |--------|----------------------|
77
- | `controls.gamepad` | Маппинг joypad-кнопок → `CONTROLS.EMIT`; профили и lock активного пада. |
79
+ | `controls.gamepad` | `connect` / `disconnect` → sync профиля; `GAMEPAD.EMIT` → `CONTROLS.EMIT` с lock `inProcess`. |
80
+ | `controls.gamepad.buttons` | `button_press` / `button_release` → `GAMEPAD.EMIT`; lock активного пада. |
78
81
  | `controls.gamepad.device` | `button_press` / `axis_move` → `CONTROLS.DEVICE_SET` (`DEVICES.XBOX` или `DEVICES.PLAYSTATION` по `gamepad.id`). |
79
82
 
80
83
  ## Близкие плагины