From c68fe7873bec21d6163b10d9e8f7c8d4d53f5a23 Mon Sep 17 00:00:00 2001 From: Dusan Klinec Date: Fri, 5 Apr 2019 21:47:24 +0200 Subject: device/trezor: add button pressed request --- src/wallet/api/wallet2_api.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/wallet/api/wallet2_api.h') diff --git a/src/wallet/api/wallet2_api.h b/src/wallet/api/wallet2_api.h index 377330401..0af3b1867 100644 --- a/src/wallet/api/wallet2_api.h +++ b/src/wallet/api/wallet2_api.h @@ -385,6 +385,11 @@ struct WalletListener */ virtual void onDeviceButtonRequest(uint64_t code) { (void)code; } + /** + * @brief called by device if the button was pressed + */ + virtual void onDeviceButtonPressed() { } + /** * @brief called by device when PIN is needed */ -- cgit v1.2.3