src/video/directfb/SDL_DirectFB_video.c
changeset 3011 8f4ed5ec2b06
parent 2998 d364ee9b9c15
child 3013 8cc00819c8d6
equal deleted inserted replaced
3010:a6694a812119 3011:8f4ed5ec2b06
   188         devdata->use_yuv_underlays = atoi(stemp);
   188         devdata->use_yuv_underlays = atoi(stemp);
   189 
   189 
   190 
   190 
   191     /* Create global Eventbuffer for axis events */
   191     /* Create global Eventbuffer for axis events */
   192     if (devdata->use_linux_input) {
   192     if (devdata->use_linux_input) {
   193         SDL_DFB_CHECKERR(dfb->
   193         SDL_DFB_CHECKERR(dfb->CreateInputEventBuffer(dfb, DICAPS_ALL,
   194                          CreateInputEventBuffer(dfb, DICAPS_ALL,
   194                                                      DFB_TRUE,
   195                                                 DFB_TRUE, &devdata->events));
   195                                                      &devdata->events));
   196     } else {
   196     } else {
   197         SDL_DFB_CHECKERR(dfb->
   197         SDL_DFB_CHECKERR(dfb->CreateInputEventBuffer(dfb,
   198                          CreateInputEventBuffer(dfb,
   198                                                      DICAPS_AXES
   199                                                 DICAPS_AXES /*DICAPS_ALL */ ,
   199                                                      /*DICAPS_ALL */ ,
   200                                                 DFB_TRUE, &devdata->events));
   200                                                      DFB_TRUE,
       
   201                                                      &devdata->events));
   201     }
   202     }
   202 
   203 
   203     devdata->initialized = 1;
   204     devdata->initialized = 1;
   204     devdata->dfb = dfb;
   205     devdata->dfb = dfb;
   205     devdata->firstwin = NULL;
   206     devdata->firstwin = NULL;