Allow Windows IME Pinyin, Chinese Mode, numpad decimal key to return
decimal character.
When processing text input through Chinese IME we have a function that determines whether characters go through that system or are used as-is. This is currently filtering based on the input ascii character. Unfortunately the period key on the main keyboard and the decimal key on the numerical keypad both resolve to an ascii "."
We must send the main keyboard period key through the IME because - when in Chinese mode - that is intended to emit Chinese full stop, "。", (U+3002), basically their wide version of sentence stop, into text inputs. However we can't send numerical keypad decimal point through the IME because we get nothing out of it. Therefore users cannot enter decimal places into Blender number inputs using numpad decimal key when in Chinese mode.
This patch just alters IsImeKeyEvent so that it also takes a GHOST_TKey argument so that we can differentiate between these two keys and therefore solve this problem by excluding GHOST_kKeyNumpadPeriod.
But this is just about using numpad decimal point key with numerical inputs. There is a related separate patch - D13903: IME: Ideographic Full Stop to Decimal Point - that deals with the use of the main keyboard period key to enter decimals into numerical inputs. These issues are different and can be considered, reviewed, approved or not, and even reverted separately.