omg this is so horrible, but it was illuminating for figuring out how to do x-platform force touch events
a few things to note:
touches.force
in mobilesafari is just a 0-1 float that only gets updatedonTouchMove
- trackpad force is much easier to reason about because it doesn't require the movement, it's just part of the click handler. As a result, it's not possible to mock peek/pop gestures in mobile safari (that i can tell, at least)
- i have no idea how to fake eventhandlers in react, it's annoying having to manually bind them. ╮(. ❛ ᴗ ❛.)╭
more about force touch apis at apple's dev docs