Page 1 of 1

Buttons assignment

PostPosted: Fri Nov 02, 2018 9:57 am
by muplos
Hi,

Is there possible to assign two DS4 buttons to one button on the beyboard or mouse, for example L3 + R3 to tab button on the keyboard?

Re: Buttons assignment

PostPosted: Fri Nov 02, 2018 1:57 pm
by Sillyasskid
Code: Select all
#include <keyboard.gph>
#include <ps4.gph>
 
main {
  if(key_status(KEY_TAB)) {
    set_val(PS4_L3, 100);
    set_val(PS4_R3, 100);
  }
}

Re: Buttons assignment

PostPosted: Fri Nov 02, 2018 2:22 pm
by muplos
Sillyasskid wrote:
Code: Select all
#include <keyboard.gph>
#include <ps4.gph>
 
main {
  if(key_status(KEY_TAB)) {
    set_val(PS4_L3, 100);
    set_val(PS4_R3, 100);
  }
}


Is any easy way to set it in gtuner?

Re: Buttons assignment

PostPosted: Fri Nov 02, 2018 3:43 pm
by Sillyasskid
My bad That script will only work with the Titan Two not the Titan One.

For the Titan One, I'm pretty sure the procedure is to first assign the tab key to the CEMU_EXTRA1 button within the Max-Aim Plugin. Then load this script inside Max-Aim.

Code: Select all
 
main {
  if(get_val(CEMU_EXTRA1)) {
    set_val(PS4_L3, 100);
    set_val(PS4_R3, 100);
  }
}