VoxCommando Forum

Help and Support (Using VoxCommando) => VoxCommando Basics and Core Features => Topic started by: ilya_f on February 03, 2015, 03:15:02 AM

Title: Vox and StarCitizen 2
Post by: ilya_f on February 03, 2015, 03:15:02 AM
Hi!

I'm trying to use VxC with StarCitizen game. The problem is the following:

I tried a test command (just emulates pressing "F" button) with DXInput plugin, it works fine with other games, but not with StarCitizen...

Could you please give a detailed description of the difference between DXInput, Inputkeys and Sendkeys actions. So that  I could post questions to SC support?

Are there any hints for using VxC with games?
Title: Re: Vox and StarCitizen 2
Post by: ilya_f on February 03, 2015, 03:34:19 AM
Does DXInput use Microsoft.DirectX.DirectInput: https://msdn.microsoft.com/en-us/library/windows/desktop/bb318766(v=vs.85).aspx (https://msdn.microsoft.com/en-us/library/windows/desktop/bb318766(v=vs.85).aspx)?
Title: Re: Vox and StarCitizen 2
Post by: Haddood on February 03, 2015, 04:16:38 AM
check this
http://voxcommando.com/forum/index.php?topic=1627.msg14222#msg14222
Title: Re: Vox and StarCitizen 2
Post by: ilya_f on February 03, 2015, 05:30:11 AM
Checked already, that doesn't help
Title: Re: Vox and StarCitizen 2
Post by: jitterjames on February 03, 2015, 08:25:01 AM
Quote from: ilya_f on February 03, 2015, 03:34:19 AM
Does DXInput use Microsoft.DirectX.DirectInput: https://msdn.microsoft.com/en-us/library/windows/desktop/bb318766(v=vs.85).aspx (https://msdn.microsoft.com/en-us/library/windows/desktop/bb318766(v=vs.85).aspx)?
Yes.
Title: Re: Vox and StarCitizen 2
Post by: jitterjames on February 03, 2015, 08:34:47 AM
Quote from: ilya_f on February 03, 2015, 03:15:02 AM
Hi!

I'm trying to use VxC with StarCitizen game. The problem is the following:

I tried a test command (just emulates pressing "F" button) with DXInput plugin, it works fine with other games, but not with StarCitizen...

Could you please give a detailed description of the difference between DXInput, Inputkeys and Sendkeys actions. So that  I could post questions to SC support?

Are there any hints for using VxC with games?

Hi Ilya.

Usually your best chance if playing games is to use the DxInput plugin.  Don't worry about sendkeys or inputkeys.  If DxInput does not work then they will not work either.

Try to increase the default keypress delay in the DxInput plugin settings to 50 or more.

You could also try to run VC as administrator and/or turn UAC off to see if it makes a difference.

If that does not work then I have no advice other than to make sure you are using the DxInput actions with the correct parameters.

I guess you can always try to use InputKeys for the hell of it.
Title: Re: Vox and StarCitizen 2
Post by: ilya_f on February 03, 2015, 05:16:07 PM
Launching Vox as Administrator (DXInput) did the trick! 

Is it normal? Why it works that way only in StarCitizen, other games (warthunder, IL2 BoS) work fine without Administrator privileges?
Title: Re: Vox and StarCitizen 2
Post by: jitterjames on February 03, 2015, 05:26:19 PM
I'm not an expert in these things, but generally a program cannot talk to a program that has higher level of privilege than itself because that would create a security flaw.

That is why I am not allowed to remote control Barack Obama.

So my guess is that Star Citizen is probably running with elevated privileges (i.e. as admin) for some reason.