function 'GetAnalogActionData'
hamsandvich opened this issue · 3 comments
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?
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.
For anyone still looking, it's because the method call is deprecated.
https://partner.steamgames.com/doc/api/ISteamController