Free cookie consent management tool by TermsFeed Policy Generator

source: branches/HeuristicLab.Problems.GrammaticalOptimization/SharpVectorCore/Events/KeyLocationCode.cs @ 13777

Last change on this file since 13777 was 12762, checked in by aballeit, 9 years ago

#2283 GUI updates, Tree-chart, MCTS Version 2 (prune leaves)

File size: 1.6 KB
Line 
1using System;
2
3namespace SharpVectors.Dom.Events
4{
5  /// <remarks>
6  /// Note: In case a DOM implementation wishes to provide new location
7  /// information, all values above the value of this constant can be
8  /// used for that effect and generic DOM applications should consider
9  /// values above the value of this constant as being equivalent to
10  /// <see cref="KeyLocationCode.Unknown">Unknown</see>.
11  /// </remarks>
12  public enum KeyLocationCode
13    : ulong
14  {
15    /// <summary>
16    /// The key activation is not distinguished as the left or right
17    /// version of the key, and did not originate from the numeric
18    /// keypad (or did not originate with a virtual key corresponding to
19    /// the numeric keypad). Example: the 'Q' key on a PC 101 Key US.
20    /// </summary>
21    Standard = 0x00,
22    /// <summary>
23    /// The key activated is in the left key location (there is more than
24    /// one possible location for this key). Example: the left Shift key
25    /// on a PC 101 Key US.
26    /// </summary>
27    Left = 0x01,
28    /// <summary>
29    /// The key activation is in the right key location (there is more
30    /// than one possible location for this key). Example: the right
31    /// Shift key on a PC 101 Key US.
32    /// </summary>
33    Right = 0x02,
34    /// <summary>
35    /// The key activation originated on the numeric keypad or with a
36    /// virtual key corresponding to the numeric keypad. Example: the
37    /// '1' key on a PC 101 Key US.
38    /// </summary>
39    Numpad = 0x03,
40    /// <summary>
41    /// Implementations can use this constant to indicate that the
42    /// location of the key cannot be determined.
43    /// </summary>
44    Unknown = 0x04,
45  }
46}
Note: See TracBrowser for help on using the repository browser.