commit | 441031dadc4f5e8c1487468229781702bc08fb14 | [log] [tgz] |
---|---|---|
author | Dima Zavin <dima@android.com> | Wed Oct 12 15:53:29 2011 -0700 |
committer | Dima Zavin <dima@android.com> | Wed Oct 12 15:53:32 2011 -0700 |
tree | adf5c20706637eaa5fe978a00d3cde71023f4b02 | |
parent | f6abd409bb2b80dfa0c1c03c26bc83141f52c673 [diff] |
minui: add ability to synchronize current key state If a key is down prior to the time of initialization, we would not get the down event for the key, and thus think that the key is not pressed. Add an interface that allows one to provide a callback to execute on all keys that are currently down. Change-Id: I2a4096c0cb4c7c7a9a80d207835f168a0b418413 Signed-off-by: Dima Zavin <dima@android.com>