Native Keyboard Class
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A simple general use keyboard that is ideal for AR/VR applications that do not provide a native keyboard.
public ref class NonNativeKeyboard : Microsoft::MixedReality::Toolkit::Input::InputSystemGlobalHandlerListener, Microsoft::MixedReality::Toolkit::Input::IMixedRealityDictationHandler, UnityEngine::EventSystems::IEventSystemHandler
public class NonNativeKeyboard : Microsoft.MixedReality.Toolkit.Input.InputSystemGlobalHandlerListener, Microsoft.MixedReality.Toolkit.Input.IMixedRealityDictationHandler, UnityEngine.EventSystems.IEventSystemHandler
type NonNativeKeyboard = class inherit InputSystemGlobalHandlerListener interface IMixedRealityDictationHandler interface IEventSystemHandler
Public Class NonNativeKeyboard Inherits InputSystemGlobalHandlerListener Implements IEventSystemHandler, IMixedRealityDictationHandler
The panel that contains the alpha keys.
References @ bottom panel.
References abc bottom panel.
References .com bottom panel.
Make the keyboard disappear automatically after a timeout
Inactivity time that makes the keyboard disappear automatically.
The InputField that the keyboard uses to show the currently edited text. If you are using the Keyboard prefab you can ignore this field as it will be already assigned.
Move the axis slider based on the camera forward and the keyboard plane projection.
Bool for toggling the slider being enabled.
Bool to flag submitting on enter
The panel that contains the number and symbol keys.
Accessor reporting caps lock state of keyboard.
Accessor reporting shift state of keyboard.
Primary method for typing individual characters to a text field.
Delete the character before the caret.
Set the keyboard to a permanent shift state.
Clear the text input field.
Close the keyboard. (Clears all event subscriptions.)
Terminate dictation mode.
A task that will only complete when the input system has in a valid state.(Inherited from InputSystemGlobalHandlerListener)
Fire the text entered event for objects listening to keyboard. Immediately closes keyboard.
Trigger specific keyboard functionality.
Move caret to the left.
Move caret to the right.
Send the "next" event.
Called when dictation is completed
Called on dictation error. Not used here.
Called when dictation hypothesis is found. Not used here
Called when dictation result is obtained
Called whenever the keyboard is disabled or deactivated.
|OnEnable()||(Inherited from InputSystemGlobalHandlerListener)|
Present the default keyboard to the camera.
Presents a specific keyboard to the camera.
Presents the default keyboard to the camera, with start text.
Presents a specific keyboard to the camera, with start text.
Send the "previous" event.
|RepositionKeyboard(Transform, BoxCollider, Single)||
Function to reposition the keyboard based on target transform and collider information
Function to reposition the Keyboard based on target position and vertical offset
|SetScaleSizeValues(Single, Single, Single, Single)||
Method to set the sizes by code, as the properties are private. Useful for scaling 'from the outside', for instance taking care of differences between immersive headsets and HoloLens
Set the keyboard to a single action shift state.
Enable the alpha keyboard.
Enable the symbol keyboard.
Insert a space character.
Set up Dictation, CanvasEX, and automatically select the TextInput object.
Insert a tab character.
Fired every time the close button is pressed. (Cleared when keyboard is closed.)
Event fired when function key on keyboard is pressed. Fires before internal keyboard state is updated.
Event fired when shift key on keyboard is pressed.
Event fired when char key on keyboard is pressed.
Sent when the 'Next' button is pressed. Ideally you would use this event to set your targeted text input to the next text field in your document. (Cleared when keyboard is closed.)
Sent when the keyboard is placed. This allows listener to know when someone else is co-opting the keyboard.
Sent when the 'Previous' button is pressed. Ideally you would use this event to set your targeted text input to the previous text field in your document. (Cleared when keyboard is closed.)
Sent when the 'Enter' button is pressed. To retrieve the text from the event, cast the sender to 'Keyboard' and get the text from the TextInput field. (Cleared when keyboard is closed.)
Fired every time the text in the InputField changes. (Cleared when keyboard is closed.)