some joystick code that doesn't work yet