Allow blacklisting input devices by build flag

Usage:
TW_INPUT_BLACKLIST := accelerometer
TW_INPUT_BLACKLIST := "accelerometer\x0agyroscope"

This can be used to fix touch input on devices where an input
device is breaking touch processing in TWRP.

We are using new line chars to separate multiple devices and in
the make file you specify the new line character with \x0a which
is the hex code in ASCII for a new line.

The new line character might be a bit of a pain to use as a
delimeter, but it is highly unlikely that an OEM will ever name
an input device with a new line character in the name.

Change-Id: I255136b7a686909a23e649918c661843153c2853
2 files changed
tree: 82add16a44e8836fa4ef1b276a28f42d0744bae0
  1. applypatch/
  2. bmlutils/
  3. crypto/
  4. digest/
  5. dosfstools/
  6. edify/
  7. etc/
  8. exfat/
  9. fb2png/
  10. flashutils/
  11. fonts/
  12. fuse/
  13. gui/
  14. htcdumlock/
  15. injecttwrp/
  16. libblkid/
  17. libcrecovery/
  18. libmincrypt/
  19. libtar/
  20. minadbd/
  21. minelf/
  22. minui/
  23. minuitwrp/
  24. minzip/
  25. minzipold/
  26. mmcutils/
  27. mtdutils/
  28. openaes/
  29. orscmd/
  30. pigz/
  31. prebuilt/
  32. res/
  33. testdata/
  34. toolbox/
  35. tools/
  36. twrpTarMain/
  37. updater/
  38. .gitignore
  39. adb_install.cpp
  40. adb_install.h
  41. Android.mk
  42. bootloader.cpp
  43. bootloader.h
  44. CleanSpec.mk
  45. common.h
  46. data.cpp
  47. data.h
  48. data.hpp
  49. default_device.cpp
  50. device.h
  51. find_file.cpp
  52. find_file.hpp
  53. fixPermissions.cpp
  54. fixPermissions.hpp
  55. infomanager.cpp
  56. infomanager.hpp
  57. install.cpp
  58. install.h
  59. legacy_properties.h
  60. legacy_property_service.c
  61. legacy_property_service.h
  62. make-overlay.py
  63. mounts.c
  64. mounts.h
  65. NOTICE
  66. openrecoveryscript.cpp
  67. openrecoveryscript.hpp
  68. partition.cpp
  69. partitionmanager.cpp
  70. partitions.hpp
  71. README.md
  72. recovery.cpp
  73. recovery_ui.h
  74. roots.cpp
  75. roots.h
  76. screen_ui.cpp
  77. screen_ui.h
  78. tarWrite.c
  79. tarWrite.h
  80. twcommon.h
  81. twinstall.cpp
  82. twinstall.h
  83. twrp-functions.cpp
  84. twrp-functions.hpp
  85. twrp.cpp
  86. twrpDigest.cpp
  87. twrpDigest.hpp
  88. twrpDU.cpp
  89. twrpDU.hpp
  90. twrpTar.cpp
  91. twrpTar.h
  92. twrpTar.hpp
  93. ui.cpp
  94. ui.h
  95. variables.h
  96. verifier.cpp
  97. verifier.h
  98. verifier_test.cpp
  99. verifier_test.sh
README.md

Team Win Recovery Project (TWRP)

The goal of this branch is to rebase TWRP onto AOSP while maintaining as much of the original AOSP code as possible. This goal should allow us to apply updates to the AOSP code going forward with little to no extra work. With this goal in mind, we will carefully consider any changes needed to the AOSP code before allowing them. In most cases, instead of changing the AOSP code, we'll create our own functions instead. The only changes that should be made to AOSP code should be those affecting startup of the recovery and some of the make files.

If there are changes that need to be merged from AOSP, we will pull the change directly from AOSP instead of creating a new patch in order to prevent merge conflicts with AOSP.

This branch is under final testing and will be used shortly for public builds, but has not officially been released.

You can find a compiling guide here.

More information about the project.

If you have code changes to submit those should be pushed to our gerrit instance. A guide can be found here.