View Single Post
tobiasj's Avatar
Posts: 241 | Thanked: 74 times | Joined on Jul 2007
#7
That does make sense and in looking at the code it is:

Code:
switch (event.key.keysym.sym) {
       case SDLK_ESCAPE:
               key_esc_pressed = 1;
               break;
       case SDLK_LSHIFT:
               key_shift_pressed = 1;
               break;
etc etc...

so, it isnt, of course, checking unicode. That means a bit more tweaking in order to get it working. Thanks for all the information you explained it perfectly. Course while testing this I also came to the conclusion that the mouse isnt working either. I mean, there is a pointer, and it moves to where you click, however it doesnt 'read' the click and do anything with it. I am going to leave that until I get everything else working because you CAN play the game completely without using the mouse if you remember all the shortcut keys (t = talk, a = attack etc.) So if I can get all the keys working then the mouse is far less important. (well except for N800 users..) but I will fix that eventually (well I hope I will, this crash course on SDL has been enlightening. to say the least.)

Thanks again,

-John