Reply to thread

You are indeed limited to the actions defined by MediaPortal. Ideally plug-ins should be able to publish their own actions so that they can be mapped to shortcuts, thus each plug-in would not need to implement its own key mapping system, they could just use the MP1 system. For now and until actions can be published, if your plug-in is interested in the keys it should not use the action handler. It should instead get the keys from the system (WM_INPUT) and possibly use SharpLibHid to parse the message much like Auto3DPlugin does.


Hard coding shortcuts in plug-in is bad practice :)


Top Bottom