Add SP_EVENT_TYPE_BUTTON_UP and SP_EVENT_TYPE_BUTTON_DOWN