The code is Fucked, the logic is broken.

So added to the mayhem and caught an issue breaking the keyboard for Moto G, need to investigate this a little more to fix it correctly, well more correctly than now.

Thanks to @TrevD
switch to Overlay for config_default_keypress_vibration_duration
add config overlay
didnt close it
Merge pull request #1 from CM-i9300-builds/cm-11.0

Fix a FC of keyboard due to broken logic for some devices.