Jump to content
Flirc Forums

Mapping FUNCTIONS to keypress

Recommended Posts

Is there a way to map XBMC functions to keypresses?

The specific function I'm wanting is UpdateLibrary(database,[path]) ...

I would like to press a key on my remote (and have FLIRC see it) and have the XBMC Library update itself for new content.

This particular function does not have a pre-defined keyboard key.


Share this post

Link to post
Share on other sites

Sorry to resurrect such an old thread, but I was looking for something else and found this, and wanted to say that this is actually REALLY easy to do. From your userdata folder, go to keymaps/keyboard.xml (create the file if you don't already have it there, and add the update function to any key that isn't already used by XBMC. In my map below, I have my video library updated using the U key, and then I mapped U to the remote button for updating the video library using the flirc software. In my map, ctrl_U does the music library.




	  <h mod="ctrl">ActivateWindow(Home)</h>





	  <u mod="ctrl">UpdateLibrary(music)</u>




  • Like 1

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now