Jump to content


Photo

keymap.xml not working anymore


  • Please log in to reply
19 replies to this topic

#1 kmorber

  • Member
  • 10 posts

0
Neutral

Posted 30 June 2014 - 15:26

Hi,

 

i have created a special keymap for me and used it for half a year without problems. I copy my keymap.xml back after each update. Now when i do an update and copy back my keymap, it is not working anymore.

 

What has been changed, do i have to copy it to a new destination, has the syntax for the keymap file changed recently?

 

THX



Re: keymap.xml not working anymore #2 ims

  • PLi® Core member
  • 13,607 posts

+210
Excellent

Posted 30 June 2014 - 15:52

http://sourceforge.n...data/keymap.xml


Kdo nic nedělá, nic nezkazí!

Re: keymap.xml not working anymore #3 davidas

  • Member
  • 2 posts

0
Neutral

Posted 27 August 2014 - 10:36

I have the same problem (et4000 with openpli 4.0) when the first img 4.0 keymap work with this setup
<map context = "InfobarChannelSelection">
<key id = "KEY_LEFT" MAPT = "zapUp" flags = "mr" />
<key id = "KEY_RIGHT" MAPT = "zapDown" flags = "mr" />
<key id = "KEY_UP" MAPT = "switchChannelUp" flags = "mr" />
<key id = "KEY_DOWN" MAPT = "switchChannelDown" flags = "mr" />
<key id = "KEY_PREVIOUS" MAPT = "historyBack" flags = "mr" />
<key id = "KEY_NEXT" MAPT = "historyNext" flags = "mr" />
<key id = "KEY_BACK" MAPT = "historyBack" flags = "mr" />
<key id = "KEY_FORWARD" MAPT = "historyNext" flags = "mr" />
<key id = "KEY_OK" MAPT = "openServiceList" flags = "m" />
<key id = "BTN_0" MAPT = "zapUp" flags = "mr" />
<key id = "BTN_1" MAPT = "zapDown" flags = "mr" />
</ map>

in newer img 4.0 is already this
<map context = "InfobarChannelSelection">
   <key id = "KEY_LEFT" MAPT = "keyLeft" flags = "mr" />
   <key id = "KEY_RIGHT" MAPT = "KeyRight" flags = "mr" />
   <key id = "KEY_UP" MAPT = "keyUp" flags = "mr" />
   <key id = "KEY_DOWN" MAPT = "keyDown" flags = "mr" />
   <key id = "KEY_PREVIOUS" MAPT = "historyBack" flags = "mr" />
   <key id = "KEY_NEXT" MAPT = "historyNext" flags = "mr" />
   <key id = "KEY_BACK" MAPT = "historyBack" flags = "mr" />
   <key id = "KEY_FORWARD" MAPT = "historyNext" flags = "mr" />
   <key id = "KEY_CHANNELUP" MAPT = "keyChannelUp" flags = "m" />
   <key id = "KEY_CHANNELDOWN" MAPT = "keyChannelDown" flags = "m" />
   <key id = "BTN_0" MAPT = "zapUp" flags = "mr" />
   <key id = "BTN_1" MAPT = "zapDown" flags = "mr" />
  </ map>

I'm used to from the past when pressing ok with přemapováním button to open the service list - a list of programs


when I change the keymap, or add a line
<key id = "KEY_OK" MAPT = "openServiceList" flags = "m" />

so is this setting after restart e2 broken button does not respond

how it can be modified to remapping, or after treatment keymap.xml buttons work?

thanks



Re: keymap.xml not working anymore #4 littlesat

  • PLi® Core member
  • 56,123 posts

+685
Excellent

Posted 27 August 2014 - 11:24

This is now a config standard in openpli as far I know....
http://sourceforge.n...28e0eff87e3c43/
You do not need to alter the keymap.xml anymore....

Edited by littlesat, 27 August 2014 - 11:28.

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: keymap.xml not working anymore #5 davidas

  • Member
  • 2 posts

0
Neutral

Posted 27 August 2014 - 11:37

If the buttons do not function normally around ok as in previous img, so I edited the keymap, if possible ....

If after pressing ok infobar exiting the program, I think it is wrong, it is key info

Why then when pressing channel up and down do not switch right program, they open the channel list-service list?

it's just a garbled and finish keymap.xml it should go fix, but it is not, why?



Re: keymap.xml not working anymore #6 littlesat

  • PLi® Core member
  • 56,123 posts

+685
Excellent

Posted 27 August 2014 - 14:11

You should not change keymap.xml at all...

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: keymap.xml not working anymore #7 Taapat

  • PLi® Core member
  • 2,332 posts

+120
Excellent

Posted 27 August 2014 - 14:37

@davidas look at the settings in the user interface.
To use OK to open the service list- Enable OK for channel selection.
To switch channels with up and down- Enable 'neutrino' style zap controlling.

 

I think now in config miss only one popular thing - adjust the volume with the key Left and Right. I am myself it created, but can not get the time to collect and provide patch. And I do not know if openli accept it.



Re: keymap.xml not working anymore #8 Dimitrij

  • PLi® Core member
  • 9,967 posts

+335
Excellent

Posted 27 August 2014 - 14:40

I think now in config miss only one popular thing - adjust the volume with the key Left and Right.

Why?
If there is a special buttons for that.


Edited by Dima73, 27 August 2014 - 14:40.

GigaBlue UHD Quad 4K /Lunix3-4K/Solo 4K


Re: keymap.xml not working anymore #9 littlesat

  • PLi® Core member
  • 56,123 posts

+685
Excellent

Posted 27 August 2014 - 14:47

For wierd boxes that do not have saperate vol +/- buttons... but as far I know all of our boxes do support this... but of course it can be added...

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: keymap.xml not working anymore #10 Taapat

  • PLi® Core member
  • 2,332 posts

+120
Excellent

Posted 27 August 2014 - 14:49

Yes there is a special buttons, and I personally not use left and right key to adjust the volume, but many times I've seen recommendations or questions how to change the keymap, to use it.



Re: keymap.xml not working anymore #11 Taapat

  • PLi® Core member
  • 2,332 posts

+120
Excellent

Posted 27 August 2014 - 15:52

If we have already started to discuss, here is the patch which adds an option in the config "Left and right button zap controlling style", which allows you to set how to use the left and right keys- standard, neutrinos style, or for volume.
My english is not good, so maybe the option should be called differently, and maybe there is another, better solution.
I do not have a mipsel receiver with the original openpli enigma2, but I hope that in the patch I have not forgotten anything, and everything will work as it should be.

Attached Files



Re: keymap.xml not working anymore #12 littlesat

  • PLi® Core member
  • 56,123 posts

+685
Excellent

Posted 27 August 2014 - 16:17

I know.... But I think to combine it with neutrino/oldstyle is not a good idea....

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: keymap.xml not working anymore #13 Taapat

  • PLi® Core member
  • 2,332 posts

+120
Excellent

Posted 27 August 2014 - 16:25

I agree, but I have no idea how to implement it, not radically changing the existing one.



Re: keymap.xml not working anymore #14 Bernado

  • Senior Member
  • 63 posts

+2
Neutral

Posted 27 August 2014 - 17:50

since start of enigma2 development i am used to adjust keymap.xml and "openServiceList" is in my top5 list of used commands

used keymap.xml is called 'half-neutrino' in other images - up/down zap, left openservicelist, right showeventinfoplugin
 

"openServiceList": (self.openServiceList, _("Open service list")),

got removed from actionmap in this commit:

 

http://sourceforge.n...9552911598131f/

 

not too hard to manually adjust for enthusiasts but no negative effects when this line is added again imo, besides enabling mapping feature via manual edit or multiquickbutton



Re: keymap.xml not working anymore #15 littlesat

  • PLi® Core member
  • 56,123 posts

+685
Excellent

Posted 27 August 2014 - 17:55

I would say nr happy that you do not neef to alter keymap.xml..
I suggestie THE volume optorn belongs more to the ok for channellist feature...

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: keymap.xml not working anymore #16 littlesat

  • PLi® Core member
  • 56,123 posts

+685
Excellent

Posted 30 August 2014 - 19:10

@Taapad,

 

http://sourceforge.n...91bfb641830126/


WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: keymap.xml not working anymore #17 DeBeek

  • Senior Member
  • 1,490 posts

+47
Good

Posted 30 August 2014 - 19:50

Enable control volume with error buttons ..  When enabled you can control the volume with the arror?

or

Enable volume control with arrow buttons ..  When enabled you can control the volume with the arrow !

Edited by DeBeek, 30 August 2014 - 19:54.

Vu+DUO4K, (DVB-C FBC & DVB-S2X FBC twin tuner), OpenPLi Nightly Build, My-FullNightHD skin, Bluetooth remote,

2x Synology DS-116, 16 Gb USB3, Autotimer, Bitrate, EPG-Import, Ziggo Kabel-tv, Astra 28.2.


Re: keymap.xml not working anymore #18 Taapat

  • PLi® Core member
  • 2,332 posts

+120
Excellent

Posted 30 August 2014 - 20:13

First: that's what wrote DeBeek -error +arrow.
Second: I've noticed that for adjust the volume used only keys left and right, so I think that def keyUpCheck(self): and def keyDownCheck(self): do not need chagde.

 

If we talk about change, maybe the operation of keys need to call it what they are doing?
For example, I do not know what it means to 'neutrino' style, maybe you can define exactly what to do at keys up, down, left, right?



Re: keymap.xml not working anymore #19 Taapat

  • PLi® Core member
  • 2,332 posts

+120
Excellent

Posted 30 August 2014 - 20:23

I think it would be better to change all to two entries:
Use up, down keys in... as:

Use left, right keys in... as:


Edited by Taapat, 30 August 2014 - 20:24.


Re: keymap.xml not working anymore #20 Deezel

  • Member
  • 6 posts

0
Neutral

Posted 29 March 2016 - 20:54

If anyone is still viewing this thread, a question. Which button is BTN_0 and BTN_1. Also, Littlest is saying that news openpli does not respond to changes to satellites.xml to change buttons?


1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users