PropertyAccessor.Set method not implemented #152
Comments
What do you mean by "not implemented"? The method you specified has implementation, along with all its overloads. |
Hi Artion, Yes, is is implemented, but the Set methos in protected unsafe void Set(IntPtr guid, InputRange value) then when I instantiate a *DeviceProperties *object not is shown as method. Example: joystick.Properties.Set(..* <--- Not is public !!* I think this issue happens in most cases of this class. Best Regards. 2013/9/5 Artiom Ciumac notifications@github.com
|
These methods are hidden because DeviceProperties should provide explicit properties get/set for all supported properties (it is using ProperttyAccessor methods internally). Question is: Which property you are trying accessing that is not accessible from a get/set property in DeviceProperties directly? |
Hi, Specifically to : *protected unsafe void Set(IntPtr guid, InputRange value) I intend to normalize the values returned by the axes of the joysticks to Regards, 2013/9/5 xoofx notifications@github.com
|
I understand, but which GUID is it? |
Ah, there is no setter on DeviceProperties.Range, this is what you are looking for? I guess it should be fixable directly without exposing PropertyAccessor method. Not sure why It was not exposed in the first place. |
Yes.. Is this exactly!! In the next SharpDX revision, will it be corrected? Regards, 2013/9/5 xoofx notifications@github.com
|
I can fix it during this day, as soon as I will get some time. |
OK I'll be watching the github repository for changes. Thanks for all. Mario 2013/9/5 Artiom Ciumac notifications@github.com
|
The issue should be fixed now. |
Hi, I need to normalize the values returned by the axis. This would use the Set method (http://sharpdx.org/documentation/api/m-sharpdx-directinput-propertyaccessor-set-2). I use API version 2.5.0.0
But I see that it is not implemented. Is it normal?
Thanks
The text was updated successfully, but these errors were encountered: