simplify and improve BOARD_USE_LEGACY_TOUCHSCREEN