winit/src/platform_impl/web
Kirill Chibisov c8c1eca3c7 api: move primary from FingerId to Pointer events
Whether the pointer event is primary or not generally matters for the
context where all input is done by the same event, so users can
_ignore_ non-primary events since they are likely from users clicking
something else with their other fingers.

Having it only on a FingerId made it useless, since it's usually used
to avoid multi-touch, but if you start mapping on touch event you
already can track things like that yourself.

Fixes #3943.

Co-authored-by: daxpedda <daxpedda@gmail.com>
2024-11-02 17:10:32 +03:00
..
async Web: Implement MonitorHandle (#3801) 2024-07-23 20:33:10 +02:00
event_loop api: move primary from FingerId to Pointer events 2024-11-02 17:10:32 +03:00
script Web: bump ESLint to v9 (#3843) 2024-07-31 20:37:10 +02:00
web_sys api: move primary from FingerId to Pointer events 2024-11-02 17:10:32 +03:00
cursor.rs Update minimum version of wasm-bindgen (#3860) 2024-08-13 21:54:03 +02:00
error.rs Fix web errors (#1040) 2019-07-10 18:54:54 -04:00
event.rs api: move primary from FingerId to Pointer events 2024-11-02 17:10:32 +03:00
keyboard.rs Revise Key and KeyCode enums 2023-10-19 18:27:49 +04:00
lock.rs Web: Implement MonitorHandle (#3801) 2024-07-23 20:33:10 +02:00
main_thread.rs Web: improve custom cursor handling and add animated cursors (#3384) 2024-01-12 11:51:19 +01:00
mod.rs chore: remove platform DeviceId 2024-10-11 11:15:54 +03:00
monitor.rs api: convert Window to dyn Window 2024-08-23 23:40:27 +03:00
window.rs chore: remove platform WindowId's 2024-10-08 16:29:40 +03:00