how to script release event for toggle switchs?

How can be this controlled in that simulator? Can HIDmacros be used with this application?
Post Reply
questerYMJ
Posts: 5
Joined: 19 Sep 2011, 02:57

how to script release event for toggle switchs?

Post by questerYMJ » 19 Sep 2011, 03:05

Hello all,


I'm so glad to know that HID macros support game device for toggle switch emulate now. I'd see the sample about how to script the event of button pressed, if there are the obverse command to script the release state? (For a example,to emulate the off part of a on-off-on toggle switch).

Thanks!

admin
Site Admin
Posts: 735
Joined: 01 Nov 2010, 13:00
Location: Prague, Czech republic
Contact:

Re: how to script release event for toggle switchs?

Post by admin » 19 Sep 2011, 07:17

When you define the macro and scan the trigger event, there's a dialog that appears after pressing game device button. In this dialog you can choose whether macro is fired on press or release of the button. And of course you can have 2 different macros for the same button - one for press and another for release.
Petr Medek
LUAmacros author

questerYMJ
Posts: 5
Joined: 19 Sep 2011, 02:57

Re: how to script release event for toggle switchs?

Post by questerYMJ » 20 Sep 2011, 03:02

Thank you!

I really didn't know you make a so easy and smart way to script button events. Now HIDMacro is far better than SVmapper! A genius application you had made! Thank you!

Post Reply