HexKeyboardGui
HexKeyboardGui
Section titled “HexKeyboardGui”Hexadecimal keyboard for passphrase input.
Displays a 4x4 grid of hex characters (0-9, a-f) for entering the 8-character hex suffix of the passphrase.The “Ryujinx-” prefix is automatically added when saving.Controls:
Members
Section titled “Members”m_cursorX
Section titled “m_cursorX”Type: int
m_cursorY
Section titled “m_cursorY”Type: int
m_input
Section titled “m_input”Type: char
m_inputLen
Section titled “m_inputLen”Type: int
m_inputDisplay
Section titled “m_inputDisplay”Type: tsl::elm::ListItem *
m_selectedKeyItem
Section titled “m_selectedKeyItem”Type: tsl::elm::ListItem *
Methods
Section titled “Methods”HexKeyboardGui
Section titled “HexKeyboardGui”void HexKeyboardGui()createUI
Section titled “createUI”tsl::elm::Element * createUI()Returns: tsl::elm::Element *
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”GetSelectedChar
Section titled “GetSelectedChar”char GetSelectedChar()Returns: char
UpdateSelectedKeyDisplay
Section titled “UpdateSelectedKeyDisplay”void UpdateSelectedKeyDisplay()UpdateInputDisplay
Section titled “UpdateInputDisplay”void UpdateInputDisplay()SavePassphrase
Section titled “SavePassphrase”void SavePassphrase()GenerateRandom
Section titled “GenerateRandom”void GenerateRandom()