Electronic gear controller