0

I am trying to read the unicode value of a pressed Arabic key using the waitkey() function on a Mac keyboard, this function only reads the ASCII code of the keys in C++.

Is there like any trick that maps that key value ?

M.Saeed
  • 31
  • 8
  • *Is there like any trick that maps that key value* create a mapping by yourself. – ZdaR Jan 05 '18 at 06:43
  • I need it to be able to accept both Arabic and English, by mapping it will always get the Arabic character, how can this be fixed ? – M.Saeed Jan 05 '18 at 06:47

1 Answers1

0

This thread can help you to print key values. You can test the one that you want and use it inside waitKey.