Site Login

This Months Donations

$535.62
of $500.00 goal
Server, CDN, Network, Licensing
Development Budget
Developers Beer Fund
Recent:
Sven Eckelmann
$10.00
Nick van de Wall
$500.00
making life on the road more fun thnx
Eric Cota
$2.00
Ricardo Nunes
$2.00
Nick
$2.00
Number of donations
21
Highest donation
$500.00
Average donation
$25.41

What is "Exclusive Mode", technically?

3 years 3 months ago #1 by Clive Galway
Hi, I am involved with the vJoy project and we have been looking for a technique which would allow us to hide physical controllers from games, so that they only see the remapped vJoy version instead.
I am not a user of IM, don't have a PS4 pad, but from looking at your site, it seems that you have a solution, called "exclusive mode"?

I don't suppose anyone could point us in the right direction as to how it is done could you?

Oh and by the way, are you guys aware that vJoy is now able to create virtual XInput devices?
If you are putting dev effort into developing virtual device systems, it may be better to pool resources with Shaul @ vJoy, or even just make IM a vJoy feeder?

Please Log in or Create an account to join the conversation.

3 years 3 months ago #2 by Wobbles
We connect to input devices using the HID input libraries. These libraries allow a parameter that define whether the device should be locked and exclusive meaning only the calling application can access it (thus hiding from all other "properly" coded applications), or if the device is shared.

I make the comment about "properly" coded applications, because some applications ignore the fact that a device has an exclusive flag set and hang in a loop where they try to access an inaccessible device. Teamspeak 3 has this issue.

We currently use the Scarlet Crush library for 360 output emulation which is pretty complete, there is no real reason for us to switch as the xinput standard is pretty fixed in stone and non changing. We do however welcome all 3rd party development for plugins for the IM 2 initiative which we hope will be an any-to-any device type of framework.
The following user(s) said Thank You: Clive Galway

Please Log in or Create an account to join the conversation.

3 years 3 months ago #3 by Clive Galway
Thanks for the prompt reply, this sounds even more promising.
Damned teamspeak, I had real trouble with it missing up events on joystick PTT buttons in the past, so it doesn't surprise me much.

I don't suppose that I could trouble you for a little clarification? So we're talking about the HID API ? I don't suppose you could point us at which parameter you mentioned could you?

Even just an MSDN link or something would be great.

Please Log in or Create an account to join the conversation.

3 years 3 months ago #4 by Wobbles
No prob, our DS4 plugin code is open source so you can see the line here: github.com/InputMapper/Dualshock4/blob/m...r/DualShock4.cs#L118 which refrences a rather standard HID library that we obtained from MSDN and can be seen here: github.com/InputMapper/Dualshock4/blob/master/HidDevice.cs#L74
The following user(s) said Thank You: Clive Galway

Please Log in or Create an account to join the conversation.

3 years 3 months ago #5 by Clive Galway
Awesome, thank you so much.

Please Log in or Create an account to join the conversation.

Powered by Kunena Forum