Author Topic: programming Not passing Joystick button events  (Read 1473 times)

ericwi

  • Guest
programming Not passing Joystick button events
« on: August 11, 2017, 11:20:41 AM »
Is there away for VA not pass the joystick button press to the app, but just pass the key stroke command.

So an even of the joystick 1 button 1 press would press G on the keyboard, but the game( Kerbal ) would not see joystickButton1 being pressed.

[I know you can make the game not see it in the settings but then I cannot use that Button1 on any joystick due to a limitation in the game, and  I want to use the Button1 elsewhere. ]

Gary

  • Administrator
  • Hero Member
  • *****
  • Posts: 2832
Re: programming Not passing Joystick button events
« Reply #1 on: August 11, 2017, 12:36:16 PM »
Hi, there.

Unfortunately, I do not have a way to do that as the process for acquiring the joystick press is not via Windows event hook that can be, 'handled', but by polling the state of the joystick's buttons.  Sorry about that... it would be a good thing, though.