xbmc/xbmc — pull request #536 by jhsrennie (2011-11-16 11:47:51+00:00)
Title: Key mappings for HID devices

I've rewritten the key mapping code to change the way that HID device key mappings are handled.

HID device specific mappings are now kept in subdirectories and the peripherals.xml contains the name of the subdirectory. XBMC first loads the standard mappings, then if a HID device has been specified it merges the HID mappings into the standard mappings. This means any HID mappings are incremental i.e. they are added to or override the standard mappings.

This is a first try and is intended mostly to solicit feedback. Having said that, I've tested pretty thoroughly with my Nyxboard and it all seems to work fine.