title: SDL_Event button types mouse4 and mouse5
body: <p>What do you put to figure out which buttons these are in the SDL_Event loop?
  <img src="https://i.stack.imgur.com/FdVVN.png" alt="enter image description here"></p>
  
  <p>I know they are usually known as button4 and button5 from assigning them in many games. But what do I put in here to detect them?</p>
  
  <pre><code>SDL_Event event;
  while (SDL_PollEvent(&amp;event)) {
      switch (event.type) {
          case SDL_MOUSEBUTTONDOWN: {
              if (event.button.button == SDL_BUTTON_LEFT) {
                  mouseLeft = true;
              }
              else if (event.button.button == SDL_BUTTON_RIGHT) {
                  mouseRight = true;
              }
              else if (event.button.button == SDL_BUTTON_MIDDLE) {
                  mouseMiddle = true;
              }
              else if (event.button.button == MOUSE4?) {
                  mouse4 = true;
              }
              else if (event.button.button == MOUSE5?) {
                  mouse5 = true;
              }
              break;
          }
      }
  
  }
  </code></pre>