cec: don't respond with a feature abort to opcode play messages. bugzid: 873
[deb_libcec.git] / src / LibCecSharp / LibCecSharp.cpp
index 97329b3e9cd773e8dd531528c3c815dc24588261..7f0667a84066d92245f91ba1827c7aa263aabcdc 100644 (file)
@@ -235,7 +235,7 @@ namespace CecSharp
                        cec_keypress key;
                        if (m_libCec->GetNextKeypress(&key))
                        {
-                               return gcnew CecKeypress(key.keycode, key.duration);
+                               return gcnew CecKeypress((CecUserControlCode)key.keycode, key.duration);
                        }
 
                        return gcnew CecKeypress();