Whether debug mode is enabled for input.
Whether the pointer is currently locked.
Mouse state including position and button status.
StaticpreventGlobal block flag to temporarily disable PointerLock requests (e.g. for inspector).
StaticdebugStaticgamepadStaticinstanceGets the global singleton instance.
StaticisStaticmouseStatic accessors to maintain backward compatibility.
Helper for testing to manually set key state.
Polls gamepad look axes and accumulates them into mouse deltas. Should be called once per frame.
StaticgetStaticinitInitializes the input listeners.
StaticisStatic wrappers
StaticrequestStaticrequestStaticupdate
Handles user input (keyboard and mouse). Implements a static singleton pattern for global access, but can be instantiated or mocked for testing.