Page 1 of 7 123 ... LastLast
Results 1 to 20 of 130

Thread: Keymap.xml modification

  1. #1
    Member
    Join Date
    Jul 2009
    Posts
    47
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Keymap.xml modification

    Hi all,
    I would like to modify my keymap.xml in usr/share/enigma2 and especially 2 keys and assign different function.
    Currently I have:
    Up/Down – calls channel list
    </> - Zap/change the channels 1 step up/down
    I need to have Up/Down – Zap/change the channels 1 step up/down
    Could someone point me out to the part/section or the keymap.xml that is related to those functions?
    Mu idea is to see how/what is assigned to </> and do same for Up/Down buttons.
    Also is it only in 1 place/section I have to edit or more….
    Do you think the idea I have is going to bring the result I am looking for?
    Thanks for your advices
    Cheers!

    Note: I am using Premium/RC4/HD16_2.17 with applied mapping for RES as help/keymap.xml located in /usr/lib/enigma2/python/Plugins/Extensions/setupGlass16/ is deleted and left there only keymap2.xml

  2. #2
    Member
    Join Date
    Dec 2010
    Posts
    70
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by satlubitel View Post
    Hi all,
    I would like to modify my keymap.xml in usr/share/enigma2 and especially 2 keys and assign different function.
    Currently I have:
    Up/Down – calls channel list
    </> - Zap/change the channels 1 step up/down
    I need to have Up/Down – Zap/change the channels 1 step up/down
    Could someone point me out to the part/section or the keymap.xml that is related to those functions?
    Mu idea is to see how/what is assigned to </> and do same for Up/Down buttons.
    Also is it only in 1 place/section I have to edit or more….
    Do you think the idea I have is going to bring the result I am looking for?
    Thanks for your advices
    Cheers!

    Note: I am using Premium/RC4/HD16_2.17 with applied mapping for RES as help/keymap.xml located in /usr/lib/enigma2/python/Plugins/Extensions/setupGlass16/ is deleted and left there only keymap2.xml
    Hi satlubitel, I use a keymap.xml (rename it removing .txt) similar one you need. It's based on hfml's keymap.

    It work so:
    Up-Down: change channel (next-previous)
    Ok: channel list
    Exit: info
    Radio: radio mode
    Resolution: tv mode
    REC: start record

    and the other as always.

    My last goal is to have volume settings via left/right but if I enable it I can't move page by page in channel list (for example).
    Try this one and let me know if there's other changes you need. We can study how to apply them.
    I had to rename the ones from skin (as you mentioned).
    Anyway the section to edit is:
    Code:
    <map context="InfobarChannelSelection">
    	<key id="KEY_DOWN" mapto="zapUp" flags="mr" /> 
    	<key id="KEY_UP" mapto="zapDown" flags="mr" /> 
    	<key id="KEY_OK" mapto="openServiceList" flags="mr" /> 
    	<key id="KEY_PREVIOUS" mapto="historyBack" flags="mr" />
    	<key id="KEY_NEXT" mapto="historyNext" flags="mr" />
    	<key id="KEY_BACK" mapto="historyBack" flags="mr" />
    	<key id="KEY_FORWARD" mapto="historyNext" flags="mr" />
    	<key id="KEY_CHANNELUP" mapto="openServiceList" flags="m" />
    	<key id="KEY_CHANNELDOWN" mapto="openServiceList" flags="m" />
    	<key id="BTN_0" mapto="zapUp" flags="mr" />
    	<key id="BTN_1" mapto="zapDown" flags="mr" />
    </map>

    SNL
    Attached Files Attached Files

  3. #3
    Member
    Join Date
    Jul 2009
    Posts
    47
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by sectorNOlimits View Post
    Hi satlubitel, I use a keymap.xml (rename it removing .txt) similar one you need. It's based on hfml's keymap.
    Thanks, will test tonight
    Cheers!

  4. #4
    Member
    Join Date
    Jul 2009
    Posts
    47
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Hi SNL,

    I have tested and unfortunately it doesn't work as described: Up/Down still calls channel list (same as OK).
    I have tryed to edit the section in you have mentioned few different variants, rebooted every time and still no any difference...
    Seems function of that keymap.xml is taken over of something else....dont know what.
    Seems like it is something from the skin...have that feeling but cannot confirm.
    So to conclude: No matters what I change, always <> are changing the channels and not Up/Down as I like...
    Will keep trying....
    Cheers!

  5. #5
    Member
    Join Date
    Dec 2010
    Posts
    70
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by satlubitel View Post
    I have tested and unfortunately it doesn't work as described: Up/Down still calls channel list (same as OK).
    Seems function of that keymap.xml is taken over of something else....dont know what.
    Seems like it is something from the skin...have that feeling but cannot confirm.
    You have to rename/delete the two keymaps from the skin. Normally, I rename them.

    SNL

  6. #6
    Member
    Join Date
    Jul 2009
    Posts
    47
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by sectorNOlimits View Post
    You have to rename/delete the two keymaps from the skin. Normally, I rename them.

    SNL
    Yes, I have tried that as well, but if both keymap and keymap2 are renamed, after the reboot I have 98 on the VFD and black screen on the TV or green screen....basically thats all....no luck
    hmmm
    Do you have same skin+patches?
    I have:
    enigma2-skin-hdglass16_2.17_mipsel.ipk
    +
    azbox-change-picture-skin-hdglass16_1_mipsel.ipk
    +
    azbox-change-picture-skin-hdglass16_2_mipsel.ipk
    Last edited by satlubitel; 02-02-2011 at 08:54 PM.

  7. #7
    Member
    Join Date
    Oct 2010
    Location
    CZ
    Posts
    54
    Thanks
    0
    Thanked 0 Times in 0 Posts
    /usr/lib/enigma2/python/Plugins/Extensions/setupGlass16/
    here is keymap and keymap2 for skin hd glass nothing delete, then use skin HDGLASS

    you must edit keymap.xml here usr/share/enigma2

  8. #8
    Member
    Join Date
    Dec 2010
    Posts
    70
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by schmegea View Post
    /usr/lib/enigma2/python/Plugins/Extensions/setupGlass16/
    here is keymap and keymap2 for skin hd glass nothing delete, then use skin HDGLASS

    you must edit keymap.xml here usr/share/enigma2
    My system is: PremiumHD, RC4, Glassh16.1.05.
    I've just tested with original keymap from skin, and modified one in /usr/share/enigma2 and the result is not the same.
    OK: infobar
    Exit: infobar.
    ovverriding my changes in
    <map context="InfobarChannelSelection" >
    .....
    <key id="KEY_OK" mapto="openServiceList" flags="mr" />

    You say that we need only to edit this keymap (/usr/share/enigma2) but can you explain the real target of the one in skin? Or in which section we have to change the key association for moving channel with up/down, channel list with OK, volume control with left/right when you are in TV, page up/down in channel list.


    Again, if I rename the one in skin, and use the one modified as in post before all works well. Without volume control....

    Thank you.
    SNL

  9. #9
    Member
    Join Date
    Jul 2009
    Posts
    47
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by schmegea View Post
    /usr/lib/enigma2/python/Plugins/Extensions/setupGlass16/
    here is keymap and keymap2 for skin hd glass nothing delete, then use skin HDGLASS

    you must edit keymap.xml here usr/share/enigma2
    @ schmegea:
    If I dont rename the keymap in setupGlass16, then no mater what I edit keymap.xml in usr/share/enigma2, there is no effect...
    So seems keymap of the skin has to be renamed and keymap2 MUST stay untouched (if take it out, I get green screen)
    I use v 2.17

    @ SNL:
    So thats myght be the diffrence, I am not on 1.05, but 2.17 and Up/Down is not working. When I was on 1.05, yes it was like you say-Up/Down was assigned to zapping.
    Now the interesting point: I have uninstalled 2.17, deleted all related folders and installed clean 1.05 and found it is not behaving as before but exactly as 2.17...so no way to make Up/Down to zap...they always call list.
    Seems 2.17 changed something somewhere...kind og embeded setting and now no maters which version of the HD16 skin is and what keymap.xml I use always Up/Down are calling satellite list and not Zapping...
    Cheers!

  10. #10
    Member
    Join Date
    Dec 2010
    Posts
    70
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by satlubitel View Post
    @ SNL:
    So thats myght be the diffrence, I am not on 1.05, but 2.17 and Up/Down is not working. When I was on 1.05, yes it was like you say-Up/Down was assigned to zapping.
    Now the interesting point: I have uninstalled 2.17, deleted all related folders and installed clean 1.05 and found it is not behaving as before but exactly as 2.17...so no way to make Up/Down to zap...they always call list.
    Seems 2.17 changed something somewhere...kind og embeded setting and now no maters which version of the HD16 skin is and what keymap.xml I use always Up/Down are calling satellite list and not Zapping...
    Cheers!
    this evening I'll try new version... 2.17 as you.

    SNL

  11. #11
    Member
    Join Date
    Dec 2010
    Posts
    70
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Ok, I've installed last version and modified some files for our goal.

    Rename /usr/lib/enigma2/python/Plugins/Extensions/setupGlass16/keymap.xml.
    I've modified keymap2.xml from skin to use KEY_RADIO for ECM and TP info, I've used Radio button for the moment because I don't know the codes of other free keys, and radio in not working so well (in RC4). If someone knows other KEY_ we can use it (for example the len-search key), let us know.

    Edit this file that way:

    Code:
    /usr/lib/enigma2/python/Plugins/Extensions/setupGlass16/keymap2.xml
    
    <keymap>
            <map context="GlobalActions">
                    <key id="KEY_RADIO" mapto="showSpecialScreen" flags="m" />
            </map>
    </keymap>
    And put in /usr/share/enigma2 the attached keymap.xml (rename it).
    It's just missing volume control with left/right. But other things are working well as we want.

    SNL
    Attached Files Attached Files
    Last edited by sectorNOlimits; 04-02-2011 at 12:16 AM.

  12. #12
    Member pingflood's Avatar
    Join Date
    Aug 2009
    Posts
    52
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Try this keymap:

    - Multimedia keys OK
    - Record on REC
    - Timeshift on Play/Pause
    - Stop on Stop button (Duh!)
    - Subtitles on Sub-t (Red)
    - Audio selection on Lang (Yellow)
    - Recording list on Aux
    - Delete (when supported by list) on DEL/BACK
    - Switch between TV/Radio on TV/RADIO
    - EPG on GUIDE

    Other small fixes (suport for repeated events on some lists, etc) that I can't remember right now. Test it and enjoy.
    -------------------
    Check for updated version here:
    https://www.satpimps.co.uk/showpost....1&postcount=26
    Attached Files Attached Files
    Last edited by pingflood; 06-02-2011 at 08:51 PM. Reason: added updated link

  13. #13
    Senior Member
    Join Date
    May 2009
    Location
    Putte, Belgium
    Posts
    225
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Best keymap so far by far! Great work!

  14. #14
    V.I.P beamobhoy's Avatar
    Join Date
    Jul 2009
    Posts
    360
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by pingflood View Post
    Try this keymap:

    - Multimedia keys OK
    - Record on REC
    - Timeshift on Play/Pause
    - Stop on Stop button (Duh!)
    - Subtitles on Sub-t (Red)
    - Audio selection on Lang (Yellow)
    - Recording list on Aux
    - Delete (when supported by list) on DEL/BACK
    - Switch between TV/Radio on TV/RADIO
    - EPG on GUIDE

    Other small fixes (suport for repeated events on some lists, etc) that I can't remember right now. Test it and enjoy.

    Doesn't load on my azbox - must be doing something wrong - but what? I have renamed it keymap.xml and put it in /usr/share/enigma2 anything else need doing?

  15. #15
    V.I.P beamobhoy's Avatar
    Join Date
    Jul 2009
    Posts
    360
    Thanks
    0
    Thanked 0 Times in 0 Posts
    and my fecking box has crashed now...................!

    :beatdeadhorse5:

  16. #16
    Junior Member
    Join Date
    Oct 2010
    Posts
    17
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Crash

    Quote Originally Posted by beamobhoy View Post
    and my fecking box has crashed now...................!

    :beatdeadhorse5:
    security 644 !

    i have done same as you, but changed the security for keymap.xml to 644. I have no crash and it works.

  17. #17
    V.I.P beamobhoy's Avatar
    Join Date
    Jul 2009
    Posts
    360
    Thanks
    0
    Thanked 0 Times in 0 Posts
    hauminix, i have "17" stuck on my vfd and it will not reboot either by remote or stb. turned it off for 20 mins - still no luck still have "17" on vfd. can gain access by DCC but a reboot from there doesn't do anything. Any ideas mate?

  18. #18
    Member pingflood's Avatar
    Join Date
    Aug 2009
    Posts
    52
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by beamobhoy View Post
    Doesn't load on my azbox - must be doing something wrong - but what? I have renamed it keymap.xml and put it in /usr/share/enigma2 anything else need doing?
    *renamed*?

    Did you unpacked the file first?

    The file inside is named keymap.xml, you don't need to rename it.

    Regards

  19. #19
    V.I.P
    Join Date
    Nov 2008
    Posts
    720
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Works like a charm overhere on RC4 best keymap i saw.

    @pingflood

    Great Job:respect-055:

    BTW do you know how to get Grafical Multi EPG under GUIDE in .xml file

    I can't seem to get that one, it's under BLUE option 2.

    Would love to have that one under GUIDE

  20. #20
    V.I.P beamobhoy's Avatar
    Join Date
    Jul 2009
    Posts
    360
    Thanks
    0
    Thanked 0 Times in 0 Posts
    that would be where i went wrong then!

    Ta!

Page 1 of 7 123 ... LastLast

Similar Threads

  1. Diablo CAM modification
    By heyhey in forum AZBox HD Newbie Questions
    Replies: 2
    Last Post: 07-03-2010, 11:01 AM
  2. Bootloader modification?
    By smogm in forum AZBox HD Newbie Questions
    Replies: 5
    Last Post: 27-03-2009, 03:25 PM
  3. Nokia 9800S modification
    By T24 in forum Tools & Editors
    Replies: 0
    Last Post: 11-02-2007, 01:23 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •