for legacy touchscreen