# IR Remote (Alternate Remote Application from [Hong5489](https://github.com/Hong5489/ir_remote))
This is an application (FAP) similar to the [UniversalRF Remix](https://github.com/ESurge/flipperzero-firmware-unirfremix) but for infrared (IR) files. The author states `"I do this plugin for convenience, because the main IR app need to navigate for different button abit troublesome (buttons like up,down,left,right,back). I found it useful for TV and TV box."` We agree!
IR Remote supports both short press and long press (hold) input for different IR buttons.
Compiled FAP has been tested on [Unleashed](https://github.com/DarkFlippers/unleashed-firmware) and [RogueMaster](https://github.com/RogueMaster/flipperzero-firmware-wPlugins) firmwares.
FAP file is either included or can be obtained with the "extra apps" pack.
*Unleashed*: Download [Extra Apps Pack](https://download-directory.github.io/?url=https://github.com/xMasterX/unleashed-extra-pack/tree/main/apps) then look in `Misc`
*RogueMaster*: Included under `Tools` folder.
Download all of the IR remote files [with this link](https://uberguidoz.github.io/DownGit/#/home?url=https://github.com/UberGuidoZ/Flipper/tree/main/Infrared/ir_remote/Example_Maps)
## How to use
The path of the actual IR file should be listed after `REMOTE:` at the top.
The rest of the buttons should be defined by the button `name:` listed in the original IR file.
The first section are short press, the last with `HOLD` is long press (hold).
Example of the configuration file:
```
REMOTE: /ext/infrared/IRDB/TVs/Roku/Roku.ir
UP: Up
DOWN: Down
LEFT: Left
RIGHT: Right
OK: Ok
BACK: Back
UPHOLD: V_up
DOWNHOLD: V_down
LEFTHOLD: Play
RIGHTHOLD: Home
OKHOLD: Power
```
Leave a line empty if it will not be used for a button.
1. Make sure the file is saved as a `txt` file with Unix (LF) line ending.
2. Make a new folder in the root of your SD card named `ir_remote`.
3. *If using RogueMaster, place the `ir_remote` folder into the `infrared` folder on the SD.*
4. Place your TXT map file from above into the `ir_remote` folder.
5. Open the app, choose the configuration file, then enjoy!
6. Hold the back button to exit the app. (This cannot be programmed in the map file.)

-----
## Donation Information
Nothing is ever expected for the hoarding of digital files, creations I have made, or the people I may have helped.
## Ordering from Lab401? [USE THIS LINK FOR 5% OFF!](https://lab401.com/r?id=vsmgoc) (Or code `UberGuidoZ` at checkout.)
I've had so many asking for me to add this.
 
**BTC**: `3AWgaL3FxquakP15ZVDxr8q8xVTc5Q75dS`
**BCH**: `17nWCvf2YPMZ3F3H1seX8T149Z9E3BMKXk`
**ETH**: `0x0f0003fCB0bD9355Ad7B124c30b9F3D860D5E191`
**LTC**: `M8Ujk52U27bkm1ksiWUyteL8b3rRQVMke2`
**PayPal**: `uberguidoz@gmail.com`
So, here it is. All donations of *any* size are humbly appreciated.
 
Donations will be used for hardware (and maybe caffeine) to further testing!
