Skip to content

About

Xbox 360 HID controller driver

Resources

Stars

0 stars

Watchers

0 watching

Forks

 
 

Latest commit

 

History

42 Commits

Folders and files

Repository files navigation

HidDriver 360

Note

About this fork: it fixes the black screen freeze on BadUpdate consoles. On BadUpdate everything runs from a USB stick, and hiddriver resets the whole USB driver at startup so already connected controllers get picked up. That reset pulls the rug out from under the stick the console is running from, and it locks up right after XeUnshackle (#57, #20, #73). This fork skips the reset when a USB drive is connected, so it boots fine. The only catch is that a controller plugged in before boot needs to be replugged once. Controllers plugged in after boot work like normal.

Also fixed: a missing return in the capabilities hook, plus null checks so a failed lookup aborts cleanly instead of freezing.

Tested on a retail 17559 BadUpdate console only, not on RGH or devkits.

Heads up: this fork is kind of slopified with Claude (AI). Claude tracked the freeze down with a boot log on the console and wrote the fix. It works on my console, but review it before you trust it. The fix is also up as a PR to the original repo.

Experimental on-console HID driver focussing on providing third party, non xinput controller support to the xbox 360 without dongles.

What works

  • Supports both 17559 retail and 17489 devkit dashboards
  • Reading controller input via USB
  • Up to 4 concurrent controllers, in combination with original xbox 360 controllers or without them
  • Controllers are registered inside xam and therefore fully recognized in the entire xbox 360 user interface, ring of light will update accordingly, no original controllers are needed etc
  • The controller works in all tested games

Current limitations

  • no rumble support

Supported controllers

  • DualShock 4 (PS4 controller)
  • DualShock 4 Wireless Adapter (CUH-ZWA1E)
  • DualSense (PS5 controller)
  • DualSense Edge
  • DualShock 3
  • Nintendo Switch Pro controller
  • Any USB HID compliant controller thanks to built in mapping assistant :) (this excludes modern xbox controllers like xbox one and xbox series because microsoft made them GIP only)

How to use

  1. load plugin (either at runtime or at boot via your launch.ini)
  2. Connect controllers via USB
  3. Controllers with a built in mapping will start working right away, for all other controllers that are USB HID compliant a mapping assistant will be started that guides you through the process of mapping your controller
  4. enjoy :)

How to build

  1. Acquire the official Xbox 360 SDK using black magic
  2. Install visual studio 2010 ultimate and visual studio 2019
  3. Install the sdk using the "FULL" preset
  4. Open the solution in visual studio 2019 and build
  5. Hopefully enjoy :)

Showcase

Showcase.mp4

Attributions

  • EinTim23 for Reverse engineering the xbox 360s HID and controller implementation and implementing this driver
  • localcc for providing help about low level USB related questions and beaming the idea of doing this into my head
  • Rapidjson JSON library used to save/load user defined mappings
  • Lufa HID report descriptor parser implementation used in hiddriver360 is derived from their implementation
  • iMoD1998 Creating the Detours library used in hiddriver360

About

Xbox 360 HID controller driver

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages