public bool LM_Init(RGBKB_Event_Handler event_handler) { try { this.m_LM_ITE_RGB = new LM_ITE_RGB(); this.m_LM_EC_RGB = new LM_EC_RGB(); if (this.m_LM_ITE_RGB.ILM_RGBKB_Init(event_handler)) { Log.s(LOG_LEVEL.INIT, "LM_Manager|LM_Init : ITE solution"); this.m_KB_Solution = RGBKB_Solution.ITE; this.m_ILM_RGBKB = (ILM_RGBKB)this.m_LM_ITE_RGB; this.m_KB_Type = this.m_ILM_RGBKB.ILM_RGBKB_GetRGBKeyboardType(); this.m_bInitStatus = true; } else if (this.m_LM_EC_RGB.ILM_RGBKB_Init(event_handler)) { Log.s(LOG_LEVEL.INIT, "LM_Manager|LM_Init : EC solution"); this.m_KB_Solution = RGBKB_Solution.EC; this.m_ILM_RGBKB = (ILM_RGBKB)this.m_LM_EC_RGB; this.m_KB_Type = RGBKB_Type.SingleZone; this.m_bInitStatus = true; } else { Log.s(LOG_LEVEL.INIT, "LM_Manager|LM_Init : Not RGB Keyboard moudle"); this.m_bInitStatus = false; } } catch { this.m_bInitStatus = false; } return(this.m_bInitStatus); }
public bool ILM_RGBKB_Init(RGBKB_Event_Handler event_handler) { return(false); }