Запускаем KaRadio32 с подключенным IR и соединяемся через telnet (программа termite).
указываете Ваш Сом-порт, даем команду sys.logi — делаете рессет esp32.
Далее жмете кнопки и смотрите на экран, появившиеся команды в виде FF0009 или FF005F записываете на листик, потом эти коды записываете в конфигурационный файл, добавляя 0х получится примерно так:
K_UP, data, string, 0xFF0018
K_LEFT, data, string, 0xFF0008
K_OK, data, string, 0xFF001C
А это разъяснения, что и куда:
The keys and actions are:
K_UP Change to next Station
K_LEFT Volume Down -5
K_OK Toggle play/Stop
K_RIGHT Volume up +5
K_DOWN Change to previous station
K_0 Enter number of the wanted station
K_1 Enter number of the wanted station
K_2 Enter number of the wanted station
K_3 Enter number of the wanted station
K_4 Enter number of the wanted station
K_5 Enter number of the wanted station
K_6 Enter number of the wanted station
K_7 Enter number of the wanted station
K_8 Enter number of the wanted station
K_9 Enter number of the wanted station
K_STAR Play
K_DIESE Stop
K_INFO Toggle time/info display