update universal ac remote, new buttons, fixed ac.ir

deduplicated and fixed some names, also move sk-SK keymap into layouts folder
This commit is contained in:
MX 2022-08-08 17:52:53 +03:00
parent 1817669230
commit ef7dcc2e5e
No known key found for this signature in database
GPG key ID: 6C4C311DFD4B4AB5
4 changed files with 48 additions and 282 deletions

View file

@ -12,22 +12,61 @@ void infrared_scene_universal_ac_on_enter(void* context) {
infrared_brute_force_set_db_filename(brute_force, EXT_PATH("infrared/assets/ac.ir"));
//TODO Improve A/C universal remote
button_panel_reserve(button_panel, 1, 1);
button_panel_reserve(button_panel, 2, 2);
uint32_t i = 0;
button_panel_add_item(
button_panel,
i,
0,
0,
20,
19,
3,
24,
&I_Power_25x27,
&I_Power_hvr_25x27,
infrared_scene_universal_common_item_callback,
context);
infrared_brute_force_add_record(brute_force, i++, "POWER");
button_panel_add_item(
button_panel,
i,
1,
0,
36,
24,
&I_Up_25x27,
&I_Up_hvr_25x27,
infrared_scene_universal_common_item_callback,
context);
infrared_brute_force_add_record(brute_force, i++, "MODE");
button_panel_add_item(
button_panel,
i,
0,
1,
3,
69,
&I_Vol_up_25x27,
&I_Vol_up_hvr_25x27,
infrared_scene_universal_common_item_callback,
context);
infrared_brute_force_add_record(brute_force, i++, "TEMP+");
button_panel_add_item(
button_panel,
i,
1,
1,
36,
69,
&I_Vol_down_25x27,
&I_Vol_down_hvr_25x27,
infrared_scene_universal_common_item_callback,
context);
infrared_brute_force_add_record(brute_force, i++, "TEMP-");
button_panel_add_label(button_panel, 6, 11, FontPrimary, "AC remote");
button_panel_add_label(button_panel, 20, 66, FontSecondary, "Temp");
button_panel_add_label(button_panel, 8, 23, FontSecondary, "Pwr");
button_panel_add_label(button_panel, 40, 23, FontSecondary, "Mod");
view_set_orientation(view_stack_get_view(infrared->view_stack), ViewOrientationVertical);
view_dispatcher_switch_to_view(infrared->view_dispatcher, InfraredViewStack);

View file

@ -1,5 +1,5 @@
V:0
T:1659948399
T:1659970246
D:badusb
D:dolphin
D:infrared
@ -25,6 +25,7 @@ F:0d971f10fc8f3d373604f3b19ebf9251:256:badusb/layouts/hu-HU.kl
F:66564950e0bbfb4cc1d847ce3ab28b24:256:badusb/layouts/it-IT.kl
F:fe381203fa06318e0dc05c8c2efdc609:256:badusb/layouts/nl-NL.kl
F:d939c563da44f227786350b6e467c155:256:badusb/layouts/pt-PT.kl
F:6461e0e3897f295d59efecd70ca3a294:256:badusb/layouts/sk-SK.kl
F:b62d559209e0d450b4d77f76e29ec1be:256:badusb/layouts/sv-SE.kl
D:dolphin/L1_Boxing_128x64
D:dolphin/L1_Cry_128x64
@ -240,7 +241,7 @@ F:33b8fde22f34ef556b64b77164bc19b0:578:dolphin/L3_Lab_research_128x54/frame_8.bm
F:f267f0654781049ca323b11bb4375519:581:dolphin/L3_Lab_research_128x54/frame_9.bm
F:41106c0cbc5144f151b2b2d3daaa0527:727:dolphin/L3_Lab_research_128x54/meta.txt
D:infrared/assets
F:4f656979648633e248c0f7f7a37e3a8d:21271:infrared/assets/ac.ir
F:14011ff164000afe6c74a5ca30738813:59323:infrared/assets/ac.ir
F:b61d602f6a60555f2d92d4eebfa27924:27419:infrared/assets/audio.ir
F:45d36ceeac6be64eea3a0615a612ccbc:107466:infrared/assets/tv.ir
F:a157a80f5a668700403d870c23b9567d:470:music_player/Marble_Machine.fmf

View file

@ -1,35 +1,8 @@
Filetype: IR signals file
Version: 1
#
# Universal AC IR codes - Brute force by JEREMYNO for Flipper
# Universal AC IR codes - Brute force updated by jaroslavmraz and fixed by MX
# BETA version
#
# Admiral AC
#
name: POWER
type: parsed
protocol: NEC
address: 20 00 00 00
command: 02 00 00 00
#
name: Mode
type: parsed
protocol: NEC
address: 20 00 00 00
command: 09 00 00 00
#
name: TEMP+
type: parsed
protocol: NEC
address: 20 00 00 00
command: 0A 00 00 00
#
name: TEMP-
type: parsed
protocol: NEC
address: 20 00 00 00
command: 11 00 00 00
#
#
# Airmet AC by JEREMYNO
#
@ -59,18 +32,6 @@ data: 8943 4491 586 565 534 1692 567 559 539 1660 588 1663 565 561 568 557 542 5
#
# Amcor AC
#
name: POWER
type: parsed
protocol: NEC
address: 80 00 00 00
command: 9C 00 00 00
#
name: MODE
type: parsed
protocol: NEC
address: 80 00 00 00
command: 9D 00 00 00
#
name: TEMP+
type: parsed
protocol: NEC
@ -134,27 +95,6 @@ frequency: 38000
duty_cycle: 0.330000
data: 9013 4502 575 560 574 562 572 1671 565 569 565 570 543 592 542 540 594 567 546 1697 571 1672 575 560 574 1695 541 1702 545 1671 597 1673 574 563 1670 1703 575 560 542 592 542 540 593 568 545 590 544 564 569 565 548 587 547 1670 566 1702 566 1677 570 1674 573 1670 598 1698 538 1704 543 39972 9017 2251 568 96272 9021 2249 570 96268 9013 2256 574 96264 9015 2254 56
#
# Corlitec Portable AC
# 'Corlitec' is rebadge, the same unit is sold under a dozen brand names
#
name: POWER
type: parsed
protocol: NECext
address: 10 E7 00 00
command: 00 FF 00 00
#
name: TEMP+
type: parsed
protocol: NECext
address: 10 E7 00 00
command: 15 EA 00 00
#
name: TEMP-
type: parsed
protocol: NECext
address: 10 E7 00 00
command: 0D F2 00 00
#
# Daikin TB industrial AC
#
name: POWER
@ -162,14 +102,6 @@ type: raw
frequency: 38000
duty_cycle: 0.330000
data: 5050 2165 361 1803 367 716 363 718 361 721 358 1806 364 718 362 720 359 723 367 715 364 1800 359 722 368 1797 362 1802 368 714 365 1799 360 1803 367 1798 361 1803 367 1797 362 720 359 1805 365 717 363 719 360 722 368 714 365 717 362 719 360 1804 366 1798 361 721 358 723 367 715 364 718 361 720 359 1805 365 717 362 720 359 722 368 714 365 717 362 719 361 722 368 714 365 716 363 719 360 721 358 724 366 716 363 718 361 1803 367 1797 362 1802 368 1797 362 719 360 722 368 714 365 29579 5061 2156 360 1804 366 717 362 719 360 722 357 1806 364 719 360 721 358 724 366 716 363 1801 358 723 367 1798 361 1802 368 715 364 1800 359 1804 366 1799 360 1804 366 1798 361 721 359 1806 364 718 362 721 359 723 367 715 364 718 362 720 359 1805 365 1799 360 722 368 714 365 717 362 719 361 721 358 724 366 716 363 719 361 721 358 724 366 716 363 1801 358 1806 364 718 361 721 358 1805 365 1800 359 1805 365 717 362 720 359 722 368 714 365 717 362 719 360 722 368 714 365 717 362 1802 368 714 365 717 362 719 361 722 368 1796 363 719 360 721 358 724 366 716 363 719 360 721 358 724 366 716 363 718 362 721 359 723 367 715 364 718 361 720 360 723 367 715 364 718 362 720 359 722 368 715 364 1799 360 1805 365 1799 360 722 368 714 365 716 363 1801 358 724 366 1799 360 721 358 1806 364 718 361 721 358 723 367 716 363 718 362 721 359 723 367 715 364 718 362 720 359 723 367 715 364 718 362 720 359 723 367 715 364 1800 359 722 368 714 365 1799 360 1804 366 1799 360 1804 366 1799 360 1804 366 1798 361 1803 367
#
# Daikin TB industrial AC
#
name: POWER
type: parsed
protocol: NEC
address: 80 00 00 00
command: 9C 00 00 00
#
# Daikin AC
#
@ -179,14 +111,7 @@ frequency: 38000
duty_cycle: 0.330000
data: 9823 9795 9821 9799 4615 2493 385 343 389 924 386 931 389 348 384 929 381 355 387 345 387 357 386 343 379 934 386 350 382 350 382 354 388 929 381 355 387 357 386 343 379 357 386 350 382 928 382 931 379 938 382 355 388 356 387 919 381 355 387 349 383 927 383 930 380 356 386 346 386 358 384 344 388 348 384 352 380 352 380 933 387 348 384 351 381 363 379 349 383 353 379 357 386 347 385 927 383 354 388 344 388 356 386 919 381 355 388 349 383 350 382 353 379 938 382 354 389 356 386 919 381 355 387 930 380 934 386 349 383 934 386 350 382 358 385 20350 4620
#
#
# DeLonghi Pinguino Air-to-Air PAC N81 by JEREMYNO
#
name: POWER
type: parsed
protocol: NECext
address: 48 12 00 00
command: 88 08 00 00
#
name: TEMP+
type: parsed
@ -194,44 +119,12 @@ protocol: NECext
address: 48 12 00 00
command: 88 09 00 00
#
name: TEMP-
type: parsed
protocol: NECext
address: 48 12 00 00
command: 88 08 00 00
#
name: MODE
type: parsed
protocol: NECext
address: 48 44 00 00
command: 88 08 00 00
#
# Eurom/Tristar Portable AC
#
name: POWER
type: parsed
protocol: NEC
address: 80 00 00 00
command: 9C 00 00 00
#
name: TEMP+
type: parsed
protocol: NEC
address: 80 00 00 00
command: 94 00 00 00
#
name: TEMP-
type: parsed
protocol: NEC
address: 80 00 00 00
command: 95 00 00 00
#
name: Mode
type: parsed
protocol: NEC
address: 80 00 00 00
command: 9D 00 00 00
#
# Friedrich AC
#
name: POWER
@ -252,32 +145,6 @@ frequency: 38000
duty_cycle: 0.330000
data: 5626 5579 569 549 562 582 539 581 540 578 543 577 544 575 536 1702 541 1703 540 549 562 557 564 1700 543 1670 563 1677 566 1698 545 547 564 586 535 1674 569 550 571 1668 565 1674 569 578 543 550 571 1670 563 587 545 1665 568 1671 562 1677 566 1700 543 577 544 548 563 1704 539 557 564 1698 545 574 537 1677 566 552 569 577 544 1668 565 554 567 583 538 1670 563 1702 541 1671 572 547 564 583 538 553 568 552 569 1700 543 545 566 582 539 1698 535 558 563 557 564 554 567 1671 562 585 536
#
# Frigidaire_AC
#
name: POWER
type: parsed
protocol: NECext
address: 01 FF 00 00
command: 12 ED 00 00
#
name: TEMP+
type: parsed
protocol: NECext
address: 01 FF 00 00
command: 1A E5 00 00
#
name: TEMP-
type: parsed
protocol: NECext
address: 01 FF 00 00
command: 13 EC 00 00
#
name: MODE
type: parsed
protocol: NECext
address: 01 FF 00 00
command: 02 FD 00 00
#
# Fujitsu AC
#
name: POWER
@ -338,33 +205,6 @@ protocol: NECext
address: 98 6F 00 00
command: 08 F7 00 00
#
#
# Haier HPD10XCM-LW 10,000-BTU Room Portable Air Conditioner
#
name: POWER
type: parsed
protocol: NEC
address: 20 00 00 00
command: 02 00 00 00
#
name: TEMP+
type: parsed
protocol: NEC
address: 20 00 00 00
command: 0A 00 00 00
#
name: TEMP-
type: parsed
protocol: NEC
address: 20 00 00 00
command: 11 00 00 00
#
name: MODE
type: parsed
protocol: NEC
address: 20 00 00 00
command: 09 00 00 00
#
# Hisense Window AC
#
name: POWER
@ -390,52 +230,6 @@ type: raw
frequency: 38000
duty_cycle: 0.330000
data: 8954 4428 565 539 562 542 559 544 567 537 564 540 561 1650 563 1650 563 540 561 543 558 546 566 538 563 1649 564 1649 564 1648 565 539 562 542 559 1653 560 1652 561 543 558 546 565 1647 566 537 564 540 561 543 558 545 566 537 564 540 561 542 559 545 567 537 564 539 562 542 559 544 568 537 564 539 562 542 559 544 567 537 564 539 562 542 559 544 568 537 564 539 562 542 559 544 568 536 565 539 562 542 559 544 568 537 564 539 562 542 559 544 568 537 564 539 562 542 559 545 567 537 564 540 561 542 559 545 567 537 564 540 561 543 558 546 565 538 563 541 560 544 568 536 565 539 562 542 559 544 568 537 564 540 561 542 559 545 567 538 563 540 561 543 558 546 566 538 563 541 560 544 568 536 565 539 562 542 559 545 567 537 564 540 561 543 558 546 566 538 563 541 560 544 567 537 564 539 562 542 559 545 566 538 563 541 560 543 558 546 566 565 536 542 559 544 568 537 564 540 561 543 558 545 567 538 563 541 560 544 568 537 564 539 562 542 559 545 567 538 563 541 560 544 568 536 565 539 562 542 559 545 566 538 563 541 560 544 568 536 565 539 562 542 559 545 567 538 563 541 560 544 568 537 564 540 561 543 558 545 567 538 563 541 560 544 568 536 565 539 562 542 559 545 566 538 563 541 560 544 568 537 564 540 561 543 558 545 566 538 563 541 560 1653 560 543 558 547 565 539 562 542 559 545 567 537 564 540 561 543 569 536 565 539 562 542 559 544 568 537 564 540 561 543 558 546 566 538 563 541 560 544 568 537 564 540 561 543 558 546 566 1647 566 538 563 541 560 544 568 537 564 540 561 542 590
#
# Honeywell MN10CESS AC
#
name: POWER
type: parsed
protocol: NEC
address: 20 00 00 00
command: 02 00 00 00
#
name: TEMP+
type: parsed
protocol: NEC
address: 20 00 00 00
command: 0A 00 00 00
#
name: TEMP-
type: parsed
protocol: NEC
address: 20 00 00 00
command: 11 00 00 00
#
name: MODE
type: parsed
protocol: NEC
address: 20 00 00 00
command: 09 00 00 00
#
# Insigna AC NSRC2AC9
#
name: POWER
type: parsed
protocol: NECext
address: 10 E7 00 00
command: 00 FF 00 00
#
name: TEMP+
type: parsed
protocol: NECext
address: 10 E7 00 00
command: 15 EA 00 00
#
name: TEMP-
type: parsed
protocol: NECext
address: 10 E7 00 00
command: 0D F2 00 00
#
# Inventum AC
#
@ -471,19 +265,7 @@ protocol: NECext
address: 08 F5 00 00
command: 0E F1 00 00
#
name: TEMP-
type: parsed
protocol: NECext
address: 08 F5 00 00
command: 0D F2 00 00
#
# Koldfront_WAC12001
#
name: POWER
type: parsed
protocol: NECext
address: 01 FF 00 00
command: 12 ED 00 00
#
name: MODE
type: parsed
@ -491,18 +273,6 @@ protocol: NECext
address: 01 FF 00 00
command: 02 FD 00 00
#
name: TEMP-
type: parsed
protocol: NECext
address: 01 FF 00 00
command: 13 EC 00 00
#
name: TEMP+
type: parsed
protocol: NECext
address: 01 FF 00 00
command: 1A E5 00 00
#
# LG Home AC
#
name: POWER
@ -557,12 +327,6 @@ protocol: NECext
address: 81 66 00 00
command: 85 7A 00 00
#
name: MODE
type: parsed
protocol: NECext
address: 81 66 00 00
command: 9B 64 00 00
#
# LG Portable AC LP1015WNR
#
name: POWER
@ -677,24 +441,6 @@ protocol: NEC
address: 80 00 00 00
command: 9C 00 00 00
#
name: SPEED
type: parsed
protocol: NEC
address: 80 00 00 00
command: 96 00 00 00
#
name: TEMP+
type: parsed
protocol: NEC
address: 80 00 00 00
command: 94 00 00 00
#
name: TEMP-
type: parsed
protocol: NEC
address: 80 00 00 00
command: 95 00 00 00
#
name: MODE
type: parsed
protocol: NEC
@ -743,7 +489,6 @@ data: 4388 4348 553 1608 553 1606 555 1605 556 1603 548 532 548 532 548 1611 550
#
# Toshiba Remote Type RG57H4(B)/BGEFU1
# Used with Toshiba Air Conditioner RAC-PD0812CRRU
Filetype: IR signals file
# POWER
name: POWER
type: raw
@ -751,7 +496,7 @@ frequency: 38000
duty_cycle: 0.330000
data: 4414 4350 566 1579 568 504 569 1576 571 501 572 500 563 535 538 507 566 1579 568 1578 569 529 544 501 572 500 563 509 564 507 566 532 541 1578 569 503 570 1574 563 1583 564 508 565 1580 567 1579 568 1577 570 529 544 1575 572 1573 564 1582 565 1581 566 1579 568 1578 569 1576 571 1575 572 1573 564 1582 565 1581 566 1579 568 1578 569 1577 570 1575 572 1574 563 509 564 1582 565 1606 541 505 568 530 543 502 572 501 562 1609 538 5170 4410 4354 562 536 537 1608 539 507 566 1580 567 1578 569 1577 570 1575 572 527 536 510 563 1582 565 1580 567 1579 568 1577 570 1576 571 1575 572 526 537 1583 564 508 565 507 566 1579 568 504 569 503 570 528 545 1574 563 510 564 508 565 507 566 506 567 504 569 503 570 502 571 500 563 536 537 508 565 507 566 505 568 530 543 503 570 501 572 526 537 1582 565 507 566 506 567 1579 568 1577 570 1576 571 1574 573 500 563
# MODE
name: Mode
name: MODE
type: raw
frequency: 38000
duty_cycle: 0.330000
@ -798,25 +543,7 @@ duty_cycle: 0.330000
data: 746 745 2927 2882 748 2180 774 2207 778 2202 752 740 747 2181 752 2229 725 2203 751 2204 729 736 772 747 751 741 746 745 753 739 748 743 776 742 756 736 751 740 747 745 805 2202 752 740 747 2181 773 746 752 2176 778 715 772 2182 772 720 777 2177 746 746 772 2182 751 2178 776 742 756 736 803
#
# Zenith_AC
#
name: POWER
type: parsed
protocol: NECext
address: 81 66 00 00
command: 81 7E 00 00
#
name: TEMP-
type: parsed
protocol: NECext
address: 81 66 00 00
command: 8A 75 00 00
#
name: TEMP+
type: parsed
protocol: NECext
address: 81 66 00 00
command: 85 7A 00 00
#
#
name: MODE
type: parsed
protocol: NECext
@ -842,4 +569,3 @@ type: parsed
protocol: NECext
address: 01 08 00 00
command: 3F 00 00 00