extern public static int BS2_SetNotificationListener(IntPtr context, OnAlarmFired cbOnAlarmFired, OnInputDetected cbOnInputDetected, OnConfigChanged cbOnConfigChanged);
public void NotifyInput(KeyboardState state) { OnInputDetected?.Invoke(state); }