input: Fix workaround for broken hardware keyboard support [CM]

Change-Id: I2b76cf9b82a3987daeebc5900f11e9970be4c546