private void initParameter() { int MODE_FLAG_FIX_MOTION = 0x02; //int MODE_FLAG_AUTO_FIT_CAMERA = 0x04; int id = 0; int type = MODE_FLAG_FIX_MOTION; int mode = 2; string exist = ""; int cursor = 0; int selectStart = 0; int selectEnd = 0; double[] pos = new double[] { 0, 0, -1.05 }; double[] rot = null; int width = 800; int height = 800; int shadow = 100; string locale = "en_US"; string title = "IMETest Title"; int extraInt = 0; string extraString = ""; int buttonId = 16;//System:0 , Menu:1 , Grip:2, Touchpad:16, Trigger:17 mParameter = new WaveVR_IMEManager.IMEParameter(id, type, mode, exist, cursor, selectStart, selectEnd, pos, rot, width, height, shadow, locale, title, extraInt, extraString, buttonId); //IMEParameter(int id, int type, int mode, double[] pos, double[] rot, int width, int height, //int shadow, string locale, string title, int buttonId) }
public void InitParameter() { int MODE_FLAG_FIX_MOTION = 0x02; int MODE_FLAG_AUTO_FIT_CAMERA = 0x04; int id = 0; int type = MODE_FLAG_FIX_MOTION; int mode = 2; string exist = ""; int cursor = 0; int selectStart = 0; int selectEnd = 0; double[] pos = new double[] { 0, 0, -1 }; double[] rot = new double[] { 1.0, 0.0, 0.0, 0.0 }; int width = 800; int height = 800; int shadow = 100; string locale = ""; string title = ""; int extraInt = 0; string extraString = ""; int buttonId = CONTROLLER_BUTTON_DEFAULT; mParameter = new WaveVR_IMEManager.IMEParameter(id, type, mode, exist, cursor, selectStart, selectEnd, pos, rot, width, height, shadow, locale, title, extraInt, extraString, buttonId); }
private void showKeyboard(WaveVR_IMEManager.IMEParameter parameter) { if (!showKeyboard_ && initialized) { Log.i(LOG_TAG, "showKeyboard: done"); pmInstance.showKeyboard(parameter, inputDoneCallback); showKeyboard_ = true; } }
public void showKeyboardPassword() { if (!initialized) { InitializeKeyboards(); } WaveVR_IMEManager.IMEParameter parameter = mParameter; parameter.id = 1; showKeyboard(parameter); }
public void showKeyboardEng() { Log.i(LOG_TAG, "showKeyboardEng()"); if (!initialized) { InitializeKeyboards(); } WaveVR_IMEManager.IMEParameter parameter = mParameter; showKeyboard(parameter); }
public void showKeyboardEng() { Log.i(LOG_TAG, "showKeyboardEng click"); if (!initialized) { InitializeKeyboards(); } WaveVR_IMEManager.IMEParameter parameter = mParameter; parameter.id = 0; myInputField = getInputField("NameInputField"); if (myInputField != null) { myInputField.shouldHideMobileInput = false; //FocusOnInputField(); } showKeyboard(parameter); }
public void showKeyboardPassword() { Debug.Log("showKeyboardPassword click"); if (!initialized) { InitializeKeyboards(); } WaveVR_IMEManager.IMEParameter parameter = mParameter; parameter.id = 1; myInputField = getInputField("PasswordInputField"); if (myInputField != null) { myInputField.shouldHideMobileInput = false; Log.d(LOG_TAG, "PasswordInputField.text = " + myInputField.textComponent.text); //myInputField.textComponent.text = "Enter Password...."; //FocusOnInputField(); } showKeyboard(parameter); }