[quake3-commits] [ioquake/ioq3] 878cda: Fix binding 'context menu' key using SDL2

Zack Middleton zturtleman at gmail.com
Thu Sep 11 22:07:32 EDT 2014


  Branch: refs/heads/master
  Home:   https://github.com/ioquake/ioq3
  Commit: 878cda6a20f81fd499f4749374bd8a6138983ad5
      https://github.com/ioquake/ioq3/commit/878cda6a20f81fd499f4749374bd8a6138983ad5
  Author: Zack Middleton <zturtleman at gmail.com>
  Date:   2014-09-11 (Thu, 11 Sep 2014)

  Changed paths:
    M code/sdl/sdl_input.c

  Log Message:
  -----------
  Fix binding 'context menu' key using SDL2

SDL 1.2 converted Windows' VK_APPS and X11 XK_Hyper_R to SDLK_MENU.
SDL2 has it as a separate SDLK_APPLICATION key, so convert it to K_MENU too.


  Commit: 9fbbf4214dd28b43479e6a4ffe79f2f56625772d
      https://github.com/ioquake/ioq3/commit/9fbbf4214dd28b43479e6a4ffe79f2f56625772d
  Author: Zack Middleton <zturtleman at gmail.com>
  Date:   2014-09-11 (Thu, 11 Sep 2014)

  Changed paths:
    M code/sdl/sdl_input.c

  Log Message:
  -----------
  Fix Windows key bind name on non-Mac using SDL2

SDL 1.2 sends SDKL_*META (command) and SDLK_*SUPER (windows key).
SDL2 sends SDLK_*GUI for both.


Compare: https://github.com/ioquake/ioq3/compare/4529f124d610...9fbbf4214dd2


More information about the quake3-commits mailing list