Cannot inject Ginn's gestures in a SDL window

Bug #751354 reported by Duncan McGreggor
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
ginn
New
Undecided
Mohamed IKBEL Boulabiar

Bug Description

Hello

Although I'm able to configure a basic 'wishes.xml' file and have it working on other applications, I still cannot inject gestures through Ginn in a SDL window of a program I've made. My SDL window can receive some keyboard events, and I get them in the SDL window with either " SDL_GetKeyState(NULL)" or
  SDL_PollEvent(&event);
  switch (event.type)
   {
       switch(event.key.keysym.sym) {
    case SDLK_ESCAPE:
     SDL_QUIT()
     break;
                                case ........
    }
   }

I don't know if this has to presented here. I suppose it is related to the way keyboard events are detected in SDL. However would you know if I can do something to have it working?

Thank you

Victor

Changed in ginn:
assignee: nobody → Mohamed IKBEL Boulabiar (boulabiar)
Revision history for this message
Duncan McGreggor (oubiwann) wrote :

Ikbel mentioned a possible approach for implementing this in the Question upon which this bug is based:
  https://answers.launchpad.net/ginn/+question/151361

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.