/** * Copyright (c) 2025 Dominic Masters * * This software is released under the MIT License. * https://opensource.org/licenses/MIT */ #include "render.h" #include "input.h" void renderInit(void) { pspDebugScreenInit(); } void renderDraw(void) { sceDisplayWaitVblankStart(); pspDebugScreenSetXY(0, 2); pspDebugScreenPrintf("Checking buttons \n"); if(inputIsDown(INPUT_BIND_UP)) { pspDebugScreenPrintf("Up pressed\n"); } if(inputIsDown(INPUT_BIND_DOWN)) { pspDebugScreenPrintf("Down pressed\n"); } if(inputIsDown(INPUT_BIND_LEFT)) { pspDebugScreenPrintf("Left pressed\n"); } if(inputIsDown(INPUT_BIND_RIGHT)) { pspDebugScreenPrintf("Right pressed\n"); } if(inputIsDown(INPUT_BIND_ACTION)) { pspDebugScreenPrintf("Action pressed\n"); } if(inputIsDown(INPUT_BIND_CANCEL)) { pspDebugScreenPrintf("Cancel pressed\n"); } } void renderDispose(void) { }