Home Reference Source
import VirtualKeyboardInputSource from 'potassium-es/src/input/VirtualKeyboardInputSource.js'
public class | source

VirtualKeyboardInputSource

Extends:

action-input/src/input/InputSource~InputSource → VirtualKeyboardInputSource

VirtualKeyboardInputSource watches events on a Three.js based keyboard

/*|0/command

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public
public get

Method Summary

Public Methods
public
public

handlePick(leftIntersect: *, rightIntersect: *)

public
public

queryInputPath(partialPath: string): *

Public Constructors

public constructor() source

Public Members

public keyboardGroup: * source

public get name: string: string source

Return:

string

a human readable name

Public Methods

public handleLeftActivate() source

public handlePick(leftIntersect: *, rightIntersect: *) source

Params:

NameTypeAttributeDescription
leftIntersect *
rightIntersect *

public handleRightActivate() source

public queryInputPath(partialPath: string): * source

Params:

NameTypeAttributeDescription
partialPath string

the relative semantic path for an input

Return:

*

the value of the the input, or null if the path does not exist