From 3443a969cd6991a67962757c2df2ea32a2db2c20 Mon Sep 17 00:00:00 2001 From: HikeMap User Date: Sat, 10 Jan 2026 20:33:46 -0600 Subject: [PATCH] Fix WASD controls, fog of war rotation, and mobile touch handling MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Replace touch/mouse events with Pointer Events API for WASD buttons - Add setPointerCapture for reliable hold detection on mobile - Fix fog of war radius calculation to use Math.hypot for rotation support - Add pitch event listener for fog updates - Disable map pitch/tilt to keep fog circles correct (temporary) - Show WASD controls when GPS Test Mode enabled via admin panel - Add CSS touch-action and tap-highlight fixes for mobile 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- index.html | 1211 +++++++++++++++++++++++++++++++++++----------------- 1 file changed, 809 insertions(+), 402 deletions(-) diff --git a/index.html b/index.html index d994f40..1af575e 100644 --- a/index.html +++ b/index.html @@ -27,7 +27,7 @@ - +