-
Notifications
You must be signed in to change notification settings - Fork 350
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SteamInput GetDigitalActionGlyph returns a null string. #708
Comments
I'm surprised to hear that reading input is working. I found that it wasn't working because Steam Input never got initialized. I only got it to work after making a fork that calls the internal |
Yes indeed i Also had to decompile the dll add the Internal.init func but it does only make the controller detection work. What exactly have you changed and how do you get the icon |
In You say you decompiled the DLL. If you mean the DLL from the most recent release, it is 3 years old and there have been many code changes since then. It might make a difference if you build from the current source instead. |
Thanks for the answer. I used dotPeek to decompile some stuff had to be changed to get bo errors not sure if i removed some stuff Also i Think i set the init to false. Are you using dll files for your project or what are you doing? / should i just download the source from GitHub? |
I am still using Facepunch.Steamworks in the form of a DLL. Just one I compiled, instead of an out-of-date release. When doing this, remember to also use the latest Steamworks DLL (version 1.55). |
seem to get an error called something like "'Facepunch.Steamworks.Win64' with identity 'Facepunch... uses 'System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' which has a higher version than referenced assembly 'System.Runtime' with identity 'System.Runtime, Version=4.1.2.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'" i don't know how to make system.runtime at version 6 |
Thanks for all t he help
`
|
Hi I'm trying to detect joycon pair controllers. I edited and recompiled and referenced the dll correctly but controller collection always empty.
|
well if they detect in steam and show up as connected in the steam client they should pop up after using init. You could try and log the steaminput.controllers count in update |
Actually yes..., I'm double checking in the update method.
this may not be the correct way to do it but it's my only solution for now. |
Describe the bug
GetDigitalActionGlyph returns a null string instead of the path to the icon.
To Reproduce
Steps to reproduce the behaviour: paste the code into your project maybe assign the keyboard icon if wanted
Calling Code
Expected behaviour
I expect the function to return a Texture2D of the glyph relative to the handle
Desktop (please complete the following information):
Additional context
Hey, so this code should return the icon right? Nothing is returned. The controller id gets shown in the console. the localGlyphPath returns null for some reason. Please help I have no idea why this is happening. Also, the digitalActionHandle is correct and reading input works fine
The text was updated successfully, but these errors were encountered: