예제 #1
0
        public KeyboardProfileItem(int ID, string Label)
        {
            this.ID    = ID;
            this.Label = Label;

            this.KeyboardColours = new List <int>();

            // We only need 70 values to represent the 61 keys (70 is needed for some reason by the keyboard..)
            for (int i = 0; i < 70; i++)
            {
                this.KeyboardColours.Add(0xFFFFFF); // White by default
            }

            KeyboardKey.InitaliseKeyboardProfile(this);
        }