Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - TTK-Bandit

Pages: [1]
Window / any way to make sure the opengl window is the active one?
« on: March 10, 2008, 01:34:37 am »
I want to make the mouse turn the camera, when the opengl window is active (focused),
but the gainedFocus and lostFocus events are not reliable, often they come when they shouldnt, or they dont come when they should.
like when switching from windowed mode to fullscreen or vice versa, I always get lostFocus.
Is there any way to check wether the app has focus or not ? couldnt find anything except for the events.

Feature requests / More Keys for Press/Release events
« on: March 10, 2008, 12:26:49 am »
I've just played a little with sfml, and I must say I like it very much, works better for my needs than SDL.
But the number of keys available for keypress events are too limited.
The first thing I missed was the tilde key, for those who know quake, its the console key (the key left from the 1).
found out it is VK_OEM_5 on windows..

the super keys are missing (windows keys), the menu key, the key right to the left shiftkey, the dot key, the period key, etc.. there are a few more, but I guess you got what I want..

anyway, since some keys might be available on some OS, and others won't, would it be possible to at least send the original keycode out, so one could check it manually, instead of getting a key event with code 0 ?

Another thing that is bugging me, is that there is only one key event for shift/ctrl/alt, but in games I would be interested in having one for left and one for right.

Thanx, great work!

Pages: [1]