public void PanelEvent(string profile, string panelHidId, PluginGamingPanelEnum panelId, int switchId, bool pressed, SortedList <int, IKeyPressInfo> keySequence) { /* * Your code here */ PanelEventFileWriter.WriteEventInfoToFile(profile, panelHidId, panelId, switchId, pressed, keySequence); }
public static void WriteEventInfoToFile(string profile, string panelHidId, PluginGamingPanelEnum panelId, int switchId, bool pressed, SortedList <int, IKeyPressInfo> keySequence) { if (_panelEventFileWriter == null) { _panelEventFileWriter = new PanelEventFileWriter(); } _panelEventFileWriter.WriteInfoToFile(profile, panelHidId, panelId, switchId, pressed, keySequence); }