MCPcopy Create free account
hub / github.com/AntiMicroX/antimicrox / dpadButtonClickEvent

Method dpadButtonClickEvent

src/inputdevice.cpp:757–763  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

755}
756
757void InputDevice::dpadButtonClickEvent(int buttonindex)
758{
759 JoyDPadButton *dpadbutton = qobject_cast<JoyDPadButton *>(sender());
760
761 if (dpadbutton != nullptr)
762 emit rawDPadButtonClick(dpadbutton->getDPad()->getIndex(), buttonindex);
763}
764
765void InputDevice::dpadButtonReleaseEvent(int buttonindex)
766{

Callers

nothing calls this directly

Calls 2

getIndexMethod · 0.45
getDPadMethod · 0.45

Tested by

no test coverage detected