Jump to content

Proposal: Nintendo Controller Support


al2009man
 Share

Recommended Posts

Been learning how to do PCGamingWiki Template:Input for a while. So, while I was working on updating SteamInput and preparing to implement "Gamepad Motion Sensor" support, I was wondering if...down in the road: I wanna propose adding Nintendo Controller field for the sake of completion-ness.

As of this writing: anything related to Nintendo Controller is resided on Others/Generic Controller...but I understand. Nintendo Controllers, specifically: Nintendo Switch Controllers is rarely supported and the vast majority of games don't ship with it...

however: if using Unreal Engine 4/5's RawInpt plugin: an Nintendo Switch controller can be supported. if using Unity's Input System or using Rewired plugin: an Nintendo Switch controller support can be supported. If using SDL_GameController (SDL2/SDL3): an Nintendo Controller Type is automatically supported (the button prompt portion and button layout is manual work, tho). Hell; outside of Windows OS: a Nintendo Switch controller is natively supported on either MacOS or Linux kernels. If using Steam Input API, if done correctly: a Nintendo Switch controller is natively supported. Heck: emulators supports it.

So, the way how I'll plan to include Nintendo Controller will be a bit of a merge between "XInput-compatible Controller" and "PlayStation Controller", here's my planned format 

Quote
  • Nintendo controllers - Will be listing major Nintendo Controller types (this will be based on SDL HIDAPI) , most commonly: Nintendo Switch Pro Controller, Nintendo Switch Joy-Cons, Nintendo Wii Remote (with or without Nunchuk), Nintendo Wiimote Plus (with or without Nunchuk), Nintendo GameCube Controller, etc. 
  • Nintendo button prompts - Will be listing supported Controller prompts. (As Nintendo controllers often does with a reversed button layout, this should be considered.
  • HD Rumble Support (Nintendo Switch only) - Will be listed if the game uses HD Rumble functionality.*
  • Connection modes - WIll be listing possible connection modes that the game can detect. Bluetooth appears to be the most common supported, in context of third-party controllers.

    *note: HD Rumbles are more of a equivalent to Steam Controller rumbles than DualSense's.

you can provide feedback for this, and what needs to be change or added upon.  

For now: I will be planning to work on this after getting the pull request for both "Field for manual switching of controller button prompts in Input" and "Expanding Tracked motion sensor" additions merged.

 

 

Link to comment
Share on other sites

  • 4 weeks later...

As promised, I started working on it a week ago.

image.thumb.png.d6f73dedf5a8036034c60f56217e97f4.png

As I initially laid out, the current setup includes

  • Nintendo controllers: similar to PlayStation controllers section: you can list off a set of what Nintendo Controllers is supported, this include Nintendo Switch's Joy-Con methods. This covers from Nintendo Gamecube up to Nintendo Switch.
  • Nintendo button prompt: similar to how PlayStation controllers handles button prompt support. Normally: Nintendo Switch prompts is the most commonly supported, but certain games may opt to use Positional prompts-style Switch prompts.
  • Nintendo button layout: the game might support the correct button layout position for menu navigational purposes.
  • HD Rumble vibration: for Nintendo Switch controllers (or future Nintendo controllers that still uses HD Rumbles); it may support HD Rumbles. 
  • Connection modes: this'll cover games that may actually support Wired connectivity or Wireless, or a USB Adapter in the case of Nintendo GameCube.

NFC and IR Sensors (for Nintendo Switch) isn't in the list, as both of them aren't widely used on PC as of this writing- but for the time being: it'll cover the most commonly supported PC Games only.

Link to comment
Share on other sites

  • 3 months later...
On 8/21/2024 at 4:30 AM, flameman said:

Hello @al2009man. Changes look great! How work is going?

95% of the work is already done, the 5% percent is the polishing stages.

but right now; i cannot fully finish the 5 percent until PCGW Developers merged the SteamInput update/Input Prompt Override/Motion Sensor support to the Input template, and as mentioned on "Field for manual switching of controller button prompts in Input" forum post. That needs to be prioritized first before Nintendo Controller Support row.

As of this writing; it's taking far longer to get it approved for the next major PCGW update than I thought it would be.

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...