# HG changeset patch # User Matti Hamalainen # Date 1530687665 -10800 # Node ID f356d9c176a6de2d667a9271defee5e7a85bd67f # Parent 1f6a84cbd42e4bf2ce90671b42937c42be86e29c ProcessingJS does not provide "platform" variables, we need to define them ourselves. diff -r 1f6a84cbd42e -r f356d9c176a6 multipaint.pde --- 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