features_config.h 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  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 Xtreme\Unleashed as I'm using it, and it is cool :)
  28. #ifndef TOTP_TARGET_FIRMWARE
  29. #define TOTP_TARGET_FIRMWARE TOTP_FIRMWARE_XTREME_UL
  30. #endif
  31. // List of available font for TOTP code
  32. #define TOTP_FONT_MODENINE (1)
  33. #define TOTP_FONT_REDHATMONO (2)
  34. #define TOTP_FONT_BEDSTEAD (3)
  35. #define TOTP_FONT_ZECTOR (4)
  36. #define TOTP_FONT_712SERIF (5)
  37. #define TOTP_FONT_GRAPH35PIX (6)
  38. #define TOTP_FONT_KARMAFUTURE (7)
  39. #define TOTP_FONT_FUNCLIMBING (8)
  40. #define TOTP_FONT_DPCOMIC (9)
  41. #define TOTP_FONT_PIXELFLAG (10)
  42. // End of list
  43. // Active font for TOTP codes
  44. #ifndef TOTP_FONT
  45. #define TOTP_FONT TOTP_FONT_MODENINE
  46. #endif