[quake3-commits] [ioquake/ioq3] 30fcab: SDL Mouse Button clean up

Zack Middleton zturtleman at gmail.com
Tue Jul 9 15:53:21 EDT 2013


  Branch: refs/heads/master
  Home:   https://github.com/ioquake/ioq3
  Commit: 30fcabec653bbbe9cfdff06e3cfc29de173ec914
      https://github.com/ioquake/ioq3/commit/30fcabec653bbbe9cfdff06e3cfc29de173ec914
  Author: Zack Middleton <zturtleman at gmail.com>
  Date:   2013-07-09 (Tue, 09 Jul 2013)

  Changed paths:
    M code/sdl/sdl_input.c

  Log Message:
  -----------
  SDL Mouse Button clean up

Make 'b' variable an int so that key values more than 255 will work (not currently an issue in ioq3 afaik).
Use SDL_BUTTON_* for easier transition to SDL2.
(SDL2 doesn't have SDL_BUTTON_WHEELUP or SDL_BUTTON_WHEELDOWN, X1/X2 are different values.)





More information about the quake3-commits mailing list