Hello just watch the video and it pretty much sums it up of how to setup any remote in your house with OSMC.
This tutorial will show you how to install OSMC(Kodi) onto Raspberry Pi 2 using Putty and how to setup any remote control to navigate OSMC.
This tutorial will also show you how to setup a custom layout configuration for your remote control.
Step 1: Installing OSMC(Kodi)
You first need to install OSMC, to do this we're going to need to download a wizard program provided by OSMC, here is a direct link, click here!
Open the wizard and select your preferred langauge, then select of what Raspberry Pi you are going to run OSMC on then click next. Select the latest update on the next screen then hit continue. You need to select you are installing the files onto for the Raspberry Pi to run of, then after select how OSMC will connect to the internet(It is recommended to have it connect via an Ethernet cable for stability). Click next, then you will be promted