🕹️🎮 Input Injection Hack Tool: S2W⌨️ - XOMI🎮 - PicoS2W⌨️ - XESP32🎮
Allows using the Wi-Fi of an ESP32 to simulate a Bluetooth XInput gamepad.
This tool listens to the IID and S2W formats through UDP messages, which are interpreted as Xbox Input.
I was previously using UART. However, Bluetooth multiplatform plugins are a pain to add to the game engine I use for teaching.
Previous tutorial: https://youtu.be/-XuE9P1T2_k?t=201
To simulate XInput, we need the following library. (Archived ZIP)
Go to:
C:\Users\USER_NAME\Documents\Arduino\libraries
Unzip the following tools from the release section.
Required:
- https://github.com/tomstewart89/Callback
- https://github.com/h2zero/NimBLE-Arduino
- https://github.com/Mystfit/ESP32-BLE-CompositeHID
To use them, you will need to add the board firmware.
As a precaution, I added the reference to the ESP32 GitHub repository:
https://espressif.github.io/arduino-esp32/package_esp32_index.json
Some tools take too long to download or install and can block Arduino on Windows. See the error and solution here:
https://github.com/espressif/arduino-esp32/issues/12161#issuecomment-3680101494
You need to go to:
C:\Users\USER_NAME\.arduinoIDE\arduino-cli.yaml
And add this line to prevent Arduino from timing out during installation:
network:
connection_timeout: 300s
Introduction of ESP32

https://www.youtube.com/watch?v=RiYnucfy_rs
