Jump to content


Photo

Keymap editing help?


  • Please log in to reply
4 replies to this topic

#1 TimoJ

  • Member
  • 18 posts

+3
Neutral

Posted 13 June 2012 - 13:49

I'd like to change remote keymap in keymap.xml so that left and right cursor keys would time jump the movie, I.e. do the same function that number keys 4 and 6.

But for some reason I'm not able to do this. I have tried to change "KEY_LEFT" mapto="seekdef:4" in many places in InfoBarSeekActions but cursor left just keeps it's default rewind-function. I'm using DM8000 with it's original remote. With earlier DMM CVS-image I had no problems doing this change. What causes the problem with OpenPLi and how to bypass it? Is key_left/key_right wrong name for the cursor keys?

Re: Keymap editing help? #2 jeffphil

  • Senior Member
  • 113 posts

+7
Neutral

Posted 14 June 2012 - 01:54

I'm not 100% certain but I remember in the Keymap a sections the locks some keys to their default behaviour perhaps this is the problem
Until The Wheels are off the ground there is still hope


DM500,DM600,DM800HD,VU+ Duo

Re: Keymap editing help? #3 TimoJ

  • Member
  • 18 posts

+3
Neutral

Posted 14 June 2012 - 07:21

I can't find the default section for those keys, GlobalActions is only for volume and power. Is this hardcoded to some Python file or is this a key priority issue?

Re: Keymap editing help? #4 TimoJ

  • Member
  • 18 posts

+3
Neutral

Posted 14 June 2012 - 14:01

map context="DirectionActions" seems to be the part that overruns InfoBarSeekActions keymap settings. Not sure why, it doesn't do it with DMM CVS image.

Re: Keymap editing help? #5 TimoJ

  • Member
  • 18 posts

+3
Neutral

Posted 14 June 2012 - 15:06

Looks like left/right rewind/ff is coded to infobar.py's pip-zap code. I changed there DirectionActions priority to -1 and now keymap.xml changes to InfoBarSeekActions finally work. Not sure what is the correct way to do this...




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users