new Keyboard(desktop, options)
Keyboard is a 3d keyboard that sends emulated keyboard events for the computer
Parameters:
Name | Type | Description | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
desktop |
Computer | The desktop that the keyboard is connected to |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||
options |
object | The options passed to the keyboard used for hiding & showing icons Properties
|
Properties:
Name | Type | Argument | Default | Description |
---|---|---|---|---|
scene |
scene |
<optional> |
desktop.scene | The scene that the keyboard will be added to |
room |
room |
<optional> |
desktop.room | The room that the keyboard will send events to |