Adding further description

This commit is contained in:
UberGuidoZ 2022-12-15 15:05:07 -08:00 committed by GitHub
parent 00204f9cb6
commit 01143359a9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,38 +1,40 @@
# IR Remote Fap Remotes
https://github.com/Hong5489/ir_remote
----
# Alternative Infrared Remote for Flipperzero
# IR Remote (Alternate Remote Application from [Hong5489](https://github.com/Hong5489/ir_remote))
It is a plugin like [UniversalRF Remix](https://github.com/ESurge/flipperzero-firmware-unirfremix) but for infrared files. 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.
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!
It supports short press and long press input for different ir remote buttons. Tested on the unleashed firmware.
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.
## How to use
1. Similar to UniRF app, put the path of the ir file and the ir button for each button on flipper (UP,DOWN,LEFT,RIGHT,BACK)
The path of the actual IR file should be listed after `REMOTE:` at the top.<br>
The rest of the buttons should be defined by the button `name:` listed in the original IR file.
The format With `HOLD` one is long press, without is short press
The first section are short press, the last with `HOLD` is long press (hold).
Example of the configuration file:
```
REMOTE: /ext/infrared/Philips_32PFL4208T.ir
REMOTE: /ext/infrared/IRDB/TVs/Roku/Roku.ir
UP: Up
DOWN: Down
LEFT: Left
RIGHT: Right
OK:
OK: Ok
BACK: Back
UPHOLD: VOL+
DOWNHOLD: VOL-
LEFTHOLD: Source
RIGHTHOLD: SmartTV
OKHOLD: POWER
UPHOLD: V_up
DOWNHOLD: V_down
LEFTHOLD: Play
RIGHTHOLD: Home
OKHOLD: Power
```
Leave it empty for the button you don't need
Leave a line empty if it will not be used for a button.
2. Save it as `.txt` file, then create a new folder in your SD card `ir_remote`, put it inside the folder
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. Place your TXT map file from above into the `ir_remote` folder.
4. Open the app, choose the configuration file, then enjoy!
5. Hold the back button to exit the app. (This cannot be programmed in the map file.)
3. Lastly, you can open the app, choose the configuration file, then you can try out the ir for each buttons
![IR_Remote](https://user-images.githubusercontent.com/57457139/207985275-e5e5e1cb-28f6-48cc-bec1-5f8db5d95584.gif)
4. Long press back button to exit the app
NOTE: If using RogueMaster, place the `ir_remote` folder into the `infrared` folder on the SD.