Constructor
new KeyPress(code, tDown, name)
- Source:
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 |