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

Method isModifierKey

src/joybuttonslot.cpp:365–375  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

363double JoyButtonSlot::getDistance() const { return m_distance; }
364
365bool JoyButtonSlot::isModifierKey()
366{
367 bool modifier = false;
368
369 if ((m_mode == JoyKeyboard) && AntKeyMapper::getInstance()->isModifierKey(qkeyaliasCode))
370 {
371 modifier = true;
372 }
373
374 return modifier;
375}
376
377bool JoyButtonSlot::isEasingActive() const { return easingActive; }
378

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected