INTERACT FORUM

More => Old Versions => Media Center 16 (Development Ended) => Topic started by: gappie on August 06, 2011, 06:24:45 pm

Title: Small Question: what is the internal keystroke for home?
Post by: gappie on August 06, 2011, 06:24:45 pm
 :)
gab
Title: Re: Small Question: what is the internal keystroke for home?
Post by: Visth on August 06, 2011, 06:54:22 pm
is this to avoid having to click "back" ten times in theater view? I would like to know as well, so i can program a button... (even better would be a home option in the menu system)
Title: Re: Small Question: what is the internal keystroke for home?
Post by: MrC on August 07, 2011, 12:08:44 am
There is none currently.

Add yourself a binding, such as:

    <Entry Key="Ctrl;Shift;Home" Command="22001" Param="1" />

to Resource.xml.
Title: Re: Small Question: what is the internal keystroke for home?
Post by: rick.ca on August 07, 2011, 01:46:19 am
Just to clarify the possibilities...

If you have a remote which can issue commands as well as keystrokes, you can add the MCC command directly and skip the binding (if that's not also useful as a keyboard shortcut).

Just pressing and holding <Back> for a second will do the same thing. I have both, but find this faster than fumbling for a the separate <Home> button.
Title: Re: Small Question: what is the internal keystroke for home?
Post by: gappie on August 07, 2011, 03:35:41 am
is this to avoid having to click "back" ten times in theater view? I would like to know as well, so i can program a button... (even better would be a home option in the menu system)
and to answer the first part of the question. no, not in this case. i just want to go to the first item in the root to get around a small bug.

as mrC and rick already pointed out there is an command you can add to your keyboard or remote. all the commands are here: http://wiki.jriver.com/index.php/Media_Center_Core_Commands

one of those is mcc keystroke and there is a small list with some here: http://wiki.jriver.com/index.php/MCC_KEYSTROKE

but i dont know how to figure out what 'home' would be.

 :)
gab
Title: Re: Small Question: what is the internal keystroke for home?
Post by: Sandy B Ridge on August 07, 2011, 04:06:44 am

but i dont know how to figure out what 'home' would be.


as MrC says:



Add yourself a binding, such as:

    <Entry Key="Ctrl;Shift;Home" Command="22001" Param="1" />

to Resource.xml.

The command is 22001 MCC_THEATER_VIEW with parameter 1 = home.

SBR
Title: Re: Small Question: what is the internal keystroke for home?
Post by: gappie on August 07, 2011, 04:38:37 am
as MrC says:


The command is 22001 MCC_THEATER_VIEW with parameter 1 = home.

SBR
thank you, but i know that one and it brings you to the root of thv.. im looking for the keystroke code of the home button of the keyboard.

 :)
gab
Title: Re: Small Question: what is the internal keystroke for home?
Post by: rick.ca on August 07, 2011, 05:02:11 am
Not sure if it's what you need, but from resource.xml...

<Entry Key="Home" Command="28007" TranslateFlags="32" />
Title: Re: Small Question: what is the internal keystroke for home?
Post by: gappie on August 07, 2011, 05:07:19 am
that is an interesting one, rick. 28007: MCC_PLAYBACK_ENGINE_FIRST

ill try.

did try 22020 to, but that did not do what i want.

 :)
gab

edit:  :( no did not work.. the translateflag already suggested that it was for the playback engine only, but was worth a try.
Title: Re: Small Question: what is the internal keystroke for home?
Post by: marko on August 07, 2011, 05:31:12 am
Perhaps...http://forum.xda-developers.com/showthread.php?t=333475

Quote
Thank you Ginex ! you pointed me out on the difference between Ascii code and scancodes. So I managed to do what I wanted thanks to your URL and the keyboard schema at http://www.ppc-welt.info/community/s...ad.php?t=58070

For people willing to do the same:
k0024 -> for Home
k0023 -> for End

chris
Title: Re: Small Question: what is the internal keystroke for home?
Post by: gappie on August 07, 2011, 05:35:43 am
thanks marco... i just stumbled over this table: its for java and in german but still: http://www.mediaevent.de/javascript/Extras-Javascript-Keycodes.html

and you know what.. for home it works:
mc16.exe /mcc 27000,36

poeh.. what a search


 :)
gab

ps: when the developers confim that these are right, ill update http://wiki.jriver.com/index.php/MCC_KEYSTROKE
the ones already there are the same.  :)
Title: Re: Small Question: what is the internal keystroke for home?
Post by: Sandy B Ridge on August 07, 2011, 08:51:05 am
thank you, but i know that one and it brings you to the root of Theater View.. im looking for the keystroke code of the home button of the keyboard.

 :)
gab

Many apologies, I thought that was what you were after! I realise now the subtle difference.

Glad you've sorted it.

SBR
Title: Re: Small Question: what is the internal keystroke for home?
Post by: gappie on August 07, 2011, 09:51:59 am
Many apologies, I thought that was what you were after! I realise now the subtle difference.

Glad you've sorted it.

SBR
no apologies needed at all. the question was far from clear.. and if you ever knew how i ended up with nearly 4000 posts..   8)

 :)
gab