// Copyright Epic Games, Inc. All Rights Reserved.
// This file is automatically generated. Changes to this file may be overwritten.
namespace Epic.OnlineServices.UI
{
///
/// Enum flags for storing a key combination. The low 16 bits are the key type, and modifiers are
/// stored in the next significant bits
///
[System.Flags]
public enum KeyCombination : int
{
///
/// Number of bits to shift the modifiers into the integer.
///
ModifierShift = 16,
///
/// A mask to isolate the single key.
///
KeyTypeMask = (1 << ModifierShift) - 1,
///
/// A mask to isolate the modifier keys.
///
ModifierMask = ~KeyTypeMask,
///
/// The Shift key
///
Shift = (1 << ModifierShift),
///
/// The Control key
///
Control = (2 << ModifierShift),
///
/// The Alt key
///
Alt = (4 << ModifierShift),
///
/// The Windows key on a Windows keyboard or the Command key on a Mac keyboard
///
Meta = (8 << ModifierShift),
ValidModifierMask = (Shift | Control | Alt | Meta),
None = 0,
Space,
Backspace,
Tab,
Escape,
PageUp,
PageDown,
End,
Home,
Insert,
Delete,
Left,
Up,
Right,
Down,
Key0,
Key1,
Key2,
Key3,
Key4,
Key5,
Key6,
Key7,
Key8,
Key9,
KeyA,
KeyB,
KeyC,
KeyD,
KeyE,
KeyF,
KeyG,
KeyH,
KeyI,
KeyJ,
KeyK,
KeyL,
KeyM,
KeyN,
KeyO,
KeyP,
KeyQ,
KeyR,
KeyS,
KeyT,
KeyU,
KeyV,
KeyW,
KeyX,
KeyY,
KeyZ,
Numpad0,
Numpad1,
Numpad2,
Numpad3,
Numpad4,
Numpad5,
Numpad6,
Numpad7,
Numpad8,
Numpad9,
NumpadAsterisk,
NumpadPlus,
NumpadMinus,
NumpadPeriod,
NumpadDivide,
F1,
F2,
F3,
F4,
F5,
F6,
F7,
F8,
F9,
F10,
F11,
F12,
F13,
F14,
F15,
F16,
F17,
F18,
F19,
F20,
F21,
F22,
F23,
F24,
OemPlus,
OemComma,
OemMinus,
OemPeriod,
///
/// ';' for US layout, others vary
///
Oem1,
///
/// '/' for US layout, others vary
///
Oem2,
///
/// '~' for US layout, others vary
///
Oem3,
///
/// '[' for US layout, others vary
///
Oem4,
///
/// '\' for US layout, others vary
///
Oem5,
///
/// ']' for US layout, others vary
///
Oem6,
///
/// '"' for US layout, others vary
///
Oem7,
///
/// varies on all layouts
///
Oem8,
///
/// Maximum key enumeration value.
///
MaxKeyType
}
}