Hi,
I think I am not able to explain my problem clearly.
I have attached keyboard image and circled few keys which are showing problem.
Keyboard language used is French.
Key in Red, is highlighting both characters.Key in Green, is highlighting none characters.Key in blue is highlighting lower case, but sending upper case key. This happen only when Caps lock is enabled.I have issues with Random keys on different languages.
I have used combination of shifts and caps.
Checking for char.isLetter and IsEffectedByCapsLock (Code Below).
private bool IsEffectedByCapsLock(string data, bool isLetter)
{
if (Regex.IsMatch(data, @"\p{IsCyrillic}"))
{
return true;
}
else if (isLetter && Regex.IsMatch(data, @"\p{IsGreek}"))
{
return true;
}
else if (isLetter && (Regex.IsMatch(data, @"\p{IsBasicLatin}", RegexOptions.None) || Regex.IsMatch(data, @"\p{IsLatin-1Supplement}", RegexOptions.None)))
{
return true;
}
return false;
}
The issue do not happen for English language, but for non-english languages.