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

C# portable CLR library VboxWrap.dll #11

Open
wants to merge 1 commit into
base: Xbox
Choose a base branch
from

Conversation

b23prodtm
Copy link

Hello @shauleiz,

Here's a patch of the Xinput Wrapper portable to C#.
The file IWrapper.cpp is a managed C++ class, equivalent to a C# class.
I added Trigger Thresholds and Axes Deadzones management designed for the Xinput Gamepads. It allows the feeder to call Axes, Buttons and Triggers from C# with the produced library.

Produced files vJoy\x64\Release-Xbox\vJoyInterface.dll and VboxWrap.dll were used to compile recent MFIGamepadFeeder .

Sincere regards,
@b23prodtm

IWrapper is a managed C++/CLR -> C# accessible class for vjoyinterface.h and XboxInterface.h
Build DLL (Debug-XBOX)
Test Xbox feeder with the managed class wrapper
Added Enums as const and Dpad 8 pov optimization
GetVJDstatus() is in a managed class
Added Threshold and Deadzones management designed for Xinput Gamepads.
Axes, Buttons and Triggers callbacks optimization
@b23prodtm b23prodtm changed the title Added (Release-XBOX) to Solution CLR library VboxWrap.dll C# portable CLR library VboxWrap.dll Sep 25, 2016
@shauleiz
Copy link
Owner

I don't understand what you are trying to do.
If you want to add a wrapper dll around vJoyInterface.dll then this is already done.
If you want to add a wrapper dll around vGenInterface.dll then then you are welcome to add it. Only that it should be a separate project and should not change existing code.
I have seen that have even changed the compiler from v120 to v140 which I do not approve.

@b23prodtm
Copy link
Author

I'm sorry to disturb you but I needed to see if it can merge or not because the original interfaces does not provide a C# wrapper.

Envoyé de mon iPhone

Le 26 sept. 2016 à 11:35, Shaul [email protected] a écrit :

I don't understand what you are trying to do.
If you want to add a wrapper dll around vJoyInterface.dll then this is already done.
If you want to add a wrapper dll around vGenInterface.dll then then you are welcome to add it. Only that it should be a separate project and should not change existing code.
I have seen that have even changed the compiler from v120 to v140 which I do not approve.


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

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

Successfully merging this pull request may close these issues.

2 participants