MCPcopy Create free account
hub / github.com/PCSX2/pcsx2 / wheelEvent

Method wheelEvent

pcsx2-qt/Debugger/Memory/MemoryView.cpp:927–938  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

925}
926
927void MemoryView::wheelEvent(QWheelEvent* event)
928{
929 if (event->angleDelta().y() < 0)
930 {
931 m_table.UpdateStartAddress(m_table.startAddress + 0x10);
932 }
933 else if (event->angleDelta().y() > 0)
934 {
935 m_table.UpdateStartAddress(m_table.startAddress - 0x10);
936 }
937 update();
938}
939
940void MemoryView::keyPressEvent(QKeyEvent* event)
941{

Callers

nothing calls this directly

Calls 2

UpdateStartAddressMethod · 0.80
updateFunction · 0.50

Tested by

no test coverage detected