(FN+LT/RT). Press the FN button + M1/M2 for 2 seconds to enter programming mode, press the button you want to program, and then press M1/M2 again.
eBay