Multi input?

wallmasterr

Active member
Can we use the input editor like this?
Selecting 2 buttons at once? or am I doing something wrong? Does it activate when either of them are pressed rather than both?

NesmakerInputMulti.PNG
 

dale_coop

Moderator
Staff member
This will execute the action if one of the "LEFT" or "B" buttons are pressed
I think you can't set a script for "both buttons" in the Input Editor (you have to set one in the editor and check the other one in the script).
 

wallmasterr

Active member
found out that this Kinda dose what I want for anyones future refrence.
Create this is a nes script and add it in input manager under left or right hold then these "AND" things point to different buttons

Code:
LDA gamepad
        ;;AND #%00010000		;; if UP is pressed
	;;AND #%00000001		;; if A is pressed
	  AND #%00000010		;; if B is pressed
BNE +
RTS
+ ;;do stuff here
 
Top Bottom