@Override
  public void keyPressed(char argKeyChar, int argKeyCode) {
    switch (argKeyChar) {
      case 'a':
        m_spring1.enableMotor(true);
        m_spring1.setMotorSpeed(m_speed);
        break;

      case 's':
        m_spring1.enableMotor(true);
        m_spring1.setMotorSpeed(0.0f);
        break;

      case 'd':
        m_spring1.enableMotor(true);
        m_spring1.setMotorSpeed(-m_speed);
        break;

      case 'q':
        m_hz = MathUtils.max(0.0f, m_hz - 1.0f);
        m_spring1.setSpringFrequencyHz(m_hz);
        m_spring2.setSpringFrequencyHz(m_hz);
        break;

      case 'e':
        m_hz += 1.0f;
        m_spring1.setSpringFrequencyHz(m_hz);
        m_spring2.setSpringFrequencyHz(m_hz);
        break;
    }
  }