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
MediaPortal 1 Plugins
Popular Plugins
My Emulators
Stop key ("b") in Media Portal starts a game
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="vadimz" data-source="post: 475344" data-attributes="member: 85534"><p><strong>Found the problem</strong></p><p></p><p>In Plugin.cs <strong>OnClicked</strong> event checks the <strong>actionType</strong> and if it's anything but remote's 0 to 9 keys calls guiHandler.onFacadeClicked();</p><p></p><p>As a result any remote key press starts a game. In my case when I stop the game using remote control (mapped to 'b') if I keep it too long on stop button after Project64 closes MediaPortal catches that "b" key and starts the game again and again. </p><p></p><p>Since I only wanted to execute a game by selecting it, this is how I fixed it on my system, but there might be a better way. <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" /></p><p>Obvously you wouldn't want a case statement with only one case, but there could be more ... I don't know <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite11" alt=":rolleyes:" title="Roll Eyes :rolleyes:" loading="lazy" data-shortname=":rolleyes:" /></p><p></p><p>[CODE]switch(actionType)</p><p> {</p><p> case Action.ActionType.ACTION_SELECT_ITEM:</p><p> guiHandler.onFacadeClicked();</p><p> break;</p><p> }</p><p>[/CODE]</p></blockquote><p></p>
[QUOTE="vadimz, post: 475344, member: 85534"] [b]Found the problem[/b] In Plugin.cs [B]OnClicked[/B] event checks the [B]actionType[/B] and if it's anything but remote's 0 to 9 keys calls guiHandler.onFacadeClicked(); As a result any remote key press starts a game. In my case when I stop the game using remote control (mapped to 'b') if I keep it too long on stop button after Project64 closes MediaPortal catches that "b" key and starts the game again and again. Since I only wanted to execute a game by selecting it, this is how I fixed it on my system, but there might be a better way. :) Obvously you wouldn't want a case statement with only one case, but there could be more ... I don't know :rolleyes: [CODE]switch(actionType) { case Action.ActionType.ACTION_SELECT_ITEM: guiHandler.onFacadeClicked(); break; } [/CODE] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
Popular Plugins
My Emulators
Stop key ("b") in Media Portal starts a game
Contact us
RSS
Top
Bottom