features_config.h 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. // Application automatic lock timeout if user IDLE. (ticks)
  2. #ifndef TOTP_AUTO_LOCK_IDLE_TIMEOUT_SEC
  3. #define TOTP_AUTO_LOCK_IDLE_TIMEOUT_SEC (60)
  4. #endif
  5. // Include Bluetooth token input automation
  6. #ifndef TOTP_NO_BADBT_TYPE
  7. #define TOTP_BADBT_TYPE_ENABLED
  8. #endif
  9. // Include token input automation icons on the main screen
  10. #ifndef TOTP_NO_AUTOMATION_ICONS
  11. #define TOTP_AUTOMATION_ICONS_ENABLED
  12. #endif
  13. // List of compatible firmwares
  14. #define TOTP_FIRMWARE_OFFICIAL_STABLE (1)
  15. #define TOTP_FIRMWARE_OFFICIAL_DEV (2)
  16. #define TOTP_FIRMWARE_XTREME_UL (3)
  17. // End of list
  18. // Checking FlipC.org definitions (https://github.com/playmean/fap-list/issues/9)
  19. #if defined(TARGET_FIRMWARE_OFFICIAL)
  20. #define TOTP_TARGET_FIRMWARE TOTP_FIRMWARE_OFFICIAL_STABLE
  21. #elif defined(TARGET_FIRMWARE_UNLEASHED)
  22. #define TOTP_TARGET_FIRMWARE TOTP_FIRMWARE_XTREME_UL
  23. #elif defined(TARGET_FIRMWARE_XTREME)
  24. #define TOTP_TARGET_FIRMWARE TOTP_FIRMWARE_XTREME_UL
  25. #endif
  26. // End of FlipC.org definition checks
  27. // If target firmware is not yet set, default it to OFW because there is no chance to force Flipper Devices to update their build pipelines :angry:.
  28. // I'm still using Xtreme firmware, it is still the best one and I highly recommend it to everybody.
  29. #ifndef TOTP_TARGET_FIRMWARE
  30. #define TOTP_TARGET_FIRMWARE TOTP_FIRMWARE_OFFICIAL_STABLE
  31. #endif
  32. // List of available font for TOTP code
  33. #define TOTP_FONT_MODENINE (1)
  34. #define TOTP_FONT_REDHATMONO (2)
  35. #define TOTP_FONT_BEDSTEAD (3)
  36. #define TOTP_FONT_ZECTOR (4)
  37. #define TOTP_FONT_712SERIF (5)
  38. #define TOTP_FONT_GRAPH35PIX (6)
  39. #define TOTP_FONT_KARMAFUTURE (7)
  40. #define TOTP_FONT_FUNCLIMBING (8)
  41. #define TOTP_FONT_DPCOMIC (9)
  42. #define TOTP_FONT_PIXELFLAG (10)
  43. // End of list
  44. // Active font for TOTP codes
  45. #ifndef TOTP_FONT
  46. #define TOTP_FONT TOTP_FONT_MODENINE
  47. #endif