MediaPortal Forums HTPC/MediaCenter

Go Back   MediaPortal Forum » Community Skins and Plugins » MediaPortal Plugins


Reply
 
LinkBack (1) Thread Tools Display Modes
Old 2007-07-20, 14:14   #1 (permalink)
Portal Member
 
Join Date: Aug 2006
Location: Rotterdam, NL
Age: 34
Posts: 26
Thanks: 0
Thanked 13 Times in 4 Posts


Post Generic Keyboard/Remote Input Plugin

KeyboardInputPlugin is a MediaPortal plug-in. Using a similar mapping mechanism as used for remote controls, one can map arbitrary key presses to MediaPortal actions, windows, etc. As opposed to the regular MediaPortal key mapping mechanism this plug-in takes the Control, Alt, Shift and Win modifier keys into account, and allows more elaborate mappings.

Updated version 2.0.0.0 (Nov 4, 2008)
Changes since last version:
  • Changed key interception mechanism:
    • Captures virtually all key combinations, including Win-keys.
    • Keystrokes that are mapped by this plug-in will be ‘eaten’; they will not be passed on to MediaPortal, so no more ‘double’ key presses or the need to remove MediaPortal’s keymap.xml.
    • (Limited) support for passing through keystrokes that are not mapped by this plug-in.
  • Integrated ‘Add/Remove Buttons’ and ‘Button Mapping’ configuration screens into single configuration screen.
  • Added support for mapping keystrokes to plug-in windows (as opposed to only standard MediaPortal windows).
  • Respects MediaPortal configuration paths; no more need to copy Keyboard.xml around and should work correctly with Windows Vista.

The plugin is available on the MediaPortal website: MEDIAPORTAL - free media center - KeyboardInputPlugin. If you have any questions or comments please post them here.


EDIT BY SPRAGLEKNAS:
LATEST VERSION IS FOUND HERE: http://forum.team-mediaportal.com/425291-post151.html

Please PM me if there is a newer....

Last edited by Spragleknas; 2009-07-17 at 14:35.. Reason: new version
rsenden is offline   Reply With Quote
Old 2007-07-20, 16:09   #2 (permalink)
Portal Member
 
Join Date: Nov 2006
Age: 97
Posts: 75
Thanks: 0
Thanked 0 Times in 0 Posts


Default

that sounds cool.
i have a xpc-rc01 remote wich acts like a wireless keyboard (HID)
and sends keystrocks like ctrl+p,etc.
would it work for me?
Mike69 is offline   Reply With Quote
Old 2007-07-20, 18:20   #3 (permalink)
Portal Member
 
Join Date: Aug 2006
Location: Rotterdam, NL
Age: 34
Posts: 26
Thanks: 0
Thanked 13 Times in 4 Posts


Default

Hello Mike,

I think the plugin should be usable for your remote as well if it behaves like an HID keyboard. Just have a look at it when it becomes available in the input plugins downloads section. If you are able to make it work with your remote, can you please send me the Keyboard.xml file so I can include that as an example in the distribution? Thanks in advance.

Kind regards,
Ruud.
rsenden is offline   Reply With Quote
Old 2007-07-22, 17:07   #4 (permalink)
Portal Member
 
Join Date: Nov 2006
Age: 97
Posts: 75
Thanks: 0
Thanked 0 Times in 0 Posts


Default

of course i can...
when do you think it will be fineshed?
Mike69 is offline   Reply With Quote
Old 2007-07-22, 20:24   #5 (permalink)
Portal Member
 
Join Date: Aug 2006
Location: Rotterdam, NL
Age: 34
Posts: 26
Thanks: 0
Thanked 13 Times in 4 Posts


Default

Hi Mike,

It's already available: http://www.team-mediaportal.com/file...rdInputPlugin/

Kind regards,
Ruud.
rsenden is offline   Reply With Quote
These User Thank You:
Old 2007-07-23, 16:06   #6 (permalink)
Portal Member
 
Join Date: Oct 2006
Posts: 140
Thanks: 2
Thanked 4 Times in 4 Posts

Country:


Default

Perfect job :-)

with this plugin I definitly uninstall old My Keys. Now I can normal use keyboard without interference with My Keys.

Thanx a lot :-)

P.S.: Here is file with same functionality like MyKeys. Old Shortcuts are replaced with combination Ctrl+Alt.

For example - My music was "i" in MyKeys now is "Ctrl+Alt+i".
Attached Files
File Type: xml Keyboard.xml (2.5 KB, 542 views)

Last edited by stanik; 2007-07-23 at 16:11..
stanik is online now   Reply With Quote
These User Thank You:
Old 2007-07-24, 16:58   #7 (permalink)
Portal Member
 
Join Date: Aug 2006
Location: Rotterdam, NL
Age: 34
Posts: 26
Thanks: 0
Thanked 13 Times in 4 Posts


Default

Hi all,

A new version 1.1.0.0 is now available, see the opening post of this thread. This version allows for easier configuration of button definitions (no need for manually editing keyboard.xml anymore), including keycode learning mode.

Regards,
Ruud.
rsenden is offline   Reply With Quote
Old 2007-08-06, 18:07   #8 (permalink)
bfj
Portal Member
 
Join Date: Jan 2007
Posts: 45
Thanks: 10
Thanked 3 Times in 3 Posts

Country:


Default

I've just got round to setting this up and it works a treat

Thanks!
bfj is offline   Reply With Quote
Old 2007-08-18, 01:32   #9 (permalink)
Portal Member
 
Join Date: Apr 2006
Age: 34
Posts: 359
Thanks: 3
Thanked 5 Times in 4 Posts

Country:


Default

Is it possible to add quick jump directly to a certain plugin. I have specially My TV Series plug-in in mind. I have been cycling through possible window but I can not find it.
Johan is offline   Reply With Quote
Old 2007-08-18, 13:24   #10 (permalink)
Portal Member
 
Join Date: Aug 2006
Location: Rotterdam, NL
Age: 34
Posts: 26
Thanks: 0
Thanked 13 Times in 4 Posts


Default

Hi Johan, the plugin re-uses the existing MediaPortal remote button/input mapping mechanism which AFAIK doesn't support the functionality that you requested. Currently I do not have plans to replace the MediaPortal input mechanism with my own version, so unless somebody else implements this (either in MediaPortal itself or in the KeyboardInputPlugin) this functionality will not be supported in the near future.

There is a workaround though; add the button and map it to some arbitrary window, and then manually change the keyboard.xml file. For the given button mapping you will have to modify the value of the cmdproperty attribute to the window/plugin-id of your choice (the window id can be found by looking at the source of the plugin) . Be wary though; your keyboard.xml configuration file will be deleted when you press the 'Update Mapping' button in the KeyboardInputPlugin configuration after making such changes, as the MediaPortal input mapping mechanism doesn't understand this.

So the correct workaround would be to create all mappings that you want using the setup screens, as far as possible. Then make a backup (1) of your InputDeviceMappings\custom\keyboard.xml file, then manually change any mappings that you want, and make a backup (2) of that file again. Should you ever want to modify the mapping again using the setup program, replace the InputDeviceMappings\custom\keyboard.xml file with backup (1), make your changes, and re-apply all manual changes again.

Kind regards,
Ruud.
rsenden is offline   Reply With Quote
Reply

Bookmarks

Tags
generic, input, keyboard or remote, plugin

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


LinkBacks (?)
LinkBack to this Thread: http://forum.team-mediaportal.com/mediaportal-plugins-47/generic-keyboard-remote-input-plugin-25755/
Posted By For Type Date
KartinaTV PLUGIN ?????: gipsyjack (????? ??????????) Post #0 Refback 2009-11-28 05:29

Similar Threads
Thread Thread Starter Forum Replies Last Post
Generic Streaming Media Plugin or protocol system... simex Improvement Suggestions 3 2006-10-20 05:28
Virtual keyboard with cell phone input style masali Improvement Suggestions 1 2006-03-28 16:50
Clan Messages Reader plugin...generic layout for every skin? BigCheese MediaPortal Plugins 6 2006-02-16 00:33
Using generic remote as MCE remote anything General Support 7 2005-12-12 09:47
Skinnable virtual keyboard and maybe predictive input Smirnuff General Development (no feature request here!) 32 2005-04-23 14:05


All times are GMT +1. The time now is 22:32.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2 Protected by Akismet Blog with WordPress
Advertisement System V2.6 By   Branden