Beispiel #1
0
 private static extern bool CecManager_SendKeypress(IntPtr ptr, CecLogicalAddress iDestination, CecControlCode key, [MarshalAs(UnmanagedType.I1)] bool bWait);
Beispiel #2
0
 public async Task <bool> SendKeypress(CecLogicalAddress iDestination, CecControlCode key, bool bWait)
 {
     return(await readLock.Run(() => cecManager.SendKeypress(iDestination, key, bWait)));
 }
Beispiel #3
0
 public bool SendKeypress(CecLogicalAddress iDestination, CecControlCode key, bool bWait)
 {
     return(CecManager_SendKeypress(ptr, iDestination, key, bWait));
 }