INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Small Question: what is the internal keystroke for home?  (Read 2334 times)

gappie

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 4580
Small Question: what is the internal keystroke for home?
« on: August 06, 2011, 06:24:45 pm »

 :)
gab
Logged

Visth

  • Junior Woodchuck
  • **
  • Posts: 53
Re: Small Question: what is the internal keystroke for home?
« Reply #1 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)
Logged

MrC

  • Citizen of the Universe
  • *****
  • Posts: 10462
  • Your life is short. Give me your money.
Re: Small Question: what is the internal keystroke for home?
« Reply #2 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.
Logged
The opinions I express represent my own folly.

rick.ca

  • Citizen of the Universe
  • *****
  • Posts: 3729
Re: Small Question: what is the internal keystroke for home?
« Reply #3 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.
Logged

gappie

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 4580
Re: Small Question: what is the internal keystroke for home?
« Reply #4 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
Logged

Sandy B Ridge

  • Citizen of the Universe
  • *****
  • Posts: 884
Re: Small Question: what is the internal keystroke for home?
« Reply #5 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
Logged

gappie

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 4580
Re: Small Question: what is the internal keystroke for home?
« Reply #6 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
Logged

rick.ca

  • Citizen of the Universe
  • *****
  • Posts: 3729
Re: Small Question: what is the internal keystroke for home?
« Reply #7 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" />
Logged

gappie

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 4580
Re: Small Question: what is the internal keystroke for home?
« Reply #8 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.
Logged

marko

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 9139
Re: Small Question: what is the internal keystroke for home?
« Reply #9 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

gappie

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 4580
Re: Small Question: what is the internal keystroke for home?
« Reply #10 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.  :)
Logged

Sandy B Ridge

  • Citizen of the Universe
  • *****
  • Posts: 884
Re: Small Question: what is the internal keystroke for home?
« Reply #11 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
Logged

gappie

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 4580
Re: Small Question: what is the internal keystroke for home?
« Reply #12 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
Logged
Pages: [1]   Go Up