code: def mouse_button_callback(self, window, button, action, mods):
          
          # Offset button index by 1 to make it match the other libraries
          button += 1
          # Support left and right mouse button for now
          if button not in [1, 2]:
              return
  
          xpos, ypos = glfw.get_cursor_pos(self.window)
  
          if action == glfw.PRESS:
              self.example.mouse_press_event(xpos, ypos, button)
          else:
              self.example.mouse_release_event(xpos, ypos, button)
docs: Handle mouse button events and forward them to the example