cemu-DS4Windows/DS4Control/Log.cs
jays2kings df43fd0d74 Revised Custom Mapping
I kinda just felt like doing it :P wanted to test myself,
trying to make a cleaner UI
2014-03-27 21:50:40 -04:00

31 lines
667 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace DS4Control
{
public class Log
{
public static event EventHandler<DebugEventArgs> TrayIconLog;
public static event EventHandler<DebugEventArgs> GuiLog;
public static void LogToGui(string data)
{
if (GuiLog != null)
{
GuiLog(null, new DebugEventArgs(data));
}
}
public static void LogToTray(string data)
{
if (TrayIconLog != null)
{
TrayIconLog(null, new DebugEventArgs(data));
}
}
}
}