Blob Blame Raw

#include <helianthus.h>


void init() { }


void draw() {
  int count = keyEventGetCount(KEYEVENT_KEY_DOWN);
  noFill();
  for(int i = 0; i < count; ++i) {
    text(10, 50*i, keyEventGet(KEYEVENT_KEY_DOWN, i));
  }
}


int main() {
  windowSetInit(&init);
  windowSetDraw(&draw);
  windowRun();
  return 0;
}