Menu

Autohotkey + Virtual Controller, possible?

2020-02-19
2020-02-26
  • Corwin Black

    Corwin Black - 2020-02-19

    Hey, I wonder if its possible to send input from AHK to Virtual Controller. I just tried simple script that just fires S key and Space key in rapid succession.. and it doesnt work. :D (works in game, without VC enabled ofc)

    a) some way to make this work in Virtual Controller (that simple keybind of using one key to fire two controls in short time between)

    b) make AHK send input to VC

     

    Last edit: Corwin Black 2020-02-19
  • VIRTUAL

    VIRTUAL - 2020-02-21

    [Keyboard] Button X = [Keyboard] Button S, Space every 50 ms for 5 sec.

    Do you want something like this?

    Attached a configuration file for this case.

     

    Last edit: VIRTUAL 2020-02-21
  • Corwin Black

    Corwin Black - 2020-02-21

    Its more like this..

    Press+Release vXbox1 LeftBumper
    Pause for 25-50ms
    Press+Release vXbox1 RightBumper

    Key here is that it needs to be done in rather rapid succession and in that order..

    My AHK script has like 25-35ms between press and release (to register properly by game) and then pause for 35-45ms to again register next key.

    Doable with Virtual?

     
  • VIRTUAL

    VIRTUAL - 2020-02-26

    Press [LB]
    Delay1
    Release [LB]
    Delay2
    Press [RB]
    Delay3
    Release [RB]

    Currently, Delay1=Delay2=Delay3=50 ms. Can be changed in settings (Timer interval).

     
  • Corwin Black

    Corwin Black - 2020-02-26

    Works like a charm! Thank you!

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.