sproutcore/sproutcore — pull request #1184 by fairbanksg (2014-02-27 20:08:30+00:00)
Title: Made becomeFirstResponder accept and pass along the event that caused it

to be called. This will be passed along to the didBecomeKeyResponderFrom
(and friends) callbacks to allow them to determine why focus is changing.

This helped us when we wanted to be able to see if the focus was changed by Tab or Shift-Tab, to decide where to set initial focus in our view.