Personalize Mapping samsung remote.

Hi RasPlex users ! 

I would like to personalize the mapping of my samsung remote (http://lc.cx/samsungrc). I want to use my tv remote control more efficiently. For that i need help because i'm not an expert in xml code and don't know where i can find the exact tag of touch. 

remote.xml is the file which have to be modfy. the is located here ./usr/share/xbmc/system/keymaps/remote.xml. but it's not possible to update it and you have to copy/paste that file to /storage/.plexht/userdata/keymaps.
 

You can see below what my TV remote does currently and what i think it should have to do for better use. 

 

Someone motivated to help me ?  :) Thank's 

 

1) Menu

  • exit : nothing
  • return: option
    • Return should do nothing, exit should show option menu in order to choose how we want to turn off rasplex.


2) on deck and recently added :

  • exit : back to the menu
  • return : option menu
    • Exit and return can return to the menu
    • Option should be in "Tools" touch
       

3) Movie section (Blu-Ray Movie for example)

  • exit : back to the menu
  • return: option
    • Exit and return can return to the menu
    • Option should be in "Tools" touch


4) Movie description

  • exit: back to Movie section
  • return: nothing
    • Exit should return to the menu section
    • Return should return to the Movie section
    • Option should be in "Tools" touch


5)When movie is playing.

  • exit: quit and back to the film description.
  • return: show detail infos
    • exit should return to the Movie section
    • Return should return to the Movie description
    • Details infos should be in "Infos" Touch


6) When menu bar is showing (durind a movie)

  • exit: quit menu bar
  • return: do nothing
    • exit should still quit movie
    • return should quit menu bar.

 

hello

I too am using Samsung, but I do not have the problems you are having - but then my remote is not the same one.

I have this one:

http://www.amazon.co.uk/Remote-Control-BN59-00611A-LCD-SAMSUNG/dp/B00CRLQ5WC/ref=sr_1_2?ie=UTF8&qid=1395596180&sr=8-2&keywords=remote+for+samsung+tv

Are you using the remote in TV mode and not BD mode?

Keys that function on my Samsung remote :

Exit - to go back

Enter

Return - when playing media displays info about the media

Up, down, left, right

Stop - stops media playing

Play/ Pause

Numbers keys - use to input  a time followed by ENTER to jump to that time.

I found info on remote control XMBC keymaps at:

http://wiki.xbmc.org/index.php?title=Keymap

And this is what a basic remote.xml file should looks like:

___________________________________________


 
   
      Play
      FastForward
      Rewind
      Stop
      Left
      Right
      Up
      Down
      Select
   
 

____________________________________________

It seems simple enough, and I will play with this myself as it will be useful to use the colour keys to shortcut to home screen etc.

And below the actions that can be used.

Note - you can assign actions to any key that is not being used by the TV when switched to the Rasplex input.

One has to test this actions against keys on your remote and see what works.

_____________________________________________

XMBC Main actions:

http://wiki.xbmc.org/index.php?title=Action_IDs

I see that the Samsung hex code keymaps are stored in the Rasberry Pi system at:

/etc/rc_keymaps

So these are standards Samsung codes that tell the CEC in Rasplex what button is being pushed on a Samsung remote and so all Samsung remotes should behave in the same way. If you are not getting the expected result when pressing a key - make sure you press the TV button on the remote to set it to TV mode.

This is what the file contains:

______________________________

# table samsung, type: NEC
0x43532f KEY_NUMERIC_0
0x435341 KEY_NUMERIC_1
0x435342 KEY_NUMERIC_2
0x435343 KEY_NUMERIC_3
0x435344 KEY_NUMERIC_4
0x435345 KEY_NUMERIC_5
0x435346 KEY_NUMERIC_6
0x435347 KEY_NUMERIC_7
0x43533f KEY_NUMERIC_8
0x435337 KEY_NUMERIC_9
0x435305 KEY_ENTER
0x435300 KEY_TITLE
0x435326 KEY_INFO
0x435323 KEY_VOLUMEUP
0x43532b KEY_VOLUMEDOWN
0x435375 KEY_FASTFORWARD
0x435374 KEY_REWIND
0x43537d KEY_PLAYPAUSE
0x43530b KEY_STOP
0x435313 KEY_NEXT
0x43531b KEY_PREVIOUS
0x43530d KEY_UP
0x435315 KEY_DOWN
0x435325 KEY_LEFT
0x43531d KEY_RIGHT
0x435336 KEY_MENU
0x43537e KEY_EXIT
0x43530f KEY_ZOOM
0x43530e KEY_SUBTITLE
0x43531c KEY_BACK

____________________________

NOTE - no colour buttons listed !!??

I've had this issue for a while with my Samsung TV remote and using Raspbmc.

The Return button, which should logically go back a screen, used to bring up the context menu. And the Exit button, which I never used, had to be used for going back a screen instead.

If you're using the Plex Samsung app, Return goes back a screen. This disparity between the Samsung Plex app and Rasplex, using the same remote, has very low WAF (wife acceptance factor).

So through some guessing I managed to edit the attached remote.xml file to the following:

Global:

RETURN button: go back a screen

RED button: go back to home screen (handy on the sluggish pi)

GREEN button: shows info where available

YELLOW button: context menu button (set watched / unwatched and the like)

GUIDE button: quick reset of rasplex if needed

And whilst playing video:

RETURN button: go back if in a menu during playback

GREEN button: show Now Playing info

YELLOW button: context menu

BLUE button: used to toggle subtitles in raspbmc, not sure if it does anything in rasplex but I left it there just in case

I found configuring this to be very confusing. should not be the label for context menu, for example! Anyway I have it working well enough. The only thing I can't figure out is which label corresponds to the EXIT button, which I would like to map to XBMC.ActivateWindow(Home) aka Navigate Home, my red button.

I've had this issue for a while with my Samsung TV remote and using Raspbmc.

The Return button, which should logically go back a screen, used to bring up the context menu. And the Exit button, which I never used, had to be used for going back a screen instead.

If you're using the Plex Samsung app, Return goes back a screen. This disparity between the Samsung Plex app and Rasplex, using the same remote, has very low WAF (wife acceptance factor).

So through some guessing I managed to edit the attached remote.xml file to the following:

Global:

RETURN button: go back a screen

RED button: go back to home screen (handy on the sluggish pi)

GREEN button: shows info where available

YELLOW button: context menu button (set watched / unwatched and the like)

GUIDE button: quick reset of rasplex if needed

And whilst playing video:

RETURN button: go back if in a menu during playback

GREEN button: show Now Playing info

YELLOW button: context menu

BLUE button: used to toggle subtitles in raspbmc, not sure if it does anything in rasplex but I left it there just in case

I found configuring this to be very confusing. should not be the label for context menu, for example! Anyway I have it working well enough. The only thing I can't figure out is which label corresponds to the EXIT button, which I would like to map to XBMC.ActivateWindow(Home) aka Navigate Home, my red button.

Thanks for the file and info

I copied your file into the Raspberry Pi and the RETURN button is now working as you say, and the EXIT button still doing the return function exactly the same too, as it has always done.

My colour buttons on my older Samsung remote control have no input to the CEC - I checked using the CEC-Client monitoring through SSH.

But figured out that the EXIT button is performing the function and so changed it in section (even if you stated it did not work) :

XBMC.ActivateWindow(Home)

 and yes it works for my remote taking me back to the home screen.

The problem with Samsung remotes is that the RETURN function has got mapped to the EXIT/OPTION button and vice versa. This key is the main key used to navigate with the arrow and Enter key and Stop and Play/pause keys.

Keys that work on Samsung remotes with Rasplex or RaspXMBC etc

ENTER
ARROW keys
EXIT
RETURN
STOP
PLAY/PAUSE

NUMBERS (these work when playing media if you input for example 200 following quickly by the enter key. Then the play point will jump forward 2 minutes ----  etc.
Also when in a listing of media (list or poster view - the number keys can be used to jump  around - I have yet to figure out the logic of it)

-/-- (This key in my Samsung remote does the same as the RETURN key i.e. the exit/option functions)

The REWIND and FASTFORWARD keys give me no response, but might on other Samsung remotes.

 

I didn't even know HDMI-CEC was a thing when I started messing with my raspberry pi. I was very pleasantly surprised when I found I could navigate XBMC with my TV remote, bye bye IR dongle and MCE remote! I can't understand why graphics cards in general don't have HDMI-CEC built in, but I've been using the pulse eight adapter with great results to fill in this gap.

Hopefully in the coming months we will see libcec updated so that the mapped buttons correspond more closely with their likely functions.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.