From 7be5fde6e7297d7466801b063f5e837fa275dd01 Mon Sep 17 00:00:00 2001 From: Astra Date: Wed, 13 Nov 2024 19:52:59 +0900 Subject: [PATCH 1/4] Add AppButtonPressRelease request --- application.options | 1 + application.proto | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/application.options b/application.options index 338bb67..f1d2cdb 100644 --- a/application.options +++ b/application.options @@ -4,5 +4,6 @@ PB_App.StartRequest.name type:FT_POINTER PB_App.StartRequest.name max_length:512 PB_App.AppLoadFileRequest.path max_length:512 PB_App.AppButtonPressRequest.args max_length:512 +PB_App.AppButtonPressReleaseRequest.args max_length:512 PB_App.GetErrorResponse.text type:FT_POINTER PB_App.DataExchangeRequest.data type:FT_POINTER diff --git a/application.proto b/application.proto index eae150d..4c82cdf 100644 --- a/application.proto +++ b/application.proto @@ -30,6 +30,11 @@ message AppButtonPressRequest { message AppButtonReleaseRequest { } +message AppButtonPressReleaseRequest { + string args = 1; + int32 index = 2; +} + enum AppState { APP_CLOSED = 0; APP_STARTED = 1; From ee5b6a22fd6aaf9075a2b7bd373309592e6627c5 Mon Sep 17 00:00:00 2001 From: Astra Date: Thu, 14 Nov 2024 10:07:16 +0900 Subject: [PATCH 2/4] Update flipper.proto --- flipper.proto | 1 + 1 file changed, 1 insertion(+) diff --git a/flipper.proto b/flipper.proto index 989af13..2ba75da 100644 --- a/flipper.proto +++ b/flipper.proto @@ -107,6 +107,7 @@ message Main { .PB_App.AppLoadFileRequest app_load_file_request = 48; .PB_App.AppButtonPressRequest app_button_press_request = 49; .PB_App.AppButtonReleaseRequest app_button_release_request = 50; + .PB_App.AppButtonPressReleaseRequest app_button_press_release_request = 75; .PB_App.GetErrorRequest app_get_error_request = 63; .PB_App.GetErrorResponse app_get_error_response = 64; .PB_App.DataExchangeRequest app_data_exchange_request = 65; From 85aca518db53cefd7b4f5250c04e2e2db59c78fb Mon Sep 17 00:00:00 2001 From: Astra Date: Tue, 17 Dec 2024 20:29:14 +0900 Subject: [PATCH 3/4] Update Changelog --- Changelog | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Changelog b/Changelog index 4758acf..14c1f14 100644 --- a/Changelog +++ b/Changelog @@ -1,5 +1,9 @@ # Changelog +## [0.25] +### Added +- App: New AppButtonPressReleaseRequest, presses and releases a button in one request + ## [0.24] ### Added - Gpio: 5V control messages: GetOtgMode, GetOtgModeResponse, SetOtgMode From 73fb5de39b0965a2f0f240f942302b9708567c9e Mon Sep 17 00:00:00 2001 From: Georgii Surkov Date: Tue, 17 Dec 2024 11:54:10 +0000 Subject: [PATCH 4/4] Add @gsurkov to CODEOWNERS --- .github/CODEOWNERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index dfe56a0..e6ba8a5 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -1,3 +1,3 @@ # Who owns all the code by default -* @DrZlo13 @skotopes @gornekich @nminaylov @hedger +* @DrZlo13 @skotopes @gornekich @nminaylov @hedger @gsurkov