Hello,
I know this was discussed recently, but it is still vague for me.
Now, on windows, if I press ^ I have = as keysym, but on macosx, I
got correct ^ as keysym.
So, my questions are simply, why? and how can I correct this on
windows? I want to get what’s printed on my keyboard.
Unicode values are correct, but when unicode is null (dead keys like
^), I want the correct keysym. I need this for composition. It is now
working properly, if I hit ^ then e, I got ? as unicode value (when I
hit the e), and e as keysym, this is correct, but the first keysym is
= and unicode is 0 (unicode is correct). I need to get ^ as keysym,
so I can show a highlighted ^ to the user. Again, on macosx I got the
correct keysym.
Regards–
Kuon
"Don’t press that button."
http://goyman.com/
Blog: http://kuon.goyman.com/
Kuon writes:
Now, on windows, if I press ^ I have = as keysym, but on macosx, I
got correct ^ as keysym.
So, my questions are simply, why? and how can I correct this on
windows? I want to get what’s printed on my keyboard.
Have you tried both backends?
set SDL_VIDEODRIVER=directx
set SDL_VIDEODRIVER=windib
As far as I remember, windib does what you want, while directx doesn’t (but
I haven’t checked this anytime recently).
-Christian
Kuon writes:
Now, on windows, if I press ^ I have = as keysym, but on macosx, I
got correct ^ as keysym.
So, my questions are simply, why? and how can I correct this on
windows? I want to get what’s printed on my keyboard.
Have you tried both backends?
set SDL_VIDEODRIVER=directx
set SDL_VIDEODRIVER=windib
I tried both with no difference.
RegardsOn 5 Jul 2007, at 12:59 PM, Christian Walther wrote:
–
Kuon
"Don’t press that button."
http://goyman.com/
Blog: http://kuon.goyman.com/