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
Area 51 - Testing Area
[MP1-4795] Add keyboard support to HID handler
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="Rick164" data-source="post: 1189276" data-attributes="member: 17766"><p>Will test the latest build this week and report back <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" /> , believe I had one problem with one of my own plugins using the previous build which was with the MP1 OnNewAction function:</p><p></p><p>[CODE]</p><p>public void OnNewAction(Action action)</p><p>{</p><p> string keyChar = KeycodeToChar(action.m_key.KeyChar).ToLower();</p><p> string keyCode = action.m_key.KeyCode.ToString().ToLower();</p><p></p><p>// Pass the key commands to another handler</p><p> KeyCommandHandler(keyChar, keyCode);</p><p>}</p><p>[/CODE]</p><p></p><p>It would no longer report a keyChar or keyCode almost as if OnNewAction wasn't being called anymore, now with the OnNewAction it was not possible to grab modifiers (shift / control etc..) as well but believe that was a limit imposed by MP1 core.</p></blockquote><p></p>
[QUOTE="Rick164, post: 1189276, member: 17766"] Will test the latest build this week and report back :) , believe I had one problem with one of my own plugins using the previous build which was with the MP1 OnNewAction function: [CODE] public void OnNewAction(Action action) { string keyChar = KeycodeToChar(action.m_key.KeyChar).ToLower(); string keyCode = action.m_key.KeyCode.ToString().ToLower(); // Pass the key commands to another handler KeyCommandHandler(keyChar, keyCode); } [/CODE] It would no longer report a keyChar or keyCode almost as if OnNewAction wasn't being called anymore, now with the OnNewAction it was not possible to grab modifiers (shift / control etc..) as well but believe that was a limit imposed by MP1 core. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Area 51 - Testing Area
[MP1-4795] Add keyboard support to HID handler
Contact us
RSS
Top
Bottom