The last time I looked into the examples, was about 4 or 5 years ago when JEDI-SDL was young and innocent. When I did the SFont conversion from C, many moons ago.
The input part of my engine is a fair few years old too, I never even though about looking at the examples for input.. If I was starting to put network code into the engine, I'd look at them.. but otherwise, How would I know to look there?...
I spent a while searching on the net for examples and I was running into dead ends and I needed to get it fixed quickly. Hence my half rabid spleen venting :LOL:
I know it works now, this thread exists on here in case anyone else runs in to a similar problem and I can help out...
You have to admit though, it's not very intuitive..
There should be a function
getAsciiForKeySym( Key: KeySym; Mod KModifier ): word;
that would have made more sense to me.. it would suggest that there was some underlying logic which I could farm out to SDL to get my char value.
That's my thinking anyway
Bookmarks