Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by jwh244 · Nov 12, 2015 at 04:32 PM · inputcontrollersdksteam

Is it possible to implement the steam controller in a non-steam game?

The new steam controller looks great!

It says on the steam site that it can even work on non-steam games. However, the details are a little fuzzy..

Are there any assets/sdks available to utilize the steam controller in a regular unity game (that isn't published on steam)?

I'm surprised there hasn't been more conversation around this, that I could find at least.

Comment
Add comment · Show 2
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image meat5000 ♦ · Nov 16, 2015 at 07:27 PM 0
Share

Its not really in the vein of Unity Development if you are making it to work on an existing game. This would be an OS issue at best.

To make this a Unity question you would need to be referring to how you can set up Input $$anonymous$$anager for S$$anonymous$$mController support or making/implementing a plugin to add support that way.

Conversation is for the forum ;)

avatar image jwh244 · Nov 16, 2015 at 08:52 PM 0
Share

@meat5000 I apologize for the unclear question, you hit it right on the money though.

$$anonymous$$y question was if there were any methods to utilize the s$$anonymous$$m controller in a unity game that I am developing, but not planning on publishing to s$$anonymous$$m.

2 Replies

· Add your reply
  • Sort: 
avatar image
1

Answer by kamaradc · Feb 10, 2016 at 09:07 PM

The controller basically acts as a mouse and keyboard if you're not using it in combination with the SDK. The layout of the controller is like this:

 buttons:
 A = Return
 B = Space
 X = PageUp
 Y = PageDown
 
 Left bumper = Left Ctrl
 Right bumper = Left Alt
 Left trigger = Mouse button 1 (no axis)
 Right trigger = Mouse button 0 (no axis)
 Left flipper = Mouse button 3
 Right flipper = Mouse button 4
 
 pad button left = Mouse button 2
 pad button right = Left shift
 arrow next to steam button left = Tab
 arrow next to steam button right = Escape
 
 Axes:
 Joystick = acts as Horizontal/Vertical by sending (Left, Right, Up, Down arrow keys)
 pad left = acts as Mouse ScrollWheel axis
 pad right = acts as Mouse X and Mouse Y
 
 
Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by OR_Parga · Nov 17, 2015 at 12:55 PM

I'm also trying to use the controller in Unity Steam, with negative results. For now, what I have achieved is through a simple reading of the event log with this code:


     void OnGUI()

     {

         Event e = Event.current;

         if (e.isKey)

             Debug.Log("Detected a keyboard event!" + e.modifiers +" + " + e.keyCode + " " );

         if (e.isMouse)

             Debug.Log("Detected a Mouse event!" + e.type);

     }



If you try it you will see that some analog events are detected as keys. And there are some events not even detected, as the XY buttons.


Apparently, you can program games with the Steam control if you are part of SteamWorks. Then you can download the SDK STEAM with which you can develop or adapt applications using C ++ but not using Unity

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

6 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

vive cosmos controllers 1 Answer

Right gamepad stick not working with Input System? 1 Answer

OpenXR Continuous Turn and Movement not working 0 Answers

Virtual joystick in the new input system 0 Answers

When I try to bind a key in the new input system bind dropdown, nothing shows (linux) 2 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges