Пример #1
0
        /// <summary>
        /// Enable keyboard led
        /// </summary>
        /// <param name="led">The led</param>
        public static void LedEnable(KbLeds led)
        {
            ledByte |= (int)led;

            updateLeds();
        }
Пример #2
0
        /// <summary>
        /// Disable keyboard led
        /// </summary>
        /// <param name="led">the led</param>
        public static void LedDisable(KbLeds led)
        {
            ledByte = ledByte & ~(int)led;

            updateLeds();
        }