[quake3-commits] [ioquake/ioq3] d875c1: Improve keyboard/joystick input in Team Arena UI

Zack Middleton zturtleman at gmail.com
Mon May 23 10:19:36 EDT 2016

  Branch: refs/heads/master
  Home:   https://github.com/ioquake/ioq3
  Commit: d875c1f03cec9611f86cc342c376bd334288c863
  Author: Zack Middleton <zturtleman at gmail.com>
  Date:   2016-05-23 (Mon, 23 May 2016)

  Changed paths:
    M code/ui/ui_main.c
    M code/ui/ui_shared.c
    M code/ui/ui_shared.h

  Log Message:
  Improve keyboard/joystick input in Team Arena UI

Make Yes/No, Multi, Slider, and Bind items allow enter key to change
value without mouse over item. Add support for left and right arrow keys
and joystick button 1-4 to Yes/No, Multi, and Slider and many item
specific 'ownerdraw' key handlers.

Listbox still requires mouse hover and Team Arena main menu requires
mouse hover to get anywhere...

Enabling K_JOY1-4 to select in default key handler also caused additional
mouse button (K_AUX1-16) to select, which is done in q3_ui as well. Both
handle K_AUX equally badly (not treated as a mouse button and not handled
by item specific key handlers), so it's probably fine.

More information about the quake3-commits mailing list