fixed errors with gang 1 motor b and gang keyboard

fixed errors with gang 1 motor b and gang 2 keyboard input