Fix hold key presses in lists. #1170

Merged
merged 2 commits into from Aug 1, 2012
Commits on Aug 1, 2012
  1. @Memphiz

    [gui] - fix repeated CKey presses - we also need to throttle if we ar…

    Memphiz committed Jul 20, 2012
    …e called really often
  2. @Memphiz

    [gui] - on repeated keypress actions where the action has to be dropp…

    Memphiz committed Jul 20, 2012
    …ed for maintaining the scroll speed - return false for "not handled"
    
    - in CApplication::ProcessJoystickEvent and CApplication::OnKey if the action has a holdtime (e.x. is hold pressed) and the action was not handled (returned false) don't play the actionsound