PadEvent.getButton

Extracts information about the pressed button from a pad event.

class PadEvent
uint
getButton
()

Return Value

Type: uint

the button of event