Beispiel #1
0
 public virtual void Add(KeyEventProvider.Event ev, Action handler)
 {
     subscribers[ev].Add(handler);
 }
Beispiel #2
0
 public KeyWatcher(KState.Special k, KeyEventProvider.Event e, Action h)
 {
     key        = k;
     evType     = e;
     onKeyEvent = h;
 }