Has Apple Released Touchpad API?

Apple has just announced a new touchpad MacBook. Are there APIs that application developers can use? I can't seem to find anyone on the Internet.

Does it support browser access via JavaScript? WebKit has touch APIs to support it in the four directions of the touch trackpad), so I guess it will be very useful if they release this one too. Anything else?

Also how to debug and test the functions of the touch panel, is there something like "MAC EMULATOR"?

+6
source share
2 answers

I think this option is for its own client, it will not be able to manipulate in the browser if the browser does not support it

If you write Native Client (JavaScript only), then there is storage .

UPDATE: This is already supported by Electron .

+6
source

There is a native API: https://developer.apple.com/reference/appkit/nstouchbar

I don't know if there will be support through Javascript

+1
source

Source: https://habr.com/ru/post/1659114/


All Articles