/* * Copyright (c) 2024 ETH Zürich, IT Services * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ using System; namespace SafeExamBrowser.WindowsApi.Constants { /// /// See https://learn.microsoft.com/en-us/windows/win32/api/winuser/ns-winuser-stickykeys#members /// [Flags] internal enum StickyKeysFlags : int { /// /// If this flag is set, the StickyKeys feature is on. /// ON = 0x1, /// /// If this flag is set, the StickyKeys feature is available. /// AVAILABLE = 0x2, /// /// If this flag is set, the user can turn the StickyKeys feature on and off by pressing the SHIFT key five times. /// HOTKEYACTIVE = 0x4, /// /// A confirmation dialog appears when the StickyKeys feature is activated by using the hot key. /// CONFIRMHOTKEY = 0x8, /// /// If this flag is set, the system plays a siren sound when the user turns the StickyKeys feature on or off by using the hot key. /// HOTKEYSOUND = 0x10, /// /// A visual indicator should be displayed when the StickyKeys feature is on. /// INDICATOR = 0x20, /// /// If this flag is set, the system plays a sound when the user latches, locks, or releases modifier keys using the StickyKeys feature. /// AUDIBLEFEEDBACK = 0x40, /// /// If this flag is set, pressing a modifier key twice in a row locks down the key until the user presses it a third time. /// TRISTATE = 0x80, /// /// If this flag is set, releasing a modifier key that has been pressed in combination with any other key turns off the StickyKeys feature. /// TWOKEYSOFF = 0x100, } }