Difference between revisions of "IsButtonPressed"
changed button codes to template
imported>Gribbleshnibit8 |
imported>Gribbleshnibit8 (changed button codes to template) |
||
Line 9: | Line 9: | ||
|Type = int | |Type = int | ||
}} | }} | ||
|example = if (IsButtonPressed 4) | |example = if (IsButtonPressed 4) | ||
; Dpad Left pressed, do soemthing | ; Dpad Left pressed, do soemthing | ||
endif | endif | ||
}} | }} | ||
{{Controller_Button_Codes}} | |||
==See Also== | ==See Also== | ||
*[[EnableButton]] | *[[EnableButton]] |