Difference between revisions of "DisableButton"

303 bytes removed ,  20:58, 18 December 2016
changed button codes to use template
imported>Gribbleshnibit8
(Created page with "{{Function |origin = LU |summary = Prevents the game from registering input from a button. (Script functions will still register the input.) Multiple buttons can be specifie...")
 
imported>Gribbleshnibit8
(changed button codes to use template)
 
Line 9: Line 9:
   |Type = int
   |Type = int
   }}
   }}
==Controller Button Codes==
<pre>
00001 : DPAD_UP
00002 : DPAD_DOWN
00004 : DPAD_LEFT
00008 : DPAD_RIGHT
00016 : START
00032 : BACK
00064 : LEFT_THUMBSTICK
00128 : RIGHT_THUMBSTICK
00256 : LEFT_SHOULDER (LB)
00512 : RIGHT_SHOULDER (RB)
01024 : XBOX_GUIDE
04096 : BUTTON_A
08192 : BUTTON_B
16384 : BUTTON_X
32768 : BUTTON_Y
</pre>
  |example = DisableButton 15 ; disable the d-pad
  |example = DisableButton 15 ; disable the d-pad
  DisableButton 63487 ; disable all buttons
  DisableButton 63487 ; disable all buttons
}}
}}
 
{{Controller_Button_Codes}}
==See Also==
==See Also==
*[[EnableButton]]
*[[EnableButton]]