MOKSHA Game Adds Mobile Touch Controls With On-Screen Virtual Buttons
The indie game MOKSHA, developed by weirdcodesofficial, has added mobile touch controls in its 27th devlog update, dated August 2, 2026. Previously playable only via keyboard and gamepad, the game now features on-screen virtual buttons mapped to all existing game actions. The implementation works by injecting touch events directly into the existing keys object, meaning the core game loop required no changes. Controls are displayed as a fixed overlay on mobile devices and are auto-hidden on desktop using CSS media queries and the pointer: coarse detection method. Future improvements planned include haptic feedback, swipe gesture support, multi-touch capability, and a configurable button layout for landscape and portrait orientations.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in