Package org.libvirt

Enum Class KeycodeSet

All Implemented Interfaces:
Serializable, Comparable<KeycodeSet>, Constable

public enum KeycodeSet extends Enum<KeycodeSet>
  • Enum Constant Details

    • LINUX

      public static final KeycodeSet LINUX
      Linux key code set.

      Defined in the linux/input.h header, this set of key codes is able to represent any scan code from any type of keyboard.

    • XT

      public static final KeycodeSet XT
      IBM XT keyboard code set
    • ATSET1

      public static final KeycodeSet ATSET1
      AT set 1 key codes
    • ATSET2

      public static final KeycodeSet ATSET2
      AT set 2 key codes
    • ATSET3

      public static final KeycodeSet ATSET3
      AT set 3 key codes
    • OSX

      public static final KeycodeSet OSX
      Apple OS-X virtual key codes
    • XT_KBD

      public static final KeycodeSet XT_KBD
    • USB

      public static final KeycodeSet USB
      Key code set as defined by the USB HID specification
    • WIN32

      public static final KeycodeSet WIN32
      Microsoft Windows virtual key code set

      Reference: MSDN Virtual-Key Codes.

    • RFB

      public static final KeycodeSet RFB
      Key code set as used by GTK-VNC and QEMU
  • Method Details

    • values

      public static KeycodeSet[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static KeycodeSet valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      name - the name of the enum constant to be returned.
      the enum constant with the specified name
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null