void SetJoystick::propogateSetAxisButtonRelease(int button) { JoyAxisButton *axisButton = static_cast<JoyAxisButton*>(sender()); JoyAxis *axis = axisButton->getAxis(); if (!axisButton->getIgnoreEventState()) { emit setAxisButtonRelease(index, axis->getIndex(), button); } }