VirtualPS2ControllerOption

VirtualPS2ControllerOption
VirtualPS2ControllerOption

The VirtualPS2ControllerOption data object type contains the options for a virtual PS/2 controller for keyboards and mice.

In addition to the options defined in the VirtualControllerOption data object type, these options include the number of keyboards and mice.

AllOf
This class requires all of the following:
JSON Example
{
    "_typeName": "string",
    "type": "string",
    "connectOption": {
        "_typeName": "string",
        "startConnected": {
            "_typeName": "string",
            "valueIsReadonly": false,
            "supported": false,
            "defaultValue": false
        },
        "allowGuestControl": {
            "_typeName": "string",
            "valueIsReadonly": false,
            "supported": false,
            "defaultValue": false
        }
    },
    "busSlotOption": {
        "_typeName": "string",
        "type": "string"
    },
    "controllerType": "string",
    "autoAssignController": {
        "_typeName": "string",
        "valueIsReadonly": false,
        "supported": false,
        "defaultValue": false
    },
    "backingOption": [
        {
            "_typeName": "string",
            "type": "string"
        }
    ],
    "defaultBackingOptionIndex": 0,
    "licensingLimit": [
        "string"
    ],
    "deprecated": false,
    "plugAndPlay": false,
    "hotRemoveSupported": false,
    "numaSupported": false,
    "devices": {
        "_typeName": "string",
        "valueIsReadonly": false,
        "min": 0,
        "max": 0,
        "defaultValue": 0
    },
    "supportedDevice": [
        "string"
    ],
    "numKeyboards": {
        "_typeName": "string",
        "valueIsReadonly": false,
        "min": 0,
        "max": 0,
        "defaultValue": 0
    },
    "numPointingDevices": {
        "_typeName": "string",
        "valueIsReadonly": false,
        "min": 0,
        "max": 0,
        "defaultValue": 0
    }
}
numKeyboards
Required

The minimum, maximum, and default number of keyboards you can have at any given time.

This is further constrained by the number of available slots in the PS/2 controller. The minimum, maximum, and default are integers defined by three properties:

  • numKeyBoards.min: the minimum.
  • numKeyBoards.max: the maximum.
  • numKeyBoards.defaultValue: the default number.
numPointingDevices
Required

The minimum, maximum, and default number of mice you can have at any given time.

The number of mice is also limited by the number of available slots in the PS/2 controller. The minimum, maximum, and default are integers defined by three properties:

  • numPointingDevices.min: the minimum.
  • numPointingDevices.max: the maximum.
  • numPointingDevices.defaultValue: the default number.