|
From: Yoda-JM <yo...@us...> - 2012-11-06 00:38:52
|
Author: Lasse Karkkainen <tro...@tr...> Date: Sat Nov 3 06:59:38 2012 +0200 Major input system cleanup. - Renamed KEYBOARD_IDx with more descriptive names. - Removed several hundred lines of copypasta. - Removed key repetition quirks (repetition is disabled in SDL). - Removed a lot of other oddities in favor of cleaner, more generic code. - now() is no longer called in input code, instead mainloop is responsible for keeping time. --- game/joystick.cc | 526 ++++++++++++++---------------------------------------- game/joystick.hh | 22 ++-- game/main.cc | 3 +- 3 files changed, 143 insertions(+), 408 deletions(-) |