Exemplo n.º 1
0
    private static void AssignHand(KeyboardSections hand, QWERTYOptions options, List <char> characters)
    {
        if (options.SectionType.HasFlag(QWERTYSectionType.Up))
        {
            characters.AddRange(hand.Up);
        }

        if (options.SectionType.HasFlag(QWERTYSectionType.Middle))
        {
            characters.AddRange(hand.Middle);
        }

        if (options.SectionType.HasFlag(QWERTYSectionType.Down))
        {
            characters.AddRange(hand.Down);
        }

        if (options.SectionType.HasFlag(QWERTYSectionType.Numbers))
        {
            characters.AddRange(hand.Numbers);
        }
    }
Exemplo n.º 2
0
 public KeyboardQWERTY(KeyboardSections left, KeyboardSections right)
 {
     LeftHand  = left;
     RightHand = right;
 }