Author Topic: Strange Bug?  (Read 8084 times)

OverDhill

  • Guest
Strange Bug?
« on: May 13, 2016, 12:27:35 PM »
I am working on a Voiceattack profile for Freespace 2 Open and while testing it I came across a weird bug.

I have the Delete key assigned to Decrease Weapon Energy and when I speak the command it seems to send out a Numpad * which is assigned to Chase View. I changed the Delete key to another function but again when I issue a voice command to send a Delete key is sends the Numpad *

So far this is the only example of this I have found and have pulled my hair out trying to figure out why it is doing it. I even created a simple one command test profile and it recreated the problem. 

Any ideas?

Rhaedas

  • Jr. Member
  • **
  • Posts: 72
Re: Strange Bug?
« Reply #1 on: May 13, 2016, 01:00:55 PM »
Maybe use the code tag here, select all in that command and paste it here. Have you tested what it's sending in like Notepad? If you can get it to still do it with the test profile, you could upload that here as well, it's one reason why Gary moved over to here to allow that flex.

OverDhill

  • Guest
Re: Strange Bug?
« Reply #2 on: May 13, 2016, 03:41:30 PM »
That is the weird part... it works in Notepad. This is what made me pull my hair out. I also downloaded an app to show what keys are being pressed. So my only guess is that there is something in the way it is sending directly to the game itself.

Code: [Select]
Spoken Command Keyboard Shortcut Description Category Actions
test me Press Delete key and hold for 1 second and release, Say, 'sending delete key'
view outside Press NumPad Multiply key and hold for 1 second and release, Say, 'view outside'

OverDhill

  • Guest
Re: Strange Bug?
« Reply #3 on: May 13, 2016, 03:51:39 PM »
I decided to try and test this another way. I went into the Freespace 2 Open control settings screen and clicked "Bind" then spoke the command to send the Delete key and sure enough the Pad - . showed as the new bind.

Like I said... weird

And on further testing:

I tested DCS and it worked fine but when I tested it in IL-2 1946 is did the same thing and sent a Numpad *
« Last Edit: May 13, 2016, 04:04:35 PM by OverDhill »

Pfeil

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4826
  • RTFM
Re: Strange Bug?
« Reply #4 on: May 13, 2016, 05:10:48 PM »
Have you tried switching the Key Input Method(From DirectX to Standard)? There's an API issue with DirectX where numpad stuff doesn't work properly(It'll use Numpad Delete, which outputs a dot in notepad instead).

OverDhill

  • Guest
Re: Strange Bug?
« Reply #5 on: May 13, 2016, 07:28:52 PM »
I did try that but the game doesn't see the key strokes sent that way

Is there any other keys that get messed up with that API?
« Last Edit: May 13, 2016, 07:32:08 PM by OverDhill »