public MainWindow() { InitializeComponent(); _sb = Switchblade.Instance; _dkLog = new ObservableCollection <string>(); DkLogList.ItemsSource = _dkLog; LogDk("DK logger initialized!"); _sb.DynamicKeys.DynamicKeyEvent += DynamicKeysOnDynamicKeyEvent; _gestureLog = new ObservableCollection <string>(); GestureLogBox.ItemsSource = _gestureLog; LogGesture("Gesture logger initialized!"); _sb.Touchpad.EnableGesture(GestureTypes.All); _sb.Touchpad.Gesture += TouchpadOnGesture; }
public MainWindow() { InitializeComponent(); _sb = Switchblade.Instance; _dkLog = new ObservableCollection<string>(); DkLogList.ItemsSource = _dkLog; LogDk("DK logger initialized!"); _sb.DynamicKeys.DynamicKeyEvent += DynamicKeysOnDynamicKeyEvent; _gestureLog = new ObservableCollection<string>(); GestureLogBox.ItemsSource = _gestureLog; LogGesture("Gesture logger initialized!"); _sb.Touchpad.EnableGesture(GestureTypes.All); _sb.Touchpad.Gesture += TouchpadOnGesture; }