PadEvent.getButton

uint getButton() nothrow

Extracts information about the pressed button from a pad event.

Returns

the button of event