@@ -0,0 +1,889 @@
+package com.haxademic.sketch.test;%0A%0Aimport com.haxademic.core.app.AppSettings;%0Aimport com.haxademic.core.app.P;%0Aimport com.haxademic.core.app.PAppletHax;%0A%0Apublic class KeyboardInputTest%0Aextends PAppletHax %7B%0A%09public static void main(String args%5B%5D) %7B PAppletHax.main(Thread.currentThread().getStackTrace()%5B1%5D.getClassName()); %7D%0A%09%0A%09protected boolean DEBUG_MODE = true;%0A%0A%09protected void overridePropsFile() %7B%0A%09%09appConfig.setProperty( AppSettings.FPS, 90 );%0A%09%7D%0A%0A%09public void setup() %7B%0A%09%09super.setup();%0A%09%7D%0A%09%0A%09public void keyPressed() %7B%0A%09%09super.keyPressed();%0A%09%09if(p.key == 'd') DEBUG_MODE = !DEBUG_MODE;%0A%09%09if(p.keyCode == 8) P.println(%22DELETE%22);%0A%09%09if (p.key == P.CODED && p.keyCode == P.RIGHT) P.println(%22RIGHT ARROW%22);%0A%09%09if (p.key == P.CODED && p.keyCode == P.LEFT) P.println(%22LEFT ARROW%22);%0A%09%09P.println(%22key:%22, p.key, %22keyCode:%22, p.keyCode);%0A%09%7D%0A%0A%09public void drawApp() %7B%0A%09%09p.background(0);%0A%09%7D%0A%0A%7D

Print keyboard input test