input: inject keys from gamepad to HPS.

This commit is contained in:
sorgelig
2019-05-28 00:57:35 +08:00
parent 92a76cf7b8
commit 15f8a5c7fa
3 changed files with 145 additions and 24 deletions

View File

@@ -633,6 +633,7 @@ void app_restart(const char *path)
fpga_core_reset(1);
input_switch(0);
input_uinp_destroy();
char *appname = getappname();
printf("restarting the %s\n", appname);