How to detect if I'm on a handheld PC with analog sticks and use them?

I just purchased an ASUS ROG Ally Hand held gaming PC. However, I’m unsure of how to detect if I’m currently running on that machine, vs my windows desktop. These both run Windows 11. I’m assuming there is a way to detect input options, such as analog sticks, d-pad, or buttons (X/Y/A/B - though I’m guessing these actually relate to the keyboard buttons)

I tried searching, even asking AI, but found no clear result on how to detect analog stick availability and use them.

(And sorry, it didn’t give me an option to select a product area, like Input, though it looks like it normally would)

I would assume as they’re running standard OS’s, that you just use either of Unity’s input API’s and it just works as expected. This should be pretty easy to test. I imagine if you have things set up to work with a game pad already, it should already work.

1 Like