From 49c2f557a4d0881a59eda35622cb8bae88d4cb72 Mon Sep 17 00:00:00 2001 From: RIcePatrol Date: Tue, 5 Aug 2025 18:55:58 -0400 Subject: [PATCH 1/3] Added Suzuki SUZ18 key type The Suzuki SUZ18 key is used on the 1998-2006 Katana among other models --- key_formats.c | 20 ++++++++++++++++++++ key_formats.h | 2 +- 2 files changed, 21 insertions(+), 1 deletion(-) diff --git a/key_formats.c b/key_formats.c index 32872e3..29d0721 100644 --- a/key_formats.c +++ b/key_formats.c @@ -356,6 +356,26 @@ const KeyFormat all_formats[] = { .macs = 4, .clearance = 3}, + {.manufacturer = "Suzuki", + .format_name = "SUZ18", + .sides = 2, + .format_link = "X241", + .first_pin_inch = 0.16, + .last_pin_inch = 0.73, + .pin_increment_inch = 0.095, + .pin_num = 7, + .pin_width_inch = 0.045, + .elbow_inch = 0.1, // this should be equal to first pin inch for tip + // stopped key line + .drill_angle = 90, + .uncut_depth_inch = 0.28, + .deepest_depth_inch = 0.22, + .depth_step_inch = 0.020, + .min_depth_ind = 1, + .max_depth_ind = 4, + .macs = 4, + .clearance = 4}, + {.manufacturer = "Yamaha", .format_name = "YM63", .sides = 2, diff --git a/key_formats.h b/key_formats.h index adda193..e60752d 100644 --- a/key_formats.h +++ b/key_formats.h @@ -1,7 +1,7 @@ #ifndef KEY_FORMATS_H #define KEY_FORMATS_H -#define FORMAT_NUM 22 +#define FORMAT_NUM 23 typedef struct { char* manufacturer; From 5f61be6d4c6c8c5087fbb253bed3197dfecdcffc Mon Sep 17 00:00:00 2001 From: zinongli <131403964+zinongli@users.noreply.github.com> Date: Tue, 5 Aug 2025 19:03:26 -0400 Subject: [PATCH 2/3] clearance fix --- key_formats.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/key_formats.c b/key_formats.c index 29d0721..17f408b 100644 --- a/key_formats.c +++ b/key_formats.c @@ -374,7 +374,7 @@ const KeyFormat all_formats[] = { .min_depth_ind = 1, .max_depth_ind = 4, .macs = 4, - .clearance = 4}, + .clearance = 3}, {.manufacturer = "Yamaha", .format_name = "YM63", From d9ac01225e36ca4b03cc401a22c41666f43bedbc Mon Sep 17 00:00:00 2001 From: zinongli <131403964+zinongli@users.noreply.github.com> Date: Tue, 5 Aug 2025 19:06:20 -0400 Subject: [PATCH 3/3] update version & changelog --- CHANGELOG.md | 3 +++ README.md | 1 + application.fam | 2 +- key_copier.c | 4 ++-- 4 files changed, 7 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 71fc817..b20626d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +## 1.5 +* Added Suzuki SUZ18 key format support by @RIcePatrol + ## 1.4 * Added Weiser WR3 key format support by @lightos diff --git a/README.md b/README.md index 348190f..e471cd0 100644 --- a/README.md +++ b/README.md @@ -16,6 +16,7 @@ To measure your key: - Thank [@HonestLocksmith](https://github.com/HonestLocksmith) for PR #13 and #20. TONS of new key formats and supports for DOUBLE-SIDED keys are added. We have car keys now! - Thank [@Offreds](https://github.com/Offreds) for PR #32. We now have a more streamlined workflow for key format selection. - Thank [@lightos](https://github.com/lightos) for PR #36. Weiser WR3 key format was added. +- Thank [@RIcePatrol](https://github.com/RIcePatrol) for PR #37. Suzuki SUZ18 key format was added. - Hey! We are on [Adam Savage's show](https://youtu.be/c8q2YVRiOAE?t=485)! Thanks for featuring my app! - We also made it to @TalkingSasquach's YouTube! He's made an awesome walkthrough from decoding the key bitting to 3D-printing copies. [Check it out!](https://www.youtube.com/watch?v=P3-KhSJE1as) diff --git a/application.fam b/application.fam index d29f913..ab46b67 100644 --- a/application.fam +++ b/application.fam @@ -12,6 +12,6 @@ App( fap_category="Tools", fap_icon_assets="assets", fap_description="@README.md", - fap_version="1.4", + fap_version="1.5", fap_author="Torron" ) diff --git a/key_copier.c b/key_copier.c index ca3d430..7cc0462 100644 --- a/key_copier.c +++ b/key_copier.c @@ -642,7 +642,7 @@ static KeyCopierApp* key_copier_app_alloc() { app->dialogs = furi_record_open(RECORD_DIALOGS); app->file_path = furi_string_alloc(); app->submenu = submenu_alloc(); - submenu_set_header(app->submenu, "Key Copier v1.4"); + submenu_set_header(app->submenu, "Key Copier v1.5"); submenu_add_item( app->submenu, "Select Key Format", @@ -716,7 +716,7 @@ static KeyCopierApp* key_copier_app_alloc() { 0, 128, 64, - "Key Maker App 1.4\nAuthor: @Torron\n\nTo measure your key:\n\n1. Place " + "Key Maker App 1.5\nAuthor: @Torron\n\nTo measure your key:\n\n1. Place " "it on top of the screen.\n\n2. Use the contour to align your key.\n\n3. " "Adjust each pin's depth until they match. It's easier if you look with " "one eye closed.\n\nGithub: github.com/zinongli/KeyCopier \n\nSpecial "