He wants it work even if other buttons are pressed. So would probably have to use the and command to make it work. Example:
and t0, t0, t1
t0- The value of the controller address you load.
t1- The value you use to check or want to activate the code.
lui t0, $[first half of controller address]
lw t0, $[second half]
ori t1, zero $8000 //I used square
and t0, t0, t1
....
Thats probably how you will have to set up on loading the controller value or something similar to that.
Bookmarks