Skip to content
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

function 'GetAnalogActionData' #87

Open
hamsandvich opened this issue Apr 8, 2023 · 3 comments
Open

function 'GetAnalogActionData' #87

hamsandvich opened this issue Apr 8, 2023 · 3 comments

Comments

@hamsandvich
Copy link

This is what im getting after setting up everything and using the Basic Example.

Traceback (most recent call last):
File "c:\Users\logan\Desktop\SteamWorks Testing\test.py", line 22, in
steamworks = STEAMWORKS()
File "C:\Users\logan\AppData\Local\Programs\Python\Python310\lib\site-packages\steamworks-2.0.0-py3.10.egg\steamworks_init_.py", line 52, in init
File "C:\Users\logan\AppData\Local\Programs\Python\Python310\lib\site-packages\steamworks-2.0.0-py3.10.egg\steamworks_init_.py", line 104, in initialize
File "C:\Users\logan\AppData\Local\Programs\Python\Python310\lib\site-packages\steamworks-2.0.0-py3.10.egg\steamworks_init
.py", line 117, in load_steamworks_api
File "C:\Users\logan\AppData\Local\Programs\Python\Python310\lib\ctypes_init
.py", line 387, in getattr
func = self.getitem(name)
File "C:\Users\logan\AppData\Local\Programs\Python\Python310\lib\ctypes_init_.py", line 392, in getitem
func = self._FuncPtr((name_or_ordinal, self))
AttributeError: function 'GetAnalogActionData' not found. Did you mean: 'GetAnalogActionHandle'?

Is this a issue cause im using Python 3.10.10?

@hamsandvich
Copy link
Author

Code_4L3Kdm8anx

@hamsandvich
Copy link
Author

Interesting.

Something must of broke in the newer release.

When i downgraded to https://github.com/philippj/SteamworksPy/releases/tag/1.6.4

Everything started working.

@BigMeatyClaws
Copy link

For anyone still looking, it's because the method call is deprecated.
https://partner.steamgames.com/doc/api/ISteamController

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants