Search Unity

  1. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

GameCube controllers support

Discussion in 'Input System' started by Lelepoop, Jun 3, 2020.

  1. Lelepoop

    Lelepoop

    Joined:
    Nov 14, 2016
    Posts:
    126
    So I had access to game cube controllers a few months ago, and figured I'd implement HID classes for those godly controllers, here it is: github repo

    Installation is pretty straight forward, add it as a git package from UPM, and yeah. It gets registered as a GameCubeController type, which inherits from Gamepad. It will also reimplement some of the properties from the Gamepad class and return null on those on purpose (since those controls dont exist, or no close relative is available).

    The controls are documented in the readme file, enjoy.
     
unityunity