From c5520b7d3325fd8d8b17d66f668a3a321d3a54a4 Mon Sep 17 00:00:00 2001 From: MX <10697207+xMasterX@users.noreply.github.com> Date: Fri, 9 Jan 2026 21:54:29 +0300 Subject: [PATCH] subghz: sommer last button 0x6 support --- CHANGELOG.md | 3 ++- lib/subghz/protocols/keeloq.c | 4 +++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3d17cebbd..258cd7915 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,10 +3,11 @@ * SubGHz: **Cardin S449 full support** (with Add manually, and all button codes) (**use FSK12K modulation to read the remote**) (closes issues #735 #908) (by @xMasterX and @zero-mega (thanks!)) * SubGHz: Added **new modulation FSK with 12KHz deviation** * SubGHz: **KingGates Stylo 4k - Add manually and button switch support** + refactoring of encoder -* SubGHz: **Stilmatic - button 9 support** (two buttons hold simulation) +* SubGHz: **Stilmatic - button 9 support** (two buttons hold simulation) (mapped on arrow keys) * SubGHz: **Counter editor refactoring** (PR #939 | by @Dmitry422) * SubGHz: **Alutech AT-4N & Nice Flor S turbo speedup** (PR #942 | by @Dmitry422) * SubGHz: **Sommer fm2 in Add manually now uses FM12K modulation** (Sommer without fm2 tag uses FM476) (try this if regular option doesn't work for you) +* SubGHz: **Sommer - last button code 0x6 support** (mapped on arrow keys) * NFC: Handle PPS request in ISO14443-4 layer (by @WillyJL) * Archive: Allow folders to be pinned (by @WillyJL) * Apps: Build tag (**9jan2026p2**) - **Check out more Apps updates and fixes by following** [this link](https://github.com/xMasterX/all-the-plugins/commits/dev) diff --git a/lib/subghz/protocols/keeloq.c b/lib/subghz/protocols/keeloq.c index 4e53989e4..8a3a81c75 100644 --- a/lib/subghz/protocols/keeloq.c +++ b/lib/subghz/protocols/keeloq.c @@ -516,7 +516,9 @@ static bool (strcmp(instance->manufacture_name, "Novoferm") == 0) || (strcmp(instance->manufacture_name, "Stilmatic") == 0)) { klq_last_custom_btn = 0x9; - } else if((strcmp(instance->manufacture_name, "EcoStar") == 0)) { + } else if( + (strcmp(instance->manufacture_name, "EcoStar") == 0) || + (strcmp(instance->manufacture_name, "Sommer(fsk476)") == 0)) { klq_last_custom_btn = 0x6; } else if((strcmp(instance->manufacture_name, "AN-Motors") == 0)) { klq_last_custom_btn = 0xC;