MediaPortal Forums HTPC/MediaCenter

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


Plugins Plugins developed and maintained by users. Want to create your own plugin? Start a thread in here.

Reply
 
Thread Tools Display Modes
Old 2008-01-07, 22:08   #21 (permalink)
Portal Developer
 
chemelli's Avatar
 
Join Date: Sep 2006
Location: Italy - Padova
Age: 34
Posts: 1,338
Thanks: 73
Thanked 73 Times in 58 Posts

Country:

My System

Send a message via Skype™ to chemelli
Default

Hi Mophat,

I'm wrong or CTRL and SHIFT keys are not handled actually by the plugin ?

Simone

BTW, I have now compiled the sources, it was a reference to the core.dll and utils.dll in a different path from my to your pc...
chemelli is offline   Reply With Quote
Old 2008-01-07, 23:17   #22 (permalink)
MP Donator
 
MoPhat's Avatar
 
Join Date: Jun 2007
Location: Berg, Switzerland
Age: 35
Posts: 696
Thanks: 6
Thanked 54 Times in 13 Posts

Country:

My System

Default

Quote:
I'm wrong or CTRL and SHIFT keys are not handled actually by the plugin ?
not yet, but i have read your PM and will check the sources.

good night
MoPhat
MoPhat is offline   Reply With Quote
Old 2008-02-08, 11:22   #23 (permalink)
MP Donator
 
MoPhat's Avatar
 
Join Date: Jun 2007
Location: Berg, Switzerland
Age: 35
Posts: 696
Thanks: 6
Thanked 54 Times in 13 Posts

Country:

My System

Default

Check Post #1

MoPhat
MoPhat is offline   Reply With Quote
Old 2008-02-08, 12:48   #24 (permalink)
Portal Member
 
Join Date: Jun 2007
Posts: 66
Thanks: 2
Thanked 0 Times in 0 Posts

Country:


Default

I have a media centre type of remote control with lots of assignable buttons which are redundant in MP which I would like to assign to shortcuts like this plugin is doing - Music - Videos - Pictures etc etc. Is there anyway I can see what is transmitted by the remote control and put that into the shortcut plugin as the key press or something?
TheBatfink is offline   Reply With Quote
Old 2008-02-08, 13:03   #25 (permalink)
MP Donator
 
MoPhat's Avatar
 
Join Date: Jun 2007
Location: Berg, Switzerland
Age: 35
Posts: 696
Thanks: 6
Thanked 54 Times in 13 Posts

Country:

My System

Default

? ... no, the plugin does only map a keyboard key to a section (skin file)... thats all.

What for a type of remote control is that?
MoPhat is offline   Reply With Quote
Old 2008-03-04, 02:00   #26 (permalink)
Portal Developer
 
and-81's Avatar
 
Join Date: Mar 2005
Location: Melbourne
Age: 27
Posts: 2,251
Thanks: 30
Thanked 145 Times in 88 Posts

Country:

My System

Default

Hey MoPhat,

To get Ctrl, Alt, Shift mapping you should use something like this:

Code:
string keys = String.Empty;

if ((Control.ModifierKeys & Keys.Shift) == Keys.Shift)
  keys += "Shift + ";

if ((Control.ModifierKeys & Keys.Control) == Keys.Control)
  keys += "Ctrl + ";

if ((Control.ModifierKeys & Keys.Alt) == Keys.Alt)
  keys += "Alt + ";

keys += keyChar.ToString();
I hope that helps you,

If you have any trouble with it let me know and I'll take a look at the source code for you and see if I can sort it out.

Cheers,

Last edited by and-81; 2008-03-04 at 02:01. Reason: formatting
and-81 is offline   Reply With Quote
Old 2008-03-04, 09:43   #27 (permalink)
MP Donator
 
MoPhat's Avatar
 
Join Date: Jun 2007
Location: Berg, Switzerland
Age: 35
Posts: 696
Thanks: 6
Thanked 54 Times in 13 Posts

Country:

My System

Default

Thank you and-81, i will try this out

MoPhat
MoPhat is offline   Reply With Quote
Old 2008-03-06, 21:21   #28 (permalink)
Portal Member
 
mckzoo's Avatar
 
Join Date: Jan 2007
Location: Auckland
Posts: 46
Thanks: 1
Thanked 0 Times in 0 Posts

Country:

My System

Default Keyboard Input Plugin

MoPhat,

check this out

MEDIAPORTAL - free MediaCenter HTPC Software - KeyBoardInputPlugin

this plugin does the whole Ctrl + Alt + Shift + X thing.

I've also needed to empty the keyboard.xml file to prevent double keying.

Regards

mckzoo
mckzoo is offline   Reply With Quote
Old 2008-03-10, 21:07   #29 (permalink)
Portal Developer
 
chemelli's Avatar
 
Join Date: Sep 2006
Location: Italy - Padova
Age: 34
Posts: 1,338
Thanks: 73
Thanked 73 Times in 58 Posts

Country:

My System

Send a message via Skype™ to chemelli
Default

Quote:
Originally Posted by MoPhat View Post
Thank you and-81, i will try this out

MoPhat
Any update on this task MoPhat ?

Simone
__________________
If you do what you've always done, you'll get what you've always gotten
chemelli is offline   Reply With Quote
Old 2008-03-24, 15:22   #30 (permalink)
MP Donator
 
MoPhat's Avatar
 
Join Date: Jun 2007
Location: Berg, Switzerland
Age: 35
Posts: 696
Thanks: 6
Thanked 54 Times in 13 Posts

Country:

My System

Default

New Version is now on post #1

Please check this an any comments are welcome

MoPhat
MoPhat is offline   Reply With Quote
Reply

Bookmarks

Tags
plugin, sections, shortcuter, shortcuts

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 Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
My Keys Plugin mPod Plugins 69 2008-02-07 15:13
How to send keys keys to media portal? Blitzbat Plugins 1 2007-05-21 11:34
Plugin strings and keys... TesterBoy Plugins 3 2007-02-05 07:23
Home-Plugin, Shortcuts Jaques-Ludwig Plugins/Erweiterungen 1 2005-11-19 11:38
Home plugin and menu shortcuts igalan Plugins 0 2005-07-27 18:25


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


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