03-04-2021, 02:32 PM
This came up years back with openmoko, and wasn't as simple as it initially seemed. It's fine building that sort of long-touch modifier behaviour into a new system like android did, because you don't have to worry about what it will do with the whole range of existing applications. We don't have that luxury - we have existing applications doing long-press handling of their own for things like menu buttons that have a default action for a normal click, but drop down to reveal other options on a long press. We have timing stuff for drag detection that gets messed up when you start altering the timing with your long-press detection. It was tried, and it broke an unexpectedly large number of things. The least problematic solution back then was a modifier button in the task/navigation/whatever bar to make the next touch action a middle or right one instead of a left one. Multitouch didn't exist on the resistive screen though, so maybe there's a better option now., but don't assume it's going to be something simple that works for everything.