input: add workaround for broken hardware keyboard support
- this helps devices with broken kernels to use on-screen keyboard
- taken from cyanogen @ CM

* SHA: 31865f74dd0d61796fbf7c0c1366777be783f14d