Jump to content


Photo

Need help with key mapping and HDMI-CEC


  • Please log in to reply
5 replies to this topic

#1 Misiak

  • Senior Member
  • 77 posts

+5
Neutral

Posted 9 July 2013 - 21:54

Hi, I have Samsung F serie TV and I'm using HDMI-CEC to remote my Vu+ box with TV remote control. Everything works perfect except one thing which is very annoying. This TV use a Smart Touch 3.0 remote control which has limited set of buttons. There is a key for RETURN/EXIT. This key has however two states. Short press trigger RETURN function and long press EXIT function. So every time I want to go back, or exit a menu I need to hold this key down for 3 second. If I press it shortly, nothing happen.

 

I've turned debug mode on and found out that one short press send HDMI-CEC message as follows: 8A 91

Long press send a message: 44 0D

 

So my question is how can I map a new message (8A 91) to an action which is assigned to 44 0D. So in this case both messages 8A 91 and 44 0D will trigger the same action? I've tried to search in implementation but I did not find a place where it is configured in OpenPLI images.

 

Thanks for any help. 



Re: Need help with key mapping and HDMI-CEC #2 Taapat

  • PLi® Core member
  • 2,345 posts

+121
Excellent

Posted 12 July 2013 - 08:10

HDMI-CEC key mapping can be set in lib/driver/hdmi_cec.cpp (in source codes).
But I do not think it's suitable for you, because then you have to build the own image.
I think if you need to enigma not ignore code, it must be set in file hdmi_cec.cpp.


Re: Need help with key mapping and HDMI-CEC #3 Misiak

  • Senior Member
  • 77 posts

+5
Neutral

Posted 12 July 2013 - 19:51

HDMI-CEC key mapping can be set in lib/driver/hdmi_cec.cpp (in source codes).
But I do not think it's suitable for you, because then you have to build the own image.
I think if you need to enigma not ignore code, it must be set in file hdmi_cec.cpp.

Hi, thanks for reply. Yes, you right. I've also found this driver as the right place to change. However, it is written in C++ so I would need to recompile the driver. I just thinking if it would be possible to just add this new keymapping there and commit into repository. Then it should be compiled in nightly build and available to everyone, am I right?. In fact there is only EXIT key mapped (44 0D) but not the return (8A 91). Maybe someone from OpenPLI developers could help as I'm not very keen in C++ and image compiling. Btw, I've found out that some mapping is also done in lib/python/components/HdmiCec.py. Wouldn't be possible to make the change here ? Thx.



Re: Need help with key mapping and HDMI-CEC #4 andriup1

  • New Member
  • 4 posts

0
Neutral

Posted 28 November 2018 - 19:05

Hello.
Any updates in your issue?
Having this same query, would like to swap over functionality of this push button.

Regards.

Re: Need help with key mapping and HDMI-CEC #5 ccs

  • Senior Member
  • 229 posts

+7
Neutral

Posted 28 November 2018 - 19:07

…. after five and a half years ?? :)


test


Re: Need help with key mapping and HDMI-CEC #6 Pr2

  • PLi® Contributor
  • 6,181 posts

+261
Excellent

Posted 29 November 2018 - 14:00

My TV is just used as a monitor, so I only use the STB remote control, I don't need the TV RCU problem solved.   :D


NO SUPPORT by PM, it is a forum make your question public so everybody can benefit from the question/answer.
If you think that my answer helps you, you can press the up arrow in bottom right of the answer.

Wanna help with OpenPLi Translation? Please read our Wiki Information for translators

Sat: Hotbird 13.0E, Astra 19.2E, Eutelsat5A 5.0W
VU+ Solo 4K: 2*DVB-S2 + 2*DVB-C/T/T2 (used in DVB-C) & Duo 4K: 2*DVB-S2X + DVB-C (FBC)

AB-Com: PULSe 4K 1*DVB-S2X (+ DVB-C/T/T2)
Edision OS Mio 4K: 1*DVB-S2X + 1*DVB-C/T/T2
 



3 user(s) are reading this topic

0 members, 3 guests, 0 anonymous users