@
Madiusmax Yes, the device is a substitute of the normal IR receiver.
Well, after some testing I succeeded in customizing my remote. Once you get in on the technicality of the remote mapping (i.e. how to edit a xml file and what keyword to use) customization is very very very simple. I am astonished no documentation is available on the pulse eight website: I found a lot of people having trouble in this and very little help in the pulse eight forum. Basically, to customize the remote you just need to create a remote.xml file as below and put it in your keymap folder (the location of that folder depends on your OS, look
here).
Code:
<keymap>
<global>
<remote>
<remote_key_id>action_id</remote_key_id>
</remote>
</global>
</keymap>
When you will press the remote_key_id on your remote, the action_id will be performed by xbmc. The available actions are listed
here, the remote_key_id depends on your remote. The difficult part is to find what remote_key_id is associate to what key on the remote. I did not find a complete list of remote_key_id, but I found several of them in a post on the pulse eight forum. I created the following remote.xml file.
Code:
<keymap>
<global>
<remote>
<select>Notification(Keypress, You pressed ok!, 3)</select>
<up>Notification(Keypress, You pressed up!, 3)</up>
<down>Notification(Keypress, You pressed down!, 3)</down>
<left>Notification(Keypress, You pressed left!, 3)</left>
<right>Notification(Keypress, You pressed right!, 3)</right>
<title>Notification(Keypress, You pressed option!, 3)</title>
<back>Notification(Keypress, You pressed back!, 3)</back>
<clear>Notification(Keypress, You pressed exit!, 3)</clear>
<red>Notification(Keypress, You pressed red!, 3)</red>
<green>Notification(Keypress, You pressed green!, 3)</green>
<yellow>ShowSubtitles</yellow>
<blue> NextSubtitle</blue>
<one>Notification(Keypress, You pressed one!, 3)</one>
<two>Notification(Keypress, You pressed two!, 3)</two>
<three>Notification(Keypress, You pressed three!, 3)</three>
<four>Notification(Keypress, You pressed four!, 3)</four>
<five>Notification(Keypress, You pressed five!, 3)</five>
<six>Notification(Keypress, You pressed six!, 3)</six>
<seven>Notification(Keypress, You pressed seven!, 3)</seven>
<eight>Notification(Keypress, You pressed eight!, 3)</eight>
<nine>Notification(Keypress, You pressed nine!, 3)</nine>
<zero>Notification(Keypress, You pressed zero!, 3)</zero>
<play>Notification(Keypress, You pressed play!, 3)</play>
<stop>Notification(Keypress, You pressed stop!, 3)</stop>
<pause>Notification(Keypress, You pressed pause!, 3)</pause>
<skipminus>Notification(Keypress, You pressed rewind!, 3)</skipminus>
<skipplus>Notification(Keypress, You pressed fast forward!, 3)</skipplus>
<record>Notification(Keypress, You pressed fast record!, 3)</record>
<pageplus>Notification(Keypress, You pressed pageup!, 3)</pageplus>
<pageminus>Notification(Keypress, You pressed pagedown!, 3)</pageminus>
<teletext>Notification(Keypress, You pressed teletext!, 3)</teletext>
<subtitle>Notification(Keypress, You pressed subtitle!, 3)</subtitle>
<guide>Notification(Keypress, You pressed guide!, 3)</guide>
</remote>
</global>
</keymap>
Then I started xbmc and proceeded tentatively by pressing all the keys on my remote and took note what key triggered the notification. You will find that some "bindings" are intuitive and other not: on my samsung the red key is correctly mapped, but the teletext is mapped to a key called "pre-ch" not to the teletext key. Once I found out what keyword to use, I mapped them to my favourite actions.
Please note that this is a very basic configuration. You can fine tune your remote using a window-based approach (i.e. the same key can have a different behaviour depending on what screen you are, home, video library, tv show library etc.) as explained
here. Furthermore you can trigger more actions using
built-in functions and
built-in controls. For instance, when I am in the video library I want to toggle between all and unwatched movies pressing the red button on my remote. To do that I added the lines below in my remote.xml file.
Code:
<keymap>
<global>
<remote>
</remote>
</global>
<VideoLibrary>
<remote>
<red>SendClick(14)</red> <!-- Toglle between unwatched and all movies -->
<green>noop</green>
</remote>
</VideoLibrary>
</keymap>