Esempio n. 1
0
        KeyFilterSdlConfigMappings()
        {
            config = Config.GetInstance();
            KeyFilterSdlKeyCache keycache = KeyFilterSdlKeyCache.GetInstance();

            keycache.KeyDown += new SdlDotNet.KeyboardEventHandler(keycache_KeyDown);
            keycache.KeyUp   += new SdlDotNet.KeyboardEventHandler(keycache_KeyUp);
            MouseFilterSdlMouseCache.GetInstance().MouseDown += new SdlDotNet.MouseButtonEventHandler(KeyFilterSdlConfigMappings_MouseDown);
            MouseFilterSdlMouseCache.GetInstance().MouseUp   += new SdlDotNet.MouseButtonEventHandler(KeyFilterSdlConfigMappings_MouseUp);
        }