[PD] Unified keyboard codes between Gem and Pd