Implemented basic api for weapon changing in joystick