MCPcopy Create free account
hub / github.com/OpenVR-Advanced-Settings/OpenVR-AdvancedSettings / showKeyboard

Method showKeyboard

src/overlaycontroller.cpp:1535–1548  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1533}
1534
1535void OverlayController::showKeyboard( QString existingText,
1536 unsigned long userValue )
1537{
1538 vr::VROverlay()->ShowKeyboardForOverlay(
1539 m_ulOverlayHandle,
1540 vr::k_EGamepadTextInputModeNormal,
1541 vr::k_EGamepadTextInputLineModeSingleLine,
1542 0,
1543 "Advanced Settings Overlay",
1544 1024,
1545 existingText.toStdString().c_str(),
1546 userValue );
1547 setKeyboardPos();
1548}
1549
1550void OverlayController::setKeyboardPos()
1551{

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected