Mercurial > hg > forks > multipaint-js
changeset 16:f356d9c176a6
ProcessingJS does not provide "platform" variables, we need to define them ourselves.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Wed, 04 Jul 2018 10:01:05 +0300 |
parents | 1f6a84cbd42e |
children | 480ada584d8a |
files | multipaint.pde |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/multipaint.pde Wed Jul 04 09:55:10 2018 +0300 +++ b/multipaint.pde Wed Jul 04 10:01:05 2018 +0300 @@ -9,9 +9,10 @@ final int PICO8 = 88; final int FAKEX = 32; // Commodore 64 without attribute limitations final int UNIA = 33; - +final int PEESEE = 0, MACOSX = 1, PSJS = 2; //-1 & -1 for normal operation int machine = -1; // change this to autoselect +int platform = PSJS; final int COMMAND = 157; // Marq's cmd/ctrl solution