input: Add workaround for broken hardware keyboard support

* Add workaround var for devices with broken kernels

Patchset 1 : Stick to android code guidelines

Change-Id: Iefbd2389656f5da7bcaa02337aed1ef48ba9653a