Start Script/macro from PC

Titan Two general support. Questions, firmware update, feature request.

Start Script/macro from PC

Postby Nerf_0 » Tue Dec 03, 2019 12:15 am

Hello,

Is there a way to run/"fire off" a macro I have created from the PC that programmed it, NOT via Gtuner. Via a command line, or even a keystroke from the PC plugged into the PROG port?

if yes, if you could tell me the best practice I would appreciate it !

Thanks!
User avatar
Nerf_0
Corporal
Corporal
 
Posts: 4
Joined: Mon Dec 02, 2019 11:48 pm

Re: Start Script/macro from PC

Postby Mad » Tue Dec 03, 2019 12:20 am

Yes, You can do this.

Example;

Plug the T2 into the console via output and to the PC via prog.

Gtuner>File>New>New Input Translator

A --> BUTTON_1

Save the input translator when done, install to a memory slot.

Create your program or something like a AHK script to send the A key and it will output BUTTON_1 to the console.

Make sure KMG Capture is running in Gtuner; F4 or Tools>KMG Capture and select the keyboard.
ConsoleTuner Support Team || ConsoleTuner Discord || InputSense Discord
Mad
Major General
Major General
 
Posts: 4536
Joined: Wed May 22, 2019 5:39 am

Re: Start Script/macro from PC

Postby Nerf_0 » Tue Dec 03, 2019 1:11 am

can I have the input translator, and still have the GPC loaded?

Maybe there is a step I am missing. Not sure the best way to have both the "keyboard C button = button 2" and "button 2 = run this script" function at the same time.

Thanks.
User avatar
Nerf_0
Corporal
Corporal
 
Posts: 4
Joined: Mon Dec 02, 2019 11:48 pm

Re: Start Script/macro from PC

Postby Nerf_0 » Tue Dec 03, 2019 1:25 am

OK i was able use the line if (key_status(KEY_F1)) to get what i needed.

Is there anyway to run KMG capture outside of gtuner?

if not, no worries. thank you very much for the help!
User avatar
Nerf_0
Corporal
Corporal
 
Posts: 4
Joined: Mon Dec 02, 2019 11:48 pm

Re: Start Script/macro from PC

Postby Mad » Tue Dec 03, 2019 2:37 am

Nerf_0 wrote:can I have the input translator, and still have the GPC loaded?.


Yes drag them both into the same memory slot.

Nerf_0 wrote:Is there anyway to run KMG capture outside of gtuner?


I don't think there is.
ConsoleTuner Support Team || ConsoleTuner Discord || InputSense Discord
Mad
Major General
Major General
 
Posts: 4536
Joined: Wed May 22, 2019 5:39 am


Return to Titan Two Device

Who is online

Users browsing this forum: No registered users and 171 guests