I implemented your code to make a universal remote for my IR devices using a raspberry pi zero. It works great, thanks!
Now I am trying to integrate a Fire TV device into the remote. I have found a way to control the device using a console command in the following format: "adb shell input keyevent 19" where the number (19) corresponds to the desired command (up, in this case). I am trying to add a device so that instead of assigning "KEY_power" I could assign "FIRETV_19" and upon a button click, have it issue the adb console command instead of the IRSEND command.
I have some programming knowledge, but have never used javascript before, so any hints on how to accomplish this would be greatly appreciated. Thanks again for your code, it's awesome!
I implemented your code to make a universal remote for my IR devices using a raspberry pi zero. It works great, thanks!
Now I am trying to integrate a Fire TV device into the remote. I have found a way to control the device using a console command in the following format: "adb shell input keyevent 19" where the number (19) corresponds to the desired command (up, in this case). I am trying to add a device so that instead of assigning "KEY_power" I could assign "FIRETV_19" and upon a button click, have it issue the adb console command instead of the IRSEND command.
I have some programming knowledge, but have never used javascript before, so any hints on how to accomplish this would be greatly appreciated. Thanks again for your code, it's awesome!