SCA_MouseSensor::SCA_MouseSensor(SCA_MouseManager* eventmgr,
                                 int startx,int starty,
                                 short int mousemode,
                                 SCA_IObject* gameobj)
    : SCA_ISensor(gameobj,eventmgr),
      m_x(startx),
      m_y(starty)
{
	m_mousemode   = mousemode;
	m_triggermode = true;

	UpdateHotkey(this);
	Init();
}
void AmbloneHotkeys::OnCbnSelchangeComboModFakeTv() {
  UpdateHotkey(HOTKEY_FAKE_TV, &CEditKeyFakeTV, &CComboModFakeTV);
}
void AmbloneHotkeys::OnCbnSelchangeComboModStaticColour() {
  UpdateHotkey(HOTKEY_STATIC_COLOUR, &CEditKeyStaticColour, &CComboModStaticColour);
}
void AmbloneHotkeys::OnCbnSelchangeComboModSweep() {
  UpdateHotkey(HOTKEY_SWEEP, &CEditKeySweep, &CComboModSweep);
}
void AmbloneHotkeys::OnCbnSelchangeComboModDisp2() {
  UpdateHotkey(HOTKEY_DISPLAY_2, &CEditKeyDisp2, &CComboModDisp2);
}
void AmbloneHotkeys::OnEnUpdateEditKeyDisp1() {
  UpdateHotkey(HOTKEY_DISPLAY_1, &CEditKeyDisp1, &CComboModDisp1);
}