Fuck testing my controllers

This commit is contained in:
suchmememanyskill
2020-12-29 01:13:09 +01:00
parent 5898c861ec
commit 46460adc3b
3 changed files with 3 additions and 24 deletions

View File

@@ -19,24 +19,6 @@
#include "../fs/fscopy.h"
#include "../utils/utils.h"
void TestControllers(){
gfx_clearscreen();
gfx_printf("Controller test screen. Return using b\n\n");
while (1){
Input_t *controller = hidRead();
if (controller->b)
return;
u32 buttons = controller->buttons;
for (int i = 0; i < 31; i++){
gfx_printf("%d", buttons & 1);
buttons >>= 1;
}
gfx_printf("\r");
}
}
extern int launch_payload(char *path);
void RebootToPayload(){