Skip to content
Crypto90Public

About

CryptoPad - OBS Controller / Gamepad Widget

Resources

Stars

3 stars

Watchers

2 watching

Forks

Repository files navigation

CryptoPad Banner

🎮 Crypto90's CryptoPad

High-Performance Real-Time OBS Gamepad / Controller Streaming Overlay

GitHub Release Platform License Python Build Status Ko-Fi

Download Executable • Key Features • UI Preview • Skin Catalog • OBS Setup Guide • How It Works • Build Guide


💡 Overview

Displaying live controller inputs on stream is one of the most effective ways to engage viewers during speedruns, fighting games, Souls-likes, and competitive matches.

Crypto90's CryptoPad is a standalone, ultra-low latency controller visualizer designed for OBS Studio, Streamlabs, and Dual-PC streaming rigs. It captures joystick axes, button presses, trigger values, and d-pad movements directly from any connected game controller via native XInput / DirectInput, broadcasting real-time state telemetry via WebSockets into an OBS Browser Source overlay.


🚀 Download Pre-built Executable

End-users do not need Python installed. Standalone Windows executables are compiled automatically via GitHub Actions:

Version Asset Direct Download Platform
v0.2.3 (Latest) CryptoPad.exe ⬇️ Download v0.2.3 Executable Windows 10 / 11 (64-bit)

📁 Browse all versions and changelogs in GitHub Releases.


✨ Key Features

🔄 Universal Cross-Controller Mapping

Play with an Xbox controller on a PlayStation 4/5 skin, or a DualSense on an Xbox skin with zero swapped buttons, inverted axes, or broken D-pads. Includes auto-detection and profile override.

🎮 12 Handcrafted Gamepad Skins

Includes pixel-perfect vector overlays for Xbox Series X/One, PlayStation 5 (DualSense), and PlayStation 4 (DualShock 4) in Classic, Dracula, Cosmic Red, Blue, White, and Black editions.

⚡ Ultra Low-Latency WebSockets

Broadcasts controller telemetry over high-frequency WebSockets (~33Hz) for zero input lag and instant button/trigger feedback on stream.

🌐 Dual-PC Streaming & LAN Support

Run CryptoPad on your gaming PC while OBS captures the overlay over your local network (http://192.168.x.x:5001) on your dedicated streaming PC.

🛡️ Safe Dynamic Port Fallback

Automatically scans and selects an open port starting from 5001 if conflicts occur, preventing crashes and displaying active connection links.

🕹️ Plug-and-Play Hotplugging

Automatically detects when controllers are connected or disconnected, displaying live hardware name telemetry (e.g. Xbox Wireless Controller, DualSense Wireless Controller).

🎨 Windows 11 Fluent Dark Slate GUI

Modern desktop manager with live skin preview thumbnails, one-click clipboard URL copying, and an embedded activity diagnostics log.

📸 Screenshot

CryptoPad Desktop Controller & OBS Stream Scene Preview

🎨 Controller Skin Catalog

Controller Family Available Skins
Xbox (Series X / One / 360) Xbox (Standard), Xbox (blue), Xbox (dracula), Xbox (white)
PlayStation 5 (DualSense) PS5 (Standard), PS5 (black), PS5 (cosmic red)
PlayStation 4 (DualShock 4) PS4 (Standard), PS4 (blue), PS4 (dracula), PS4 (red), PS4 (white)

🎥 OBS Studio Setup Guide

  1. Connect your controller to your PC via USB or Bluetooth.
  2. Launch CryptoPad.exe.
  3. Select your desired controller skin from the list.
  4. In OBS Studio, click + (Add Source) -> Browser.
  5. Name the source (e.g., Gamepad Overlay).
  6. Set the URL to:
    http://127.0.0.1:5001
    

    💡 Dual-PC Setup: Use the LAN URL displayed in CryptoPad (e.g., http://192.168.1.150:5001).

  7. Recommended dimensions:
    • Width: 800
    • Height: 600 (or 600 x 450)
  8. Check "Shutdown source when not visible" and click OK.

🔄 How It Works

flowchart TD
    A["Gamepad Input (Buttons / Sticks / Triggers / D-Pad)"] --> B["Pygame Low-Level HID Subsystem"]
    B -->|Telemetry Capture (~33Hz)| C["CryptoPad Engine"]
    C --> D["Flask-SocketIO WebSockets Server"]
    D -->|Real-Time Event Broadcast| E["OBS Studio Browser Source"]
    
    E --> F["Jinja2 Controller Template (SVG Elements)"]
    F --> G["Animate Thumbsticks & Analog Triggers"]
    F --> H["Highlight Pressed Buttons & D-Pad"]
    
    C --> I["Desktop Controller Manager (Tkinter)"]
    I --> J["Live Skin Preview & Hotplug Status"]
    I --> K["One-Click Copy URL to Clipboard"]
Loading

🛠️ Building from Source

Prerequisites

  • Python 3.8+ (Windows 10 or 11 recommended)
  • Git

1. Clone Repository & Install Dependencies

git clone https://github.com/Crypto90/CryptoPad.git
cd CryptoPad

pip install -r requirements.txt

2. Run Locally

python CryptoPad.py

3. Build Standalone Executable

Option A (One-Click Script on Windows): Double-click build_exe.bat in the repository root.

Option B (Manual Terminal Command):

pyinstaller --onefile --noconsole --name "CryptoPad" --add-data "templates;templates" --add-data "static;static" CryptoPad.py

The compiled standalone executable will be located in:

dist/CryptoPad.exe

🤝 Contributing

Contributions, new controller skins, and bug fixes are warmly welcomed!

  1. Fork the repository.
  2. Create your feature branch (git checkout -b feature/amazing-controller-skin).
  3. Commit your changes (git commit -m 'Add amazing controller skin').
  4. Push to the branch (git push origin feature/amazing-controller-skin).
  5. Open a Pull Request.

☕ Support the Developer

If CryptoPad powers your stream overlays and controller visualizer, please consider buying me a coffee:

Buy Me a Coffee


📄 License

This project is licensed under the MIT License. See the LICENSE file for details.

About

CryptoPad - OBS Controller / Gamepad Widget

Resources

Stars

3 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages