Page 2 of 2

Re: Creating a sign

Posted: Mon Nov 05, 2018 11:35 pm
by cargo
Thank you dale.
dale_coop wrote:
Mon Nov 05, 2018 10:50 pm
LDA gamepad
Then you need to compare with those values:
#%10010000 ;; check if upright is pressed
#%10100000 ;;check if downright is pressed
#%01010000 ;;check if upleft is pressed
#%01100000 ;;check if downleft is pressed

#%00010000 ;; check if up is pressed
#%00100000 ;;check if down is pressed
#%01000000 ;;check if left is pressed
#%10000000 ;;check if right is pressed

#%00000010 ;;check if B is pressed

The last others bites might be for A, select and Start...
(I think #$00000001 for if A is pressed)