Using keyCode when Processing imported as p

Processing is a Java library; hence it’s not available via pip. You could use py5 instead (pip install py5). Note that you’ll need to have Java installed on your computer.

1 Like