Add more comments to joystick.c