add joystick support (PSP), fix access violations of word alignment in gvram.c, add keyboard support (WIP, unix)