[PD] Keyboard patching