INTERACT FORUM

More => Old Versions => Media Center 12 (Development Ended) => Topic started by: jmone on April 27, 2007, 02:50:26 am

Title: Does MC support the MCE IR KB/Remote? [it does]
Post by: jmone on April 27, 2007, 02:50:26 am
MC already support (without the needs for IR plug ins, girder etc) almost ALL the buttons on the Microsoft Remote Keyboard and Remote for Windows Media Center Edition except:
- Record Button (they only one I really care about)
- My Music, My Radio, My Pictures, My Videos, My TV
- Live TV, Recorded TV, Guide, DVD Menu
- The "i" (info) button

Thanks
Nathan
Title: Re: Will MC be adding support for the MCE IR Keyboard & Remote?
Post by: Matt on April 27, 2007, 09:31:31 am
Do you know what pushing those buttons fires to the focused application?

The other keys work because they simulate keyboard keystrokes.
Title: Re: Will MC be adding support for the MCE IR Keyboard & Remote?
Post by: jmone on April 27, 2007, 05:02:49 pm
Ammm I'm not sure the following helps (as I could find nothing at MS) but I found the following at :http://www.byremote.com.au/Hip/mce_remote_faq.htm (http://www.byremote.com.au/Hip/mce_remote_faq.htm)

"MCE keyboard shortcuts" "Description Key Hip Command" "(Keystroke or SendMessage Commands)"
Move up UP ARROW  {UP}
Move down DOWN ARROW  {DOWN}
Move left LEFT ARROW  {LEFT}
Move right RIGHT ARROW {RIGHT}
Select ENTER or SPACEBAR  {ENTER} or {SPACE}
Jump back one page at a time PAGE UP  {PGUP}
Jump ahead one page at a time PAGE DOWN  {PGDN}
Start Media Center Windows logo key+ALT+ENTER *@{ENTER}
Go back to the previous screen or backspace a single character in Search BACKSPACE  {BKSP} or {@793,0,65536}
Toggle full screen mode or window mode ALT+ENTER  @{ENTER}
Change channels     
Change to a specific channel 0..9 0..9
Move up one channel EQUAL (=) or CTRL+EQUAL = or ^= or {@793,0,3342336}
Move down one channel MINUS (-) or  CTRL+MINUS - or ^- or {@793,0,3407872}

Menu shortcuts take you directly to the main menus for feature areas.
My TV CTRL+SHIFT+T  ^!t
My Music CTRL+M  ^m
My Videos CTRL+E  ^e
My Pictures CTRL+I  ^i

TV and DVD menus
Guide CTRL+G  ^g
Record CTRL+R ^r or {@793,0,3145728}
Details  CTRL+D  ^d
DVD Menu  CTRL+SHIFT+M  ^!m
Recorded TV CTRL+O  ^o
DVD Audio CTRL+SHIFT+A ^!a
DVD Subtitle CTRL+U ^u

Transport controls control the playback of your media.
Pause CTRL+P  ^p or {@793,0,3080192}
Play CTRL+SHIFT+P  ^!p or {@793,0,3014656}
Play/Pause   {@793,0,917504}
Stop  CTRL+SHIFT+S  ^!s or {@793,0,851968}
Replay  CTRL+B  ^b or {@793,0,786432}
Skip  CTRL+F  ^f or {@793,0,720896}
Rewind  CTRL+SHIFT+B  ^!b or {@793,0,3276800}
Fast Forward CTRL+SHIFT+F ^!f or {@793,0,3211264}
Mute  F8  {F8} or {@793,0,524288}
Volume Down F9 {F9} or {@793,0,589824}
Volume Up  F10 {F10} {@793,0,655360}
Title: Re: Will MC be adding support for the MCE IR Keyboard & Remote?
Post by: raym on April 27, 2007, 06:38:40 pm
I'd like to see support for this too is possible.

A quick question though, are you tied to MCE or VMC only with these devices or do third party drivers also exist which let you use the bundled receiver with vanilla XP?
Title: Re: Will MC be adding support for the MCE IR Keyboard & Remote?
Post by: jmone on April 27, 2007, 10:46:12 pm
Hi Ralf - not sure if this answers your Q - but to get the MCE K'Board & Remote to work on XP you need to install a particular MS Hot Patch (WindowsXP-KB912024-v2-x86-ENU) that was part of MCE Rollup II and you then just plug in the IR receiver and it all just works.  The one trick is the MS Keyboard/RC use a "debounce" feature that you need to turn off in the registry if you are going to program a third party universal remote control as each key sends alternative IR signals to prevent so called bounce but I've never had the problem.
Thanks
Nathan
Title: Re: Will MC be adding support for the MCE IR Keyboard & Remote?
Post by: raym on April 27, 2007, 11:03:54 pm
Thanks Nathan. I'm actually aware of this update but one of the requirements is that you must install it to an MCE version of the OS (ie, MCE2005 etc). Therefore, this wouldn't work attempting to apply this patch to XP.

Oh well..
Title: Re: Will MC be adding support for the MCE IR Keyboard & Remote?
Post by: jmone on April 27, 2007, 11:19:07 pm
Nope - it works perfectly on XP (that is what I am using it on  :D )
Title: Re: Will MC be adding support for the MCE IR Keyboard & Remote?
Post by: raym on April 27, 2007, 11:25:48 pm
Nope - it works perfectly on XP (that is what I am using it on  :D )

Really? Oh great! So where do you get the patch from?
Title: Re: Will MC be adding support for the MCE IR Keyboard & Remote?
Post by: jmone on April 27, 2007, 11:41:33 pm
Really? Oh great! So where do you get the patch from?

Those nice guys at MS have it  :) - http://www.microsoft.com/downloads/details.aspx?familyid=B39D53F1-0AC9-433B-B488-4CAB82F31DC8&displaylang=en (http://www.microsoft.com/downloads/details.aspx?familyid=B39D53F1-0AC9-433B-B488-4CAB82F31DC8&displaylang=en)

If that does not work I've got it the file....

Edit2 (wrong link!)- There is also a third party one over at GreenButton but I've felt no desire to play with it (yet)  (http://www.byremote.com.au/Hip/mce_remote_faq.htm[/url)
Title: Re: Will MC be adding support for the MCE IR Keyboard & Remote?
Post by: raym on April 30, 2007, 03:34:48 am
Got it! Thanks Nathan..

I really look forward to more support for this remote in the near future. For basic navigation, it's already there but as you've pointed out, some useful functions are missing. I'm not sure how do-able this will be though without some intermediate application (or plugin). Looking at the majority of shortcuts you've provided above for the various missing functions, they don't seem to match up with the shortcuts MC provides for the same things. Therefore, something would be needed to do this re-mapping I would have thought.

Cheers.
Title: Re: Will MC be adding support for the MCE IR Keyboard & Remote?
Post by: jmone on April 30, 2007, 04:47:58 am
Ralf - it is actually already pretty good for most day to day functions working out of the box, for me the only ones I miss are:

It would be very easy to support by MC adding a check box that changed the mappings for the current ones to the MS ones if desired.

Thanks
Nathan
Title: Re: Will MC be adding support for the MCE IR Keyboard & Remote?
Post by: raym on April 30, 2007, 04:57:24 am
Well, I hope you're right  :)

The MyTV/Music/Pictures etc buttons would be really useful as well as the DVD menu and Live TV buttons.
Title: Re: Will MC be adding support for the MCE IR Keyboard & Remote?
Post by: jmone on April 30, 2007, 05:27:42 am
Mmmm your right - easy for me to say on this side of the world!  I also hope that the mapping above are correct as I could not find them on the MS site only over at greenbutton
Title: Re: Will MC be adding support for the MCE IR Keyboard & Remote?
Post by: jmone on April 30, 2007, 05:46:38 am
OK found the MS link (finally) looks similar....http://msdn2.microsoft.com/en-us/library/bb417079.aspx (http://msdn2.microsoft.com/en-us/library/bb417079.aspx)

Apprantly "Input from the remote control is processed as follows:
The sensor receives the signal and forwards it to a device driver on the computer.
The device driver converts the input into a WM_INPUT, WM_APPCOMMAND, WM_KEYDOWN, WM_KEYPRESS, or WM_KEYUP message.
Windows places these messages in the message queue to be processed by a program's main window procedure.
The foreground program processes messages of interest. For example, a digital media streaming program could process the messages corresponding to the transport buttons (Pause, Play, Stop, Fast Forward, and Rewind) but ignore messages from the numeric keypad. "
Title: Re: Will MC be adding support for the MCE IR Keyboard & Remote?
Post by: raym on May 03, 2007, 07:33:17 am
Nathan, just outa curiosity, since you're only using XP and not MCE, what do ya get if you hit "the green button" on your remote. Nothing I suspect?

Also, does the remote keypad have any effect anywhere in MC?

Cheers,
R
Title: Re: Will MC be adding support for the MCE IR Keyboard & Remote?
Post by: jmone on May 03, 2007, 08:01:34 pm
The green button does sod all (just like many of the other ones - they are just keyboard shortcuts so unless the receiving app usings that key combo it is just ignored).  I'm not sure what you mean by the "remote keypad" - I have the V2 MCE Keyboard and the Remote (normally purchased seperatly but I got a pack with both in them).  The remote also comes with IR blasters for the control of other IR devices but MC support for that will be a while yet!

The MCE Keyboard works just like a normal keyboard/mouse (it has an inbuit track point style mouse device that takes a bit to get used to as mine was very stiff to start with).  The Remote is really just a subset of the keys on the keyboard made to look like a remote (I used it to program my Yami RC so I only have 1 RC controlling the lot!).

The setup is a good one where you want to use the RC primarly but need a keyboard for "admin" or "windows" config stuff.  If probably would not recommend it as the only or for a dedicated KB user as
1) the IR signal gets blocked as people walk between you and the receiver which can be really annoying when try to "drag and drop"
2) only works once Windows has booted (eg you can not get into your BIOS settings with this one)
3) for some odd reason it does not have a PRTSCRN button (which drives me nuts for getting screen shots for this board! - I use a little $10 USB minikeyboard for this!)

Thanks
Nathan
Title: Re: Will MC be adding support for the MCE IR Keyboard & Remote?
Post by: jmone on May 09, 2007, 08:10:24 pm
Bump....Every update I press my REC button just in case it slipped in.....
Title: Re: Is MC the ONLY HTPC Software that does not support the MCE IR KB/Remote?
Post by: jmone on May 11, 2007, 05:02:17 am
I'm now even googleing around to what support there is in the industry for the Microsoft's Keyboard / RC - so far EVERY HTPC front end known to man supports the MCE Remote/KB mappings EXCEPT JR's MC12!! (....well I did not look up the Apple stuff ;) ):
;D - MS Media Center Edition
;D - Media Portal
;D - Nero Home
;D - BeyondTV
;D - SageTV
;D - MythTV
:'( - JR Media Center 12

Every user who bought MS's Media Center Edition is going to have this hardware and when they upgrade to JR's MC12 (as we all know they should and will!!) they will find half the buttons don't work!

In case the Dev have never seen one I've included a Picture with the REC button pointed out.....yes you may want to use it to RECORD TV at some stage from Theater View. 


(http://www.bray.id.au/d/1124-1/MCE-Remote-Media-Center.jpg)

Apologies for the Humour Failure
Nathan

Edit - pretty picture of the Keyboard
(http://www.multimediapc.nl/images/remote%20MCE%20keyboard.jpg)
Title: Re: Is MC the ONLY HTPC Software that does not support the MCE IR KB/Remote?
Post by: JohnT on June 01, 2007, 01:59:28 pm
Hi Jmone,

The red record button will be supported in the next build. MC catches an MC_APPCOMMAND from it and then fires an MCC_TV_RECORD command. We're trying to get the "green button" on the MCE remote supported, but we're not sure how to catch what it fires. The Microsoft documentation makes it sound like it's not possible for our app. to capture the button press:
http://msdn2.microsoft.com/en-us/library/ms867196.aspx (http://msdn2.microsoft.com/en-us/library/ms867196.aspx)
Search this page for "eHome" and it says "Not for use by applications." !!

If anyone knows a way to do this, let us know.

To add other shortcuts to MC, follow the directions here:
http://wiki.jrmediacenter.com/index.php/User_Defined_Global_Keyboard_Shortcuts (http://wiki.jrmediacenter.com/index.php/User_Defined_Global_Keyboard_Shortcuts)
Title: Re: Is MC the ONLY HTPC Software that does not support the MCE IR KB/Remote?
Post by: jmone on June 01, 2007, 05:05:05 pm
I think I love U  ;D - I've tried guessing the Enum for the MCC_TV_RECORD and what the Record button fires (but made a complete hash of it!).   I personally don't care about the Green Button as I've got JRMC12 set to fireup into TheaterView automatically on startup.

The Green Button must fire something into the system - but I've tried a few of the key stroke mapping utilities and they are all silent when this key is pressed, if you want me to try anything pls let me know.

Thanks again,
off to try the new build!
Nathan
Title: Re: Is MC the ONLY HTPC Software that does not support the MCE IR KB/Remote?
Post by: jmone on June 01, 2007, 05:27:02 pm
We're trying to get the "green button" on the MCE remote supported, but we're not sure how to catch what it fires. The Microsoft documentation makes it sound like it's not possible for our app. to capture the button press:
http://msdn2.microsoft.com/en-us/library/ms867196.aspx (http://msdn2.microsoft.com/en-us/library/ms867196.aspx)
Search this page for "eHome" and it says "Not for use by applications." !!

I think this is a later link in MSDN (they have had several RC's released) but it to says "Not For use by applications".
http://msdn2.microsoft.com/en-us/library/bb417079.aspx (http://msdn2.microsoft.com/en-us/library/bb417079.aspx)
Title: Re: Is MC the ONLY HTPC Software that does not support the MCE IR KB/Remote?
Post by: raym on June 01, 2007, 06:30:22 pm
If anyone knows a way to do this, let us know.

I think it could be: Windows Key+ALT+ENTER

Take a look here: http://www.xpmediacentre.com.au/knowledgebase/entry/13/65/


I'd also like support (if possible) for:

1. the numbered keypad (this may already work but not sure??)
2. "DVD Menu" button
3. "More" button (to launch whatever program we like perhaps?)
4. "CH|PG" button (page up/down in theater view; next track/previous track in display view)
5. "recorded TV" button and Live TV (both could jumpt to MC TV view for now unless there's something more appropriate?)

Cheers.
Title: Re: Is MC the ONLY HTPC Software that does not support the MCE IR KB/Remote?
Post by: jmone on June 01, 2007, 07:54:56 pm
Ralf could be right as also from The Green Button (as posted above):
Quote
Start Media Center Windows logo key+ALT+ENTER *@{ENTER}
Title: Re: Is MC the ONLY HTPC Software that does not support the MCE IR KB/Remote?
Post by: ThoBar on June 01, 2007, 09:32:12 pm
Thats it! JMONE gets my official JR MC12 Forum contributor of the week award!

Fastest implemetation of good ideas with the help of a user yet! 2 in a week at that!

Thanks Jmone JRiver and to RAYM for helping out in this thread.

*much fanfare* 
*presents award*
*presents monoloply money cheque*
*shakes hand*
*tells him to keep up the good work*

*gets down and parties at the after ceremony celebration*
*drinks too much and falls down*

C.
Title: Re: Is MC the ONLY HTPC Software that does not support the MCE IR KB/Remote?
Post by: glynor on June 01, 2007, 11:08:21 pm
*drinks too much and falls down*

I'd help you up but I'm lying down too.  I'm just sleepy though.

Seriously.

I didn't drink too much at the party too.  I never do that.
/me whistles and looks away...
Title: Re: Is MC the ONLY HTPC Software that does not support the MCE IR KB/Remote?
Post by: JohnT on June 04, 2007, 07:39:38 am
I think it could be: Windows Key+ALT+ENTER

Take a look here: http://www.xpmediacentre.com.au/knowledgebase/entry/13/65/
We tried catching the Windows+Alt+Enter combination, but it's not coming through. Everything is strangely silent when the green button is pressed. It seems like it's getting eaten by some service that's running. Or perhaps the driver only sends the message under certain conditions or to certain applications (like MCE?).
Title: Re: Is MC the ONLY HTPC Software that does not support the MCE IR KB/Remote?
Post by: raym on June 04, 2007, 06:42:27 pm
We tried catching the Windows+Alt+Enter combination, but it's not coming through. Everything is strangely silent when the green button is pressed. It seems like it's getting eaten by some service that's running. Or perhaps the driver only sends the message under certain conditions or to certain applications (like MCE?).

Hmmm, then what's confishy so happy about?...  :D

Any luck with the other buttons listed above?

Thanks
Title: Re: Is MC the ONLY HTPC Software that does not support the MCE IR KB/Remote?
Post by: JohnT on June 08, 2007, 03:44:13 pm
Try out the next build. It should support all the keys except the "green button".
Title: Re: Is MC the ONLY HTPC Software that does not support the MCE IR KB/Remote?
Post by: jmone on June 08, 2007, 04:37:06 pm
Giving it a go now!   ;D
Title: Re: Is MC the ONLY HTPC Software that does not support the MCE IR KB/Remote?
Post by: jmone on June 08, 2007, 04:57:03 pm
OK - Had a quick play and can report it looks pretty good with the mapping of most buttons pretty logical  ;D.  The odd ones are:
- My Radio : Does nothing (not that surprising really!)
- Recorded TV : Works like Live TV in that it plays a TV Station.  MC12 populates the Genre Field with "TV Recordings" when recording a TV Prog and hence with my selected View Scheme of sorting Video by Genre I have a "TV Recordings" folder under Video - the button "could" map to this folder in TheaterView but I don't know how universally applicable it would be.
- Guide : This one currently closes T'View and starts up MS Media Center (might want to change this one!)
- Info Button : Currently does nothing

Looking good!
Nathan
Title: Re: Is MC the ONLY HTPC Software that does not support the MCE IR KB/Remote?
Post by: glynor on June 08, 2007, 05:35:29 pm
- Info Button : Currently does nothing

That could bring up the mouseover display when in Display View.  And, you could even give us a MCC command to do the same while you're at it so that us Girder users can make use of it too.

Wink, wink, nudge, nudge.   ;)  ;D
Title: Re: Is MC the ONLY HTPC Software that does not support the MCE IR KB/Remote?
Post by: ThoBar on June 08, 2007, 10:20:14 pm
Quote
Quote
- Info Button : Currently does nothing

That could bring up the mouseover display when in Display View.

... with an OSD, rather than the drop-to-windowed mode that we currently have.

C.
Title: Re: Is MC the ONLY HTPC Software that does not support the MCE IR KB/Remote?
Post by: JohnT on June 11, 2007, 07:47:24 am
OK - Had a quick play and can report it looks pretty good with the mapping of most buttons pretty logical  ;D.  The odd ones are:
- My Radio : Does nothing (not that surprising really!)
- Recorded TV : Works like Live TV in that it plays a TV Station.  MC12 populates the Genre Field with "TV Recordings" when recording a TV Prog and hence with my selected View Scheme of sorting Video by Genre I have a "TV Recordings" folder under Video - the button "could" map to this folder in TheaterView but I don't know how universally applicable it would be.
- Guide : This one currently closes T'View and starts up MS Media Center (might want to change this one!)
- Info Button : Currently does nothing

Looking good!
Nathan
Neither of our MCE remotes has a "My Radio" button. I'm going to add some log output so we can record what the button is sending.

The Guide button toggles between standard view, theater view, and display view.

I wasn't sure what to do with the info button. What it does now is toggle the list view between details mode and thumbnail mode. That's a good idea to use it to view the "mouseover" information.
Title: Re: Is MC the ONLY HTPC Software that does not support the MCE IR KB/Remote?
Post by: jmone on June 11, 2007, 03:18:57 pm
Thanks John - sounds good, let me know about the logging and I'll press some buttons.

I also had MS Media Center (Vista) pop up several times over the w'end after various key presses (not just the Guide).  I don't know if it is a focus problem or that if MC does not accept the input at a particular occasion it gets routed to MS Media Center.

Thanks
Nathan
Title: Re: Is MC the ONLY HTPC Software that does not support the MCE IR KB/Remote?
Post by: Oronomus on June 14, 2007, 07:16:10 am
Has anyone been able to use MCE remote with Windows XP 64 bit? 

I have a Sony RC6 remote and Sony IR receiver from a Vaio laptop, want to use it with my HTPC.  It will not install plug n' play.  I tried installing drivers from "Update Rollup 2 for eHome Infrared Receiver for Windows XP Media Center Edition 2005" and MceIr.sys.
Title: Re: Does MC support the MCE IR KB/Remote? [it does]
Post by: mcwhorter on January 02, 2008, 07:35:57 pm
ttt
Any luck with getting the "Green Button" to work?