MainGui
MainGui
Section titled “MainGui”Main overlay GUI.
Main menu of the ryu_ldn_nx Tesla overlay. Displays:The status section updates automatically every second (60 frames). Press R to force an immediate refresh.Settings are organized into submenus for better organization:
Members
Section titled “Members”m_statusItem
Section titled “m_statusItem”Type: *
m_updateCounter
Section titled “m_updateCounter”Type: u32
m_gameActive
Section titled “m_gameActive”Type: bool
m_serverItem
Section titled “m_serverItem”Type: *
m_ldnStateItem
Section titled “m_ldnStateItem”Type: *
m_sessionInfoItem
Section titled “m_sessionInfoItem”Type: *
m_latencyItem
Section titled “m_latencyItem”Type: *
Methods
Section titled “Methods”MainGui
Section titled “MainGui”void MainGui()createUI
Section titled “createUI”tsl::elm::Element * createUI()Returns: tsl::elm::Element *
update
Section titled “update”void update()handleInput
Section titled “handleInput”bool handleInput(u64 keysDown, u64 keysHeld, const HidTouchState & touchPos, HidAnalogStickState joyStickPosLeft, HidAnalogStickState joyStickPosRight)Parameters:
keysDown(u64)keysHeld(u64)touchPos(const HidTouchState &)joyStickPosLeft(HidAnalogStickState)joyStickPosRight(HidAnalogStickState)
Returns: bool
Methods
Section titled “Methods”RefreshStatus
Section titled “RefreshStatus”void RefreshStatus()