View Single Post
tobiasj's Avatar
Posts: 241 | Thanked: 74 times | Joined on Jul 2007
#11
Originally Posted by fanoush View Post
you may try to fallback to use keysym.sym if keysym.unicode value is zero
You are right again, I put this:

Code:
                 if (!event.key.keysym.unicode < 0x80 && !event.key.keysym.unicode > 0 ){
                        lotr_keybuffer[lotr_keybufferpos++] =
                        event.key.keysym.sym;
                }

right after and if it wasnt a valid unicode code I diable unicode.

Now you can select the leader using the arrow keys like you are supposed to be able to..

Thanks again,

-John