public bool ILM_RGBKB_SetColor(
     RGBKB_Mode layout_mode,
     RGBKB_Effect layout_effect,
     RGBKB_Color layout_color)
 {
     return(false);
 }
 public bool ILM_RGBKB_GetEffectALL(
     RGBKB_Mode layout_mode,
     ref RGBKB_Effect layout_effect,
     ref uint layout_light,
     ref uint layout_speed,
     ref RGBKB_Direction layout_direction,
     ref RGBKB_Color layout_color)
 {
     return(false);
 }
 public bool ILM_RGBKB_SetEffectALL(
     RGBKB_Mode layout_mode,
     RGBKB_Effect layout_effect,
     uint layout_light,
     uint layout_speed,
     RGBKB_Direction layout_direction,
     RGBKB_Color layout_color,
     RGBKB_NV_SAVE layout_save)
 {
     return(false);
 }
Exemple #4
0
        public static void SetKeyboardColor(byte red, byte green, byte blue)
        {
            RGBKB_Color clr = new RGBKB_Color(true, 4U);

            for (uint ind = 0; ind < 4; ++ind)
            {
                clr.ColorBuffer[ind].R = red;
                clr.ColorBuffer[ind].G = green;
                clr.ColorBuffer[ind].B = blue;
            }

            //Console.WriteLine("!!! SET effect");
            lm_manager.LM_SetEffectALL(RGBKB_Mode.Lighting, RGBKB_Effect.Single, 4, 0, RGBKB_Direction.LeftRight, clr, RGBKB_NV_SAVE.NOT_SAVE);
            lm_manager.LM_SetEffectALL(RGBKB_Mode.Lighting, RGBKB_Effect.Single, 4, 0, RGBKB_Direction.LeftRight, clr, RGBKB_NV_SAVE.SAVE);
            lm_manager.LM_SetEffectALL(RGBKB_Mode.Welcome, RGBKB_Effect.Single, 4, 0, RGBKB_Direction.LeftRight, clr, RGBKB_NV_SAVE.NOT_SAVE);
            lm_manager.LM_SetEffectALL(RGBKB_Mode.Welcome, RGBKB_Effect.Single, 4, 0, RGBKB_Direction.LeftRight, clr, RGBKB_NV_SAVE.SAVE);
        }