public enum KeyboardHIDType extends java.lang.Enum<KeyboardHIDType>
Enum Constant and Description |
---|
ComboKeyboard
Combined device, working as PS/2 or USB keyboard, depending on guest behavior.
|
None
No keyboard.
|
PS2Keyboard
PS/2 keyboard.
|
USBKeyboard
USB keyboard.
|
Modifier and Type | Method and Description |
---|---|
static KeyboardHIDType |
fromValue(long v) |
static KeyboardHIDType |
fromValue(java.lang.String v) |
int |
value() |
static KeyboardHIDType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static KeyboardHIDType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KeyboardHIDType None
public static final KeyboardHIDType PS2Keyboard
public static final KeyboardHIDType USBKeyboard
public static final KeyboardHIDType ComboKeyboard
public static KeyboardHIDType[] values()
for (KeyboardHIDType c : KeyboardHIDType.values()) System.out.println(c);
public static KeyboardHIDType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int value()
public static KeyboardHIDType fromValue(long v)
public static KeyboardHIDType fromValue(java.lang.String v)