Hi,

I want to know if my code is good? I would like that:

dpad be on the right analog
the right analog is on the left analog
l left analog on the dpad


// Posted by LEX LOST, a member of the community in the CronusMAX Forums - http://cronusmax.com/forums

// Posted: Tuesday 9th of October, 2018 10:30 UTC


/ ************************************************* **********************************************

SWAP LEFT ANALOG STICK WITH DPAD

System: MULTI
Controller: MULTI
Author: LEX LOST member of the community in the CronusMAX Forums - <a href="http://www.cronusmax.com/forums" target="_blank"> http://www.cronusmax.com/forums</a >

INSTRUCTIONS:
DPAD UP = move forward; DPAD DOWN = move backward; DPAD RIGHT = strafe right; DPAD LEFT = strafe left;
Left analog UP = RIGHT analog UP; Left analog DOWN = RIGHT analog DOWN; Left analog RIGHT = RIGHT analog RIGHT; Left analog LEFT = RIGHT analog LEFT;
RIGHT analog UP = DPAD UP; RIGHT analog DOWN = DPAD DOWN; RIGHT analog RIGHT = DPAD RIGHT; RIGHT analog LEFT = DPAD LEFT;

************************************************** ********************************************** /

define AimSens = 80; // (range 0-100) less or less meaning while while aiming
define MoveSens = 100; // (range 0-100) increase or decrease

hand {

set_val (11, 0);
set_val (12, 0);
set_val (13, 0);
set_val (14, 0);
set_val (15, 0);
set_val (16, 0);
set_val (?, 0);
set_val (?, 0);


if (get_lval (13)) {set_val (12, -MoveSens);}
if (get_lval (14)) {set_val (12, MoveSens);}
if (get_lval (16)) {set_val (11, MoveSens);}
if (get_lval (15)) {set_val (11, -MoveSens);}

if (get_lval (?) <-80) {set_val (13, 100);}
if (get_lval (?)> 80) {set_val (14, 100);}
if (get_lval (?) <-80) {set_val (15, 100);}
if (get_lval (?)> 80) {set_val (16, 100);}


if (get_lval (12) <-80) {set_val (?, - MoveSens);}
if (get_lval (12)> 80) {set_val (?, MoveSens);}
if (get_lval (11) <-80) {set_val (?, MoveSens);}
if (get_lval (11)> 80) {set_val (?, - MoveSens);}
} // end

ha! and I do not know the value of the analog right I have it replaced by one? if you could enlighten me please

thank you in advance.


(google trad)