home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
Development
General Development (no feature request here!)
ACTION_VOLUME_DOWN not dispatched to Window plugin?
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="reckert" data-source="post: 422684" data-attributes="member: 91988"><p>Can somebody confirm a strange behaviour I found in a Window plugin I am trying to write: </p><p></p><p>While an ACTION_VOLUME_UP is being dispatched to my OnAction-Method, an ACTION_VOLUME_DOWN never reaches that method. This strange behaviour is independent of the input method (keyboard, remote). Volume control in MP does work, only the action never reaches my plugin.</p><p></p><p>Thanks,</p><p>Ralph Reckert</p><p></p><p></p><p>[CODE] </p><p>public class MyPlugin : GUIWindow, ISetupForm {</p><p></p><p> ....</p><p></p><p> public override void OnAction(Action action) {</p><p> switch (action.wID) {</p><p> case Action.ActionType.ACTION_VOLUME_DOWN:</p><p> Log.Debug("MyPlugin.OnAction({0}) ...", action.wID);</p><p> /* never reached */</p><p> break;</p><p></p><p> case Action.ActionType.ACTION_VOLUME_UP:</p><p> Log.Debug("MyPlugin.OnAction({0}) ...", action.wID);</p><p> /* works fine */</p><p> break;</p><p>[/CODE]</p></blockquote><p></p>
[QUOTE="reckert, post: 422684, member: 91988"] Can somebody confirm a strange behaviour I found in a Window plugin I am trying to write: While an ACTION_VOLUME_UP is being dispatched to my OnAction-Method, an ACTION_VOLUME_DOWN never reaches that method. This strange behaviour is independent of the input method (keyboard, remote). Volume control in MP does work, only the action never reaches my plugin. Thanks, Ralph Reckert [CODE] public class MyPlugin : GUIWindow, ISetupForm { .... public override void OnAction(Action action) { switch (action.wID) { case Action.ActionType.ACTION_VOLUME_DOWN: Log.Debug("MyPlugin.OnAction({0}) ...", action.wID); /* never reached */ break; case Action.ActionType.ACTION_VOLUME_UP: Log.Debug("MyPlugin.OnAction({0}) ...", action.wID); /* works fine */ break; [/CODE] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Development
General Development (no feature request here!)
ACTION_VOLUME_DOWN not dispatched to Window plugin?
Contact us
RSS
Top
Bottom