class ButtonEvent
!!!329136.cpp!!!	ButtonEvent(in buttons : int = 0)
	setButtons(buttons);
!!!329392.cpp!!!	setButtons(in buttons : int) : void
	int mask = 0x1;
	for(int i = 0; i < 32; ++i)
	{
		m_buttons[i] = ((buttons & mask) != 0);
		mask *= 2;
	}
!!!329520.cpp!!!	getButton(in i : int) : bool
	assert((i < 32) && "Number of joystick button out of range");
	return m_buttons[i];
