XBMC Community Forum  

Go Back   XBMC Community Forum > Help and Support > Skin Help and Support

Skin Help and Support GUI and Web skins/themes suggestions and support (help) for all XBMC end-users.
Please, add platform prefix to topic threads that are not platform-independent!:
Thread prefixes; "[LINUX]", "[LIVE]", "[MAC]", "[WINDOWS]", and "[XBOX]"

Reply
 
Thread Tools Search this Thread Display Modes
Old 2008-12-15, 19:07   #1
nmirza
Member
 
Join Date: Mar 2008
Posts: 85
nmirza is on a distinguished road
Default Some edits in keymaps.xml

Since the up and down buttons on apple remote dont do anything when im watching a video and have the OSD showing, how do i assign the up key to change the aspect ratio of the video? i went into keymap.xml and inserted the up aspect ratio button as shown below, but it didn't work. i simply want to be able to assign a function to the up and down key on remote when im in osd. any guidance please.

[codebox]<OSDVideoSettings>
<remote>
<back>Close</back>
<menu>Close</menu>
<start>Close</start>
<up>AspectRatio</up>[/codebox]

Last edited by nmirza; 2008-12-15 at 21:53.
nmirza is offline   Reply With Quote
Old 2008-12-15, 21:53   #2
sho
Team-XBMC Wiki Content Manager
 
sho's Avatar
 
Join Date: May 2004
Posts: 2,950
sho is on a distinguished road
Default

Edit the one in the user dir.
__________________
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


sho is offline   Reply With Quote
Old 2008-12-15, 22:01   #3
nmirza
Member
 
Join Date: Mar 2008
Posts: 85
nmirza is on a distinguished road
Default

tried that as suggested in wiki for keymap.xml but no go. is there something wrong with the syntax or the section of file i'm putting it under, i.e. OSDvideosettings?
nmirza is offline   Reply With Quote
Old 2008-12-15, 23:16   #4
sho
Team-XBMC Wiki Content Manager
 
sho's Avatar
 
Join Date: May 2004
Posts: 2,950
sho is on a distinguished road
Default

Looking at my default keyboard.xml it looks like appleremote uses a completely different tags

Code:
  <OSDVideoSettings>

    <joystick name="AppleRemote">
      <button id="6">Close</button>
    </joystick>

  </OSDVideoSettings>
__________________
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


sho is offline   Reply With Quote
Old 2008-12-16, 01:37   #5
nmirza
Member
 
Join Date: Mar 2008
Posts: 85
nmirza is on a distinguished road
Default

maybe im on a different version. at this point ive tried adding various combinations in VideoOSD/VideoOSDSettings/Video Menu but no help. i've also tried using the following but no help

<joystick name="Apple Remote">
<button id="1">aspectratio</button>
</joystick>
nmirza is offline   Reply With Quote
Old 2008-12-16, 02:12   #6
jmarshall
Team-XBMC Developer
 
Join Date: Oct 2003
Posts: 15,077
jmarshall is on a distinguished road
Default

It may not be available while the OSD is up - I'm not sure.

You probably want it in the VideoOSD window though I should think, rather than the OSDVideoSettings window (which already has the option to toggle the view mode right there in the UI?)

Cheers,
Jonathan
__________________
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


jmarshall is offline   Reply With Quote
Old 2008-12-16, 06:12   #7
nmirza
Member
 
Join Date: Mar 2008
Posts: 85
nmirza is on a distinguished road
Default

yeah i figured in the end it had to be videoOSD but nothing has worked so far. i have a whole bunch of videos that are 4:3 that i like to watch in 16:9 and soemtimes after so long just a pain to go to osd, video settngs, and then down 5 rows to toggle the mode. i guess i'll keep trying to see what i can figure out and if someone has made this work please let me know. in the meanwhile i'll be grateful for what i have - the dream mediacenter i've always wanted.
nmirza is offline   Reply With Quote
Old 2008-12-16, 11:56   #8
sho
Team-XBMC Wiki Content Manager
 
sho's Avatar
 
Join Date: May 2004
Posts: 2,950
sho is on a distinguished road
Default

Try something that is definitely supported within the OSD
That way you can narrow it down. (Or look in the code )

Code:
<VideoOSD>
    <gamepad>
      <start>Close</start>
      <back>PreviousMenu</back>
      <B>PreviousMenu</B>
      <black>CodecInfo</black>
      <white>Info</white>
      <leftanalogtrigger>AnalogRewind</leftanalogtrigger>
      <rightanalogtrigger>AnalogFastForward</rightanalogtrigger>
    </gamepad>

    <joystick name="Microsoft Xbox Controller S">
      <altname>Mad Catz MicroCON</altname>
      <altname>Logitech Xbox Cordless Controller</altname>
      <button id="9">Close</button>
      <button id="17">PreviousMenu</button>
      <button id="2">PreviousMenu</button>
    </joystick>

    <joystick name="WiiRemote">
      <button id="6">Close</button>
    </joystick>

    <joystick name="AppleRemote">
      <button id="6">Close</button>
    </joystick>

    <remote>
      <back>PreviousMenu</back>
      <menu>Close</menu>
      <start>Close</start>
    </remote>

    <keyboard>
      <backspace>HideSubMenu</backspace>
      <escape>Close</escape>
      <m>Close</m>
      <i>Info</i>
      <o>CodecInfo</o>
    </keyboard>
  </VideoOSD>
__________________
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


sho is offline   Reply With Quote
Old 2008-12-16, 23:32   #9
jmarshall
Team-XBMC Developer
 
Join Date: Oct 2003
Posts: 15,077
jmarshall is on a distinguished road
Default

Please post a request ticket on trac - I have some ideas as to how this could be done.

Thanks,
Jonathan
__________________
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


jmarshall is offline   Reply With Quote
Old 2008-12-19, 00:16   #10
jmarshall
Team-XBMC Developer
 
Join Date: Oct 2003
Posts: 15,077
jmarshall is on a distinguished road
Default

nmirza: As of r16612, you can use this:

Code:
<keymap>
  <VideoOSD>
    <joystick name="Apple Remote">
      <button id="1">Action(AspectRatio,FullscreenVideo)</button>
    </joystick>
  </VideoOSD>
</keymap>
to redirect actions to a particular window.

Cheers,
Jonathan
__________________
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


jmarshall is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

Forum Jump


All times are GMT +2. The time now is 20:37.


Protected by Akismet, We recommend WordPress blogs
Copyright © 2008, XBMC Project