Issue #3427: remove unused code from cc.inputManager