public enum WlKeyboardKeymapFormat extends Enum<WlKeyboardKeymapFormat>
This specifies the format of the keymap provided to the client with the wl_keyboard.keymap event.
| Enum Constant and Description |
|---|
NO_KEYMAP
no keymap; client must understand how to interpret the raw keycode
|
XKB_V1
libxkbcommon compatible; to determine the xkb keycode, clients must add 8 to the key event keycode
|
| Modifier and Type | Field and Description |
|---|---|
int |
value |
| Modifier and Type | Method and Description |
|---|---|
static WlKeyboardKeymapFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WlKeyboardKeymapFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WlKeyboardKeymapFormat NO_KEYMAP
public static final WlKeyboardKeymapFormat XKB_V1
public static WlKeyboardKeymapFormat[] values()
for (WlKeyboardKeymapFormat c : WlKeyboardKeymapFormat.values()) System.out.println(c);
public static WlKeyboardKeymapFormat valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2016. All rights reserved.