https://tech.iprock.com/archives/10065
Using irrecord to allow LIRC to recognize extra buttons, as from an unused remote and/or a Harmony remote