[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-111767":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":9,"language":10,"languages":9,"totalLinesOfCode":9,"stars":11,"forks":12,"watchers":13,"openIssues":14,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":16,"stars7d":13,"stars30d":17,"stars90d":15,"forks30d":15,"starsTrendScore":13,"compositeScore":18,"rankGlobal":9,"rankLanguage":9,"license":19,"archived":20,"fork":20,"defaultBranch":21,"hasWiki":22,"hasPages":20,"topics":23,"createdAt":9,"pushedAt":24,"updatedAt":25,"readmeContent":26,"aiSummary":27,"trendingCount":15,"starSnapshotCount":15,"syncStatus":12,"lastSyncTime":28,"discoverSource":29},111767,"AnyPad-PS4","Vld439\u002FAnyPad-PS4","Vld439","Other controllers on a jailbroken PS4: by USB, or from a phone over the network. PS4 port of AnyPad PS5 by elmonomalvad0.",null,"C",57,2,3,5,0,1,6,45.53,"GNU General Public License v3.0",false,"main",true,[],"2026-11-17 02:25:05","2026-11-22 13:01:59","\u003Cp align=\"center\">\u003Cimg src=\"assets\u002Ficon0.png\" width=\"180\" alt=\"AnyPad PS4\">\u003C\u002Fp>\n\n# AnyPad PS4\n\n**Mandos de otras plataformas en una PS4 con jailbreak, por USB o desde el móvil por la red.**\n**Controllers from other platforms on a jailbroken PS4, by USB or from a phone over the network.**\n\n**[Español](#español) · [English](#english)**\n\nAnyPad PS4 es un port, exclusivo para PS4, de [AnyPad PS5](https:\u002F\u002Fcodeberg.org\u002Felmonomalva0\u002FAny-Pad-ps5) de **elmonomalvad0**.\nAnyPad PS4 is a PS4-only port of [AnyPad PS5](https:\u002F\u002Fcodeberg.org\u002Felmonomalva0\u002FAny-Pad-ps5) by **elmonomalvad0**.\n\n*Proyecto no oficial, sin relación con Sony Interactive Entertainment. PlayStation, PS4, DualShock y DualSense son marcas de Sony Interactive Entertainment.*\n*Unofficial project, not affiliated with Sony Interactive Entertainment. PlayStation, PS4, DualShock and DualSense are trademarks of Sony Interactive Entertainment.*\n\n---\n\n\u003Ca name=\"español\">\u003C\u002Fa>\n# Español\n\nAnyPad PS4 es un payload que hace que la consola vea mandos de otras marcas como **DualShock 4 virtuales**: en los menús, en los juegos y en los emuladores. Hay dos formas de conectarlos:\n\n- **Por USB**, en los puertos de la consola.\n- **Por la red local**: un móvil o un PC abre una página, su navegador lee el mando conectado a *ese* dispositivo (por cable o emparejado por **Bluetooth** con el móvil) y lo envía a la consola. Así se juega sin cable sin usar el Bluetooth de la consola.\n- **Por el Bluetooth de la consola**, un **DualSense** (o Edge) o un **Switch Pro** ya enlazado con ella, y solo si lo enciendes en el menú (*Bluetooth de la consola*). Parchea el driver mientras AnyPad está en marcha y lo deja como estaba al apagarlo. Los mandos se eligen en el propio menú, al lado de la opción (**DualSense** o **Switch Pro**), y solo corre uno a la vez.\n\nProbado en una PS4 con firmware 13.52.\n\n## Qué funciona y qué no\n\n| | Estado |\n| --- | --- |\n| Mandos **Xbox 360** (XInput) por USB | ✅ probado (GameSir G8 Plus en modo Xbox 360) |\n| Mandos **Xbox One** (GIP) por USB | ⚠️ implementado, sin probar todavía en PS4 |\n| Mandos **HID** por USB con perfil (Switch Pro y compatibles, GameSir…) | ✅ probado |\n| Cualquier otro mando **HID** por USB (perfil genérico, leyendo su descriptor) | ⚠️ implementado, sin probar todavía en PS4 |\n| **GameSir Kaleid Flux** por USB | ✅ probado |\n| **GameSir G8 Plus** por USB, en su modo Xbox 360 o Switch | ✅ probado |\n| **Mando por red** desde el navegador de un móvil o PC | ✅ probado con un móvil real (GameSir y DualSense) |\n| Mandos de **Sony** (DualShock 4, DualSense) por USB a través de AnyPad | ❌ la consola se los reserva (y ya funcionan de forma nativa) |\n| **DualShock 3** (PS3) por USB | ⚠️ implementado, sin probar todavía en PS4 |\n| Mandos de **Sony** por el mando por red | ✅ probado (DualSense) |\n| **DualSense** por el **Bluetooth de la propia consola** (opción del menú, fw 13.52) | ✅ probado (sticks, botones, panel táctil, barra de luz). No lo uses a la vez que OneFamily |\n| **Switch Pro** por el **Bluetooth de la propia consola** (misma opción, fw 13.52) | ✅ probado (sticks, cruceta, botones, gatillos). Sin rumble ni luz todavía |\n\nLa lista por mando está en [COMPATIBILITY.md](COMPATIBILITY.md).\n\n## Uso\n\n1. **Descarga** `AnyPad-PS4-\u003Cversión>.elf` de [Releases](https:\u002F\u002Fgithub.com\u002FVld439\u002FAnyPad-PS4\u002Freleases), **cópialo en `\u002Fdata\u002Fpayloads`** de la consola y lánzalo. Si usas **Payload Guest**, descarga el **`.bin`**: es el mismo archivo, con la extensión que esa app muestra.\n2. Aparece una notificación con dos direcciones, con la IP de tu consola: la del **menú** (`http:\u002F\u002F\u003CIP de tu consola>:8095\u002F`) y la del **mando por red** (`http:\u002F\u002F\u003CIP de tu consola>:8096\u002F`). AnyPad también se añade a la fila de multimedia, para abrir el menú desde la consola.\n3. **Por USB**: conecta el mando. En cuanto envía su primer dato, la consola recibe un DualShock 4 virtual.\n4. **Por red**: abre la dirección del mando por red en el navegador de un móvil o un PC conectado a la **misma red** que la consola. Conecta allí el mando (por cable o emparejado por Bluetooth con el móvil) y **pulsa un botón**. Toca la pantalla una vez: la página la mantiene encendida mientras juegas; baja el brillo para ahorrar batería. Puedes conectar **varios mandos al mismo móvil**: cada uno llega a la consola como un mando distinto, con su nombre.\n5. Cuando la consola pregunte **quién usa el mando**, elige tu usuario. Si el mando no tiene botón PS, usa **Pulsar PS** en el menú.\n6. **Por el Bluetooth de la consola** (DualSense\u002FEdge o Switch Pro ya enlazado con ella): en el menú, enciende **Bluetooth de la consola** y enciende el mando **después** (si ya estaba encendido, apágalo y vuelve a encenderlo). Para el Switch Pro, elige **Switch Pro** en el menú; para volver al DualSense, **DualSense**. Al apagar AnyPad o esa opción, el driver vuelve a como estaba. Sin rumble ni luz todavía.\n\nHasta 4 mandos a la vez, contando los USB, los de red y los de Bluetooth.\n\n### Panel táctil\n\n- **Pulsar el panel** (muchos juegos lo usan para el mapa o el menú): en los mandos Xbox y GameSir es el botón **View\u002FBack**; en los de Switch, **Capture**. En el mando por red, el botón del panel de un mando de PlayStation, o el View de los demás.\n- **Deslizar el dedo**: la página del mando por red tiene una **zona táctil** que hace de panel del DualShock 4, con uno o dos dedos, y un botón **Pulsar panel**. Va al primer mando de la lista del móvil.\n\n### El menú\n\nEn `http:\u002F\u002F\u003CIP de tu consola>:8095\u002F`: los mandos conectados con su nombre y sus botones, sticks y gatillos en vivo; la dirección del mando por red y cuántos dispositivos lo usan; **Pulsar PS** por mando; el log; y **Apagar AnyPad**.\n\n**Apaga AnyPad antes de volver a cargar el ELF** (botón del menú, o crea el fichero vacío `\u002Fdata\u002Fanypad\u002Fstop`). Al entrar la consola en reposo, AnyPad se para solo: vuelve a cargarlo al despertar.\n\n### Problemas frecuentes\n\n| Problema | Qué hacer |\n| --- | --- |\n| El navegador busca en internet en vez de abrir la página | Escribe la dirección **completa, con `http:\u002F\u002F` delante**, en la barra de direcciones: `http:\u002F\u002F\u003CIP de la consola>:8096\u002F`. La IP es la **de la consola** (la de la notificación de AnyPad), no la del móvil, y AnyPad tiene que estar en marcha. |\n| La página no abre en el móvil | El móvil tiene que estar en la **misma red Wi-Fi** que la consola: no con datos móviles ni en una red de invitados (suelen aislar los dispositivos entre sí). Comprueba la dirección en la notificación de AnyPad. |\n| Antes funcionaba y ahora la página no abre | El router le dio **otra IP a la consola**. AnyPad lo detecta en unos segundos y muestra una notificación con las direcciones nuevas. Si la página del móvil no llega a la consola en 15 s, muestra un recuadro para escribir la IP nueva y te lleva a ella. Para que no cambie, **reserva una IP para la consola en tu router** (reserva DHCP o IP fija). |\n| La página dice «Esperando mandos» | Pulsa un botón del mando: los navegadores no muestran un mando hasta su primera pulsación. |\n| «AnyPad PS4: ya está en marcha» | Ya hay uno cargado. Usa ese, o apágalo desde su menú antes de cargarlo de nuevo. |\n| Un mando no llega a la consola | AnyPad maneja hasta 4 a la vez (USB y red juntos), y la consola cuenta también sus propios mandos. Desconecta alguno. |\n| Un mando de Sony por USB no hace nada | La consola se reserva los mandos de Sony por USB. Conéctalo al móvil y usa el mando por red. |\n| La consola pregunta quién usa el mando y no puedo elegir | Elige con el mando por el que pregunta. Si no tiene botón PS o no responde, usa **Pulsar PS** en el menú. |\n\n### Ficheros en la consola\n\n| Fichero | Para qué |\n| --- | --- |\n| `\u002Fdata\u002Fanypad\u002Fanypad.log` | El log (y `.log.1`, el anterior) |\n| `\u002Fdata\u002Fanypad\u002Fmaps\u002FVVVV_PPPP.map` | Corrige botones o ejes de un mando sin perfil (ver [maps\u002FEXAMPLE.map](maps\u002FEXAMPLE.map)) |\n| `\u002Fdata\u002Fanypad\u002Fstop` | Vacío: para AnyPad |\n| `\u002Fdata\u002Fanypad\u002Fno_icon`, `\u002Fdata\u002Fanypad\u002Fremove_icon` | No añadir el icono a la fila de multimedia \u002F quitarlo una vez |\n\n### Seguridad\n\nEl menú y el mando por red solo aceptan conexiones de la red local y no tienen contraseña: cualquiera en tu red puede abrirlos mientras AnyPad está en marcha. No expongas los puertos 8095 y 8096 a Internet.\n\n## Compilar\n\n```\nmake test                                   # tests en el ordenador\nmake ps4 PS4_PAYLOAD_SDK=\u002Fruta\u002Fal\u002Fsdk       # el ELF, en dist\u002F\nmake send PS4_HOST=\u003CIP de la consola> PS4_PORT=\u003Cpuerto>   # enviarlo al cargador de payloads\n```\n\nNecesitas el [ps4-payload-sdk](https:\u002F\u002Fgithub.com\u002Fps4-payload-dev\u002Fsdk) (con clang y lld). Los stubs de enlace de `libSceUsbd` y `libSceMbus`, que el SDK no trae, están en `tools\u002Fsce_stubs\u002F` y el build los compila solo. `tools\u002Fbuild-elf-ps4-docker.sh \u003Csdk> \u003Cimagen>` compila dentro de un contenedor con clang, lld y make. `tools\u002Flive.sh` habla con un AnyPad en marcha (estado, log en vivo, parar); ver [AI-WORKFLOW.md](AI-WORKFLOW.md).\n\n## Créditos\n\n- **[AnyPad PS5](https:\u002F\u002Fcodeberg.org\u002Felmonomalva0\u002FAny-Pad-ps5)**, de **elmonomalvad0**: el proyecto del que nace este port (pad virtual, perfiles de mandos, menú). Su historial está en el proyecto original y en el historial de git de este repositorio.\n- **[Control4Free](https:\u002F\u002Fgithub.com\u002FMoHadiShibli\u002FControl4Free)** (MoHadiShibli): la idea del mando por red, con el navegador como mando.\n- **[MissionControl](https:\u002F\u002Fgithub.com\u002Fndeadly\u002FMissionControl)** (ndeadly): perfiles por fabricante y modelo, y el formato de los reports de muchos mandos.\n- **[SplashDown](https:\u002F\u002Fgithub.com\u002Fseregonwar\u002FSplashDown)** (seregonwar) y **[shadPS4](https:\u002F\u002Fgithub.com\u002Fshadps4-emu\u002FshadPS4)**: la secuencia del pad virtual y el formato de sus datos.\n- **[NoSleep.js](https:\u002F\u002Fgithub.com\u002Frichtr\u002FNoSleep.js)** (Rich Tibbett, MIT): los vídeos que mantienen despierta la pantalla del móvil.\n- **[OneFamily](https:\u002F\u002Fgithub.com\u002FChiricoG\u002FOneFamily)** (ChiricoG, MIT; sobre DualSense-PS4 de Diramix): el protocolo del driver de Bluetooth de la consola y el informe de salida del DualSense.\n\n## Licencia\n\nGPL-3.0-or-later (ver [LICENSE](LICENSE)). Si publicas tu propia versión o incluyes AnyPad en otro programa, conserva los avisos, distribuye los cambios con la misma licencia y, por favor, menciona a elmonomalvad0 y enlaza el proyecto original.\n\n---\n\n\u003Ca name=\"english\">\u003C\u002Fa>\n# English\n\nAnyPad PS4 is a payload that makes the console see controllers from other brands as **virtual DualShock 4s**: in the menus, in games and in emulators. There are two ways to connect them:\n\n- **By USB**, on the console's ports.\n- **Over the local network**: a phone or PC opens a page, its browser reads the controller connected to *that* device (by cable, or paired to the phone by **Bluetooth**) and sends it to the console. That gives wireless play without the console's own Bluetooth.\n- **Over the console's Bluetooth**: a **DualSense** (or Edge) or a **Switch Pro** already linked to it, and only if you turn it on in the menu (*Console Bluetooth*). It patches the driver while AnyPad runs and puts it back when turned off. The pads are picked in the menu itself, next to the option (**DualSense** or **Switch Pro**), and only one runs at a time.\n\nTested on a PS4 with firmware 13.52.\n\n## What works and what does not\n\n| | Status |\n| --- | --- |\n| **Xbox 360** controllers (XInput) by USB | ✅ tested (GameSir G8 Plus in Xbox 360 mode) |\n| **Xbox One** controllers (GIP) by USB | ⚠️ implemented, not tested on a PS4 yet |\n| **HID** controllers by USB with a profile (Switch Pro and compatibles, GameSir…) | ✅ tested |\n| Any other **HID** controller by USB (generic profile, from its descriptor) | ⚠️ implemented, not tested on a PS4 yet |\n| **GameSir Kaleid Flux** by USB | ✅ tested |\n| **GameSir G8 Plus** by USB, in its Xbox 360 or Switch mode | ✅ tested |\n| **Network controller** from a phone or PC browser | ✅ tested with a real phone (GameSir and DualSense) |\n| **Sony** controllers (DualShock 4, DualSense) by USB through AnyPad | ❌ the console keeps them for itself (and they already work natively) |\n| **DualShock 3** (PS3) by USB | ⚠️ implemented, not tested on a PS4 yet |\n| **Sony** controllers through the network controller | ✅ tested (DualSense) |\n| **DualSense** over the **console's own Bluetooth** (menu option, fw 13.52) | ✅ tested (sticks, buttons, touchpad, light bar). Do not use it together with OneFamily |\n| **Switch Pro** over the **console's own Bluetooth** (same option, fw 13.52) | ✅ tested (sticks, d-pad, buttons, triggers). No rumble or light bar yet |\n\nThe list, controller by controller, is in [COMPATIBILITY.md](COMPATIBILITY.md).\n\n## Use\n\n1. **Download** `AnyPad-PS4-\u003Cversion>.elf` from [Releases](https:\u002F\u002Fgithub.com\u002FVld439\u002FAnyPad-PS4\u002Freleases), **copy it to `\u002Fdata\u002Fpayloads`** on the console and run it. If you use **Payload Guest**, download the **`.bin`**: the same file, with the extension that app lists.\n2. A notification shows two addresses, with your console's IP: the **menu** (`http:\u002F\u002F\u003Cyour console's IP>:8095\u002F`) and the **network controller** (`http:\u002F\u002F\u003Cyour console's IP>:8096\u002F`). AnyPad also adds itself to the media row, to open the menu from the console.\n3. **By USB**: plug the controller in. As soon as it sends its first report, the console gets a virtual DualShock 4.\n4. **Over the network**: open the network controller's address in the browser of a phone or PC on the **same network** as the console. Connect the controller there (by cable, or paired to the phone by Bluetooth) and **press a button**. Tap the screen once: the page keeps it on while you play; turn the brightness down to save battery. You can connect **several controllers to the same phone**: each one reaches the console as a separate controller, with its name.\n5. When the console asks **who is using the controller**, choose your user. If the controller has no PS button, use **Press PS** in the menu.\n6. **Over the console's Bluetooth** (a DualSense\u002FEdge or Switch Pro already linked to it): in the menu, turn on **Console Bluetooth** and turn the controller on **afterwards** (if it was already on, turn it off and on again). For the Switch Pro, pick **Switch Pro** in the menu; **DualSense** goes back. When AnyPad or that option is turned off, the driver goes back to how it was. No rumble or light bar yet.\n\nUp to 4 controllers at once, counting the USB, network and Bluetooth ones.\n\n### Touchpad\n\n- **Pressing the touchpad** (many games use it for the map or the menu): on Xbox and GameSir controllers it is the **View\u002FBack** button; on Switch ones, **Capture**. On the network controller, a PlayStation controller's touchpad button, or the others' View.\n- **Swiping**: the network controller's page has a **touch area** that acts as the DualShock 4's touchpad, with one or two fingers, and a **Pulsar panel** (press touchpad) button. It goes to the first controller in the phone's list.\n\n### The menu\n\nAt `http:\u002F\u002F\u003Cyour console's IP>:8095\u002F`: the connected controllers with their name and their buttons, sticks and triggers live; the network controller's address and how many devices use it; **Press PS** per controller; the log; and **Stop AnyPad**.\n\n**Stop AnyPad before loading the ELF again** (the menu's button, or create the empty file `\u002Fdata\u002Fanypad\u002Fstop`). When the console goes to rest mode, AnyPad stops by itself: load it again after waking up.\n\n### Troubleshooting\n\n| Problem | What to do |\n| --- | --- |\n| The browser searches the web instead of opening the page | Type the **full address, with `http:\u002F\u002F` in front**, in the address bar: `http:\u002F\u002F\u003Cconsole IP>:8096\u002F`. The IP is **the console's** (the one in AnyPad's notification), not the phone's, and AnyPad must be running. |\n| The page does not open on the phone | The phone must be on the **same Wi-Fi network** as the console: not on mobile data nor on a guest network (they usually keep devices apart). Check the address in AnyPad's notification. |\n| It worked before and now the page does not open | The router gave the console **another IP**. AnyPad notices within seconds and shows a notification with the new addresses. If the phone's page cannot reach the console for 15 s, it shows a box to type the new IP and takes you there. To keep it from changing, **reserve an IP for the console in your router** (DHCP reservation or a static IP). |\n| The page says «Esperando mandos…» (waiting for controllers) | Press a button on the controller: browsers do not show a controller until it is first pressed. |\n| \"AnyPad PS4: already running\" | One is already loaded. Use it, or stop it from its menu before loading it again. |\n| A controller does not reach the console | AnyPad handles up to 4 at once (USB and network together), and the console also counts its own controllers. Disconnect one. |\n| A Sony controller by USB does nothing | The console keeps Sony's controllers on USB for itself. Connect it to the phone and use the network controller. |\n| The console asks who is using the controller and I cannot choose | Choose with the controller it is asking about. If it has no PS button or does not answer, use **Press PS** in the menu. |\n\n### Files on the console\n\n| File | What for |\n| --- | --- |\n| `\u002Fdata\u002Fanypad\u002Fanypad.log` | The log (and `.log.1`, the previous one) |\n| `\u002Fdata\u002Fanypad\u002Fmaps\u002FVVVV_PPPP.map` | Fixes buttons or axes of a controller with no profile (see [maps\u002FEXAMPLE.map](maps\u002FEXAMPLE.map)) |\n| `\u002Fdata\u002Fanypad\u002Fstop` | Empty: stops AnyPad |\n| `\u002Fdata\u002Fanypad\u002Fno_icon`, `\u002Fdata\u002Fanypad\u002Fremove_icon` | Do not add the icon to the media row \u002F remove it once |\n\n### Security\n\nThe menu and the network controller only accept connections from the local network and have no password: anyone on your network can open them while AnyPad runs. Do not expose ports 8095 and 8096 to the Internet.\n\n## Building\n\n```\nmake test                                   # tests on the computer\nmake ps4 PS4_PAYLOAD_SDK=\u002Fpath\u002Fto\u002Fsdk       # the ELF, in dist\u002F\nmake send PS4_HOST=\u003Cconsole IP> PS4_PORT=\u003Cport>   # send it to the payload loader\n```\n\nYou need the [ps4-payload-sdk](https:\u002F\u002Fgithub.com\u002Fps4-payload-dev\u002Fsdk) (with clang and lld). The link stubs for `libSceUsbd` and `libSceMbus`, which the SDK lacks, are in `tools\u002Fsce_stubs\u002F` and the build makes them by itself. `tools\u002Fbuild-elf-ps4-docker.sh \u003Csdk> \u003Cimage>` builds inside a container with clang, lld and make. `tools\u002Flive.sh` talks to a running AnyPad (state, live log, stop); see [AI-WORKFLOW.md](AI-WORKFLOW.md).\n\n## Credits\n\n- **[AnyPad PS5](https:\u002F\u002Fcodeberg.org\u002Felmonomalva0\u002FAny-Pad-ps5)**, by **elmonomalvad0**: the project this port comes from (virtual pad, controller profiles, menu). Its history is in the original project and in this repository's git history.\n- **[Control4Free](https:\u002F\u002Fgithub.com\u002FMoHadiShibli\u002FControl4Free)** (MoHadiShibli): the idea of the network controller, with the browser as the pad.\n- **[MissionControl](https:\u002F\u002Fgithub.com\u002Fndeadly\u002FMissionControl)** (ndeadly): profiles by vendor and model, and the report layouts of many controllers.\n- **[SplashDown](https:\u002F\u002Fgithub.com\u002Fseregonwar\u002FSplashDown)** (seregonwar) and **[shadPS4](https:\u002F\u002Fgithub.com\u002Fshadps4-emu\u002FshadPS4)**: the virtual pad sequence and its data layout.\n- **[NoSleep.js](https:\u002F\u002Fgithub.com\u002Frichtr\u002FNoSleep.js)** (Rich Tibbett, MIT): the clips that keep the phone's screen awake.\n- **[OneFamily](https:\u002F\u002Fgithub.com\u002FChiricoG\u002FOneFamily)** (ChiricoG, MIT; on Diramix's DualSense-PS4): the console Bluetooth driver protocol and the DualSense output report.\n\n## License\n\nGPL-3.0-or-later (see [LICENSE](LICENSE)). If you publish your own version or include AnyPad in another program, keep the notices, distribute your changes under the same license and, please, mention elmonomalvad0 and link the original project.\n","AnyPad PS4 是一款面向越狱 PS4 的控制器兼容性增强工具，支持将非原生手柄（如 Xbox、Switch Pro、GameSir 等）通过 USB 直连、本地网络（Web 浏览器中继）或 PS4 自带蓝牙（仅 DualSense\u002FSwitch Pro）接入系统，并模拟为虚拟 DualShock 4 设备，从而在系统菜单、游戏及模拟器中正常工作。项目基于 C 实现，采用轻量级 payload 架构，运行时动态修补驱动，退出后自动还原，不修改固件。适用于越狱 PS4 用户扩展外设兼容性，尤其适合使用第三方手柄游玩未原生支持的游戏或模拟器场景。","2026-11-24 04:41:43","CREATED_QUERY"]