Gaweph / p5-typescript-starter

Base starter project using p5js and typescript

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Processing KEY constants are missing

tothambrus11 opened this issue · comments

P5JS's LEFT_ARROW, RIGHT_ARROW, etc. are missing from the types. The code does compile but it would be better, if we didn't have to look at the errors.

Thanks for pointing this out. Package updated to 0.9.0 which appears to have pulled in the key press constants as well as other things.

Reference here: https://p5js.org/reference/#/p5/keyPressed