The user input devices are represented by these classes. A virtual machine always has one instance of each class associated with it. These devices may not be added or removed from the virtual machine. Therefore, there are no resource pool instances for keyboard or mouse devices.
The keyboard and mouse devices are linked to the virtual machine through the Msvm_SystemDevice association. A virtual machine contains both a PS2 and a synthetic mouse device. Only one pointing device is active at a time.
The following are virtualization WMI classes related to input.
In this section
| Topic | Description |
|---|---|
| Msvm_Keyboard | Represents a keyboard device. |
| Msvm_Ps2Mouse | Represents a PS2 mouse device. |
| Msvm_SyntheticMouse | Represents a synthetic mouse device. |
Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.
