Bug #2897

CEC combos won't work (regression)

Added by Leonid Protasov about 4 years ago. Updated about 4 years ago.

Status:FixedStart date:11/15/2015
Priority:HighDue date:
Assignee:Andreas Smas% Done:

100%

Category:User interface
Target version:5.0
Found in version:4.99.392 Platform:RPi

Description

Associated revisions

Revision 62336ae1
Added by Andreas Smas about 4 years ago

cec: Add support for STOP key combo similar to Kodi

Fixes #2897

Change included in version 4.99.443

History

#1 Updated by Leonid Protasov about 4 years ago

Please add Stop button handling. Please note that CEC_USER_CONTROL_CODE_STOP is still doesn't work. Log of event was here: https://movian.tv/issues/2903

Also please map PlayPlay combo to Item menu as it's more convenient...

#2 Updated by Andreas Smas about 4 years ago

Turns out libcec already does combo for stop-key as follows:

  // stop + ok -> exit
      if (key.keycode == CEC_USER_CONTROL_CODE_SELECT)
        transmitKey.keycode = CEC_USER_CONTROL_CODE_EXIT;
      // stop + pause -> root menu
      else if (key.keycode == CEC_USER_CONTROL_CODE_PAUSE)
        transmitKey.keycode = CEC_USER_CONTROL_CODE_ROOT_MENU;
      // stop + play -> dot (which is handled as context menu in xbmc)
      else if (key.keycode == CEC_USER_CONTROL_CODE_PLAY)
        transmitKey.keycode = CEC_USER_CONTROL_CODE_DOT;
      // default, send back the previous key

Thus .. stop + ok will be NavBack

stop + pause .. page menu

stop + play -> context menu

#3 Updated by Andreas Smas about 4 years ago

  • Status changed from New to Fixed
  • % Done changed from 0 to 100

Also available in: Atom PDF