예제 #1
0
        public static long CreateKeyboardEffect(Keyboard.EFFECT_TYPE Effect, IntPtr pParam, IntPtr pEffectId)
        {
            Util.WriteLog("CreatKeyboardEffect");

            if (pParam == IntPtr.Zero)
            {
                return(0);
            }
            var customEffectType = ReadUsingMarshalPtr <Keyboard.CUSTOM_EFFECT_TYPE>(pParam);

            Gamesense.ReplicateKeyEffect(Effect, customEffectType);

            return(0);
        }
예제 #2
0
        public static long Init()
        {
            Gamesense.Initialize();

            return(0);
        }