diff --git a/core/embed/upymod/modtrezorutils/modtrezorutils.c b/core/embed/upymod/modtrezorutils/modtrezorutils.c index 9a21210895..446d4cfc2e 100644 --- a/core/embed/upymod/modtrezorutils/modtrezorutils.c +++ b/core/embed/upymod/modtrezorutils/modtrezorutils.c @@ -390,6 +390,10 @@ STATIC mp_obj_tuple_t mod_trezorutils_version_obj = { /// """Whether the hardware supports Optiga secure element.""" /// USE_TROPIC: bool /// """Whether the hardware supports Tropic Square secure element.""" +/// USE_TOUCH: bool +/// """Whether the hardware supports touch screen.""" +/// USE_BUTTON: bool +/// """Whether the hardware supports two-button input.""" /// MODEL: str /// """Model name.""" /// MODEL_FULL_NAME: str diff --git a/core/src/trezor/utils.py b/core/src/trezor/utils.py index 37691e9cb3..72e3715aed 100644 --- a/core/src/trezor/utils.py +++ b/core/src/trezor/utils.py @@ -17,6 +17,7 @@ from trezorutils import ( # noqa: F401 USE_TROPIC, USE_SD_CARD, USE_THP, + USE_TOUCH, VERSION, bootloader_locked, check_firmware_header,