Searched refs:mKeys (Results 1 – 1 of 1) sorted by relevance
206 private final SparseIntArray mKeys; field in GameControllerInput.InputDeviceState228 mKeys = new SparseIntArray(); in InputDeviceState()248 return mKeys.size(); in getKeyCount()252 return mKeys.keyAt(keyIndex); in getKeyCode()256 return mKeys.valueAt(keyIndex) != 0; in isKeyPressed()264 mKeys.put(keyCode, 1); in onKeyDown()275 int index = mKeys.indexOfKey(keyCode); in onKeyUp()278 mKeys.put(keyCode, 0); in onKeyUp()