2017-08-03 15:35:22 +02:00
|
|
|
|
/*
|
2022-01-21 16:33:52 +01:00
|
|
|
|
* Copyright (c) 2022 ETH Zürich, Educational Development and Technology (LET)
|
2017-08-03 15:35:22 +02:00
|
|
|
|
*
|
|
|
|
|
* 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;
|
|
|
|
|
|
2019-10-01 11:30:53 +02:00
|
|
|
|
namespace SafeExamBrowser.WindowsApi.Contracts.Events
|
2017-08-03 15:35:22 +02:00
|
|
|
|
{
|
2018-03-06 11:38:12 +01:00
|
|
|
|
/// <summary>
|
2019-10-01 11:30:53 +02:00
|
|
|
|
/// The key modifiers which can be detected by a keyboard hook.
|
2018-03-06 11:38:12 +01:00
|
|
|
|
/// </summary>
|
2017-08-03 15:35:22 +02:00
|
|
|
|
[Flags]
|
|
|
|
|
public enum KeyModifier
|
|
|
|
|
{
|
|
|
|
|
None = 0,
|
2017-08-04 12:19:56 +02:00
|
|
|
|
Alt = 0b1,
|
|
|
|
|
Ctrl = 0b10
|
2017-08-03 15:35:22 +02:00
|
|
|
|
}
|
|
|
|
|
}
|