Class: KeyPress

core.KeyPress(code, tDown, name)

new KeyPress(code, tDown, name)

Parameters:
Name Type Description
code string W3C Key Code
tDown number time of key press (keydown event) relative to the global Monotonic Clock
name string | undefined pyglet key name
Source: