Skip to content

globalKeyStateTracker

Under Construction

This documentation is auto-generated, and is a work in progress. Please see the source code at https://github.com/phetsims/scenery/blob/main/js/accessibility/globalKeyStateTracker.ts for the most up-to-date information.

Overview

A global object that tracks the state of the keyboard for the Window. Use this to get information about which keyboard keys are pressed down and for how long.

@author Michael Kauzmann @author Jesse Greenberg

Source Code

See the source for globalKeyStateTracker.ts in the scenery repository.