Skip to content

C# portable CLR library VboxWrap.dll#11

Open
b23prodtm wants to merge 1 commit into
shauleiz:Xboxfrom
b23prodtm:Xbox-CLR-wrapper
Open

C# portable CLR library VboxWrap.dll#11
b23prodtm wants to merge 1 commit into
shauleiz:Xboxfrom
b23prodtm:Xbox-CLR-wrapper

Conversation

@b23prodtm

Copy link
Copy Markdown

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
Copy Markdown
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
Copy Markdown
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 notifications@github.com 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