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 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 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; 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;