You can look at this You can define your remote key like this "keymap = <REMOTE_KEY(0x18,KEY_POWER)>;"