I want to get the Keys from the Keyboard to my process plugin...
I tried this way:
But there I have the problem, that SendMessagePlugin doesn't work anymore if I activate my plugin!
So I want to read the keys from Keyboard! Does MediaPortal gives a function for that?
Thanks!
I tried this way:
#region IPluginReceiver Members
bool IPluginReceiver.WndProc(ref System.Windows.Forms.Message msg)
{
if (msg.Msg == WM_APP && msg.WParam.ToInt32() == ID_MESSAGE_COMMAND)
{
if (msg.LParam.ToInt32() == intCode)
{
//Do something
}
return true;
}
return false;
}
#endregion
But there I have the problem, that SendMessagePlugin doesn't work anymore if I activate my plugin!
So I want to read the keys from Keyboard! Does MediaPortal gives a function for that?
Thanks!