MediaPortal Forums HTPC/MediaCenter

Go Back   MediaPortal Forum » MediaPortal 1 » Help on Development » Improvement Suggestions


Improvement Suggestions You have an idea how MediaPortal could be improved? Post it in here.

Reply
 
Thread Tools Display Modes
Old 2005-01-09, 13:54   #1 (permalink)
metalmasterx
Guest
 
Posts: n/a


Default Increase the number of key that can be used

Hi *,

first of all, I want to thank anyone working on this fantastic project. GREAT WORK!!!!!!!

No to my (little) feature request. Although it's not really a new feature but an extension of an existing one...

I have a USB remote control from shuttle (PN31, see http://eu.shuttle.com/en/DesktopDefa...554_read-1622/). It is a great one because you don't need a driver, it's just like a combination of a wireless keyboard and a mouse in one control.

Of course, not all keyboard keys are available on the remote, but just a subset of the most commonly used ones (0-9, enter, backspace, esc, tab, volume+, volume-, pageup, pagedown). Additionally, it features a some of the "multimeda keys" that are also available on modern keyboards.

It would be very nice if I could configure them in MediaPortal! Otherwise, they are quite useless... If I press these buttons in the keys configuration dialog, the keystroke is recognized, but a weird special character is displayed. Also the ".", "-", "+" keys available on my remote (and my keyboard as well!!!) are not recognized correctly.

Technical note:
In the .NET System.Windows.Forms.Keys enumeration (see http://msdn.microsoft.com/library/de...ClassTopic.asp), the following keys are the ones that I meant:

MediaTrackNext
MediaPlayPause
MediaTrackPrevious
MediaStop
Decimal

Other people might want to use e.g.
BrowserBack
BrowserSearch

or other "special" keys on the keyboard.

All these keys are recognized in the keys configuration dialog, but displayed as some special character. And, they cannot be used when they are configured (just ignored).

Do you see a chance to include these keys???

Technical proposition: I think (correct me if I'm wrong) in .NET any keystrokes are handled using this Keys enumeration mentioned above.

Why not use the following pieces of c# code to convert between a key and its string representation that can be used in the xml file and in the config dialog?

#1: key->string
System.Windows.Forms.Keys key = Keys.MediaTrackNext;
string stringRepresentation = key.ToString();

#2: string->key
string stringRepresenation = "MediaTrackNext";
System.Windows.Forms.Keys key = System.Enum.Parse(typeof(Keys), stringRepresentation);

By this, you could avoid a "hardcoded" list of supported keys and any key you can think of could be used and configured. (Maybe it's just rubbish that I'm writing, correct me if I'm wrong!)

Thanks for reading this LOONG post. What do you think?

metalmasterx
  Reply With Quote
Old 2007-03-26, 16:33   #2 (permalink)
Portal Member
 
Join Date: Feb 2007
Posts: 20
Thanks: 2
Thanked 0 Times in 0 Posts


Default

yeah I'm diggin up old post from the grave!!

Did anyone ever come right with this. Sitting with the exact remote trying to configure it!
__________________
MediaPortal 0.2.3
Tainted is offline   Reply With Quote
Old 2007-03-27, 13:04   #3 (permalink)
Portal Member
 
mbuzina's Avatar
 
Join Date: Apr 2005
Location: Germany
Age: 34
Posts: 459
Thanks: 1
Thanked 2 Times in 2 Posts

Country:


Default

Did you enable the General HID Device on Remotes? This will capture the common Multi-Media Keys and use them "usefully". I am not sure if you can reconfigure them, but I know that they work from my keyboard.
__________________
*** Power is nothing without control ***
mbuzina is offline   Reply With Quote
Reply

Bookmarks

Tags
increase, key, number

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
MyMail plugin (receive eMails within MediaPortal) Anonymous Plugins 92 2008-06-09 05:27
Is there a way to turn the number search function of? LL81 Codecs, External Players 2 2006-07-15 02:26
TagReader: Track number from ID3v2 not read hwahrmann The old Bugreport Forum 6 2006-02-21 12:58
[Patch] Numeric channel selection by index or channel number CodeMonkey General Development (no feature request here!) 0 2006-01-02 16:32
EPG: Number of channels shown concurrently Anonymous Improvement Suggestions 0 2004-11-21 01:38


All times are GMT +1. The time now is 16:47.


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