port testjoystick
dyanmic api is not useful for emscripten either