On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Console support

A topic by arvz created Aug 23, 2018 Views: 475 Replies: 3
Viewing posts 1 to 4

Hey Sophie!

I was wondering if Sinput is designed to work on console? There's support for handling all types of controllers, but it seems like it's all only meant to work on PC? 

Thanks!

Somewhat related issue so I thought I'd just stick it in this thread, but I'd love to be able to use this for WebGL builds as well!

Thanks :)

Developer

Wow I totally missed this thread, sorry!

For console: it will work. You'll need to set up common mappings for the console's gamepads but that should be straightforward.

However you should keep in mind that Sinput only wraps the Unity Input systems, it doesn't add any new functionality so if you want rumble/motion control/touchpad input/etc, Sinput isn't going to be able to manage. For that I'd hope the console you're developing for provides their own libraries? tbh I'm not sure about the specifics, the only console I've actually published a game on was OUYA :P

If you need any help I'll do what I can (just get in touch via twitter or email if it's urgent, apparently I miss forum posts for a long time :P) but I may have limits to how much I can help as I'm not a registered developer for most consoles.

Developer

For WebGL: I have no idea how gamepad support works with unity webgl builds! According to the docs it seems it's the same as standalone builds so I think Sinput should work, but if not let me know and I'll try and figure it out :)