亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來(lái)到蟲(chóng)蟲(chóng)下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲(chóng)蟲(chóng)下載站

?? event.svga

?? 針對(duì)yassylcd的uboot源碼
?? SVGA
?? 第 1 頁(yè) / 共 3 頁(yè)
字號(hào):
Halts program execution until a specified event occurs. The event isreturned. All pending events not in the specified mask will be ignored andremoved from the queue.****************************************************************************/void _WDAPI WD_haltEvent(    WD_event *evt,    uint mask){    do {                            /* Wait for an event    */        WD_getEvent(evt,EVT_EVERYEVT);        } while (!(evt->what & mask));}/****************************************************************************PARAMETERS:evt     - Place to store eventmask    - Event mask to useRETURNS:True if an event was pending.REMARKS:Retrieves the next pending event defined in 'mask' from the event queue.The event queue is adjusted to reflect the new state after the event hasbeen removed.****************************************************************************/ibool _WDAPI WD_getEvent(    WD_event *evt,    uint mask){    int     evtID,next,prev;    pumpEvents();    if (moveCursor)        moveCursor(mx,my);                  /* Move the mouse cursor    */    evt->what = EVT_NULLEVT;                /* Default to null event    */    if (count) {        for (evtID = head; evtID != -1; evtID = evtq[evtID].next) {            if (evtq[evtID].what & mask)                break;                      /* Found an event           */            }        if (evtID == -1)            return false;                   /* Event was not found      */        next = evtq[evtID].next;        prev = evtq[evtID].prev;        if (prev != -1)            evtq[prev].next = next;        else            head = next;        if (next != -1)            evtq[next].prev = prev;        else            tail = prev;        *evt = evtq[evtID];                 /* Return the event         */        evtq[evtID].next = freeHead;        /* and return to free list  */        freeHead = evtID;        count--;        if (evt->what == EVT_MOUSEMOVE)            oldMove = -1;        if (evt->what == EVT_KEYREPEAT)            oldKey = -1;        }    return evt->what != EVT_NULLEVT;}/****************************************************************************PARAMETERS:evt     - Place to store eventmask    - Event mask to useRETURNS:True if an event is pending.REMARKS:Peeks at the next pending event defined in 'mask' in the event queue. Theevent is not removed from the event queue.****************************************************************************/ibool _WDAPI WD_peekEvent(    WD_event *evt,    uint mask){    int     evtID;    pumpEvents();    if (moveCursor)        moveCursor(mx,my);                  /* Move the mouse cursor    */    evt->what = EVT_NULLEVT;                /* Default to null event    */    if (count) {        for (evtID = head; evtID != -1; evtID = evtq[evtID].next) {            if (evtq[evtID].what & mask)                break;                      /* Found an event           */            }        if (evtID == -1)            return false;                   /* Event was not found      */        *evt = evtq[evtID];                 /* Return the event         */        }    return evt->what != EVT_NULLEVT;}/****************************************************************************PARAMETERS:hwndMain    - Handle to main window_xRes       - X resolution of graphics mode to be used_yRes       - Y resolulion of graphics mode to be usedRETURNS:Handle to the fullscreen event window if (we return hwndMain on Linux)REMARKS:Initiliase the event handling module. Here we install our mouse handlingISR to be called whenever any button's are pressed or released. We alsobuild the free list of events in the event queue.****************************************************************************/WD_HWND _WDAPI WD_startFullScreen(    WD_HWND hwndMain,    int _xRes,    int _yRes){    int             i;    struct termios  conf;    if (!installed) {        Gpm_Connect gpm;        /* Build free list, and initialise global data structures */        for (i = 0; i < EVENTQSIZE; i++)            evtq[i].next = i+1;        evtq[EVENTQSIZE-1].next = -1;       /* Terminate list           */        count = freeHead = 0;        head = tail = -1;        oldMove = -1;        oldKey = -1;        xRes = _xRes;        yRes = _yRes;        /* Open the console device and initialise it for raw mode */        tty_fd = PM_openConsole();        /* Wait until virtual terminal is active and take over control */        wait_vt_active();        take_vt_control();        /* Initialise keyboard handling to raw mode */        if (ioctl(tty_fd, KDGKBMODE, &oldkbmode)) {            printf("WD_startFullScreen: cannot get keyboard mode.\n");            exit(-1);            }        old_flags = fcntl(tty_fd,F_GETFL);        fcntl(tty_fd,F_SETFL,old_flags |= O_NONBLOCK);        tcgetattr(tty_fd, &conf);        old_conf = conf;        conf.c_lflag &= ~(ICANON | ECHO | ECHOE | ECHOK | ECHONL | NOFLSH | ISIG);        conf.c_iflag &= ~(ISTRIP | IGNCR | ICRNL | INLCR | BRKINT | PARMRK | INPCK | IUCLC | IXON | IXOFF);        conf.c_iflag  |= (IGNBRK | IGNPAR);        conf.c_cc[VMIN] = 1;        conf.c_cc[VTIME] = 0;        conf.c_cc[VSUSP] = 0;        tcsetattr(tty_fd, TCSAFLUSH, &conf);        ioctl(tty_fd, KDSKBMODE, K_MEDIUMRAW);        /* Clear the keyboard state information */        memset(key_down, 0, sizeof(key_down));        ioctl(tty_fd,KDSETLED,key_modifiers = 0);        /* Initialize the mouse connection            The user *MUST* run gpm with the  option -R for this to work (or have a MouseSystems mouse)        */        if(Gpm_Open(&gpm,0) > 0){ /* GPM available */            if ((conn = open(GPM_NODE_FIFO,O_RDONLY|O_SYNC)) < 0)                fprintf(stderr,"WD_startFullScreen: Can't open mouse connection.\n");        }else{            fprintf(stderr,"Warning: when not using gpm -R, only MouseSystems mice are currently supported.\n");            if ((conn = open("/dev/mouse",O_RDONLY|O_SYNC)) < 0)                fprintf(stderr,"WD_startFullScreen: Can't open /dev/mouse.\n");        }        Gpm_Close();        /* TODO: Scale the mouse coordinates to the specific resolution */        /* Save the state of the console */        if ((stateBuf = malloc(PM_getConsoleStateSize())) == NULL) {            printf("Out of memory!\n");            exit(-1);            }        PM_saveConsoleState(stateBuf,tty_fd);        initmode = VBE_getVideoMode();        /* Initialize the signal handler for timer events */        signal(SIGALRM, timerHandler);        /* Capture termination signals so we can clean up properly */        signal(SIGTERM, exitHandler);        signal(SIGINT, exitHandler);        signal(SIGQUIT, exitHandler);        atexit(restore_term);        /* Signal that we are installed */        installed = true;        }    return hwndMain;}/****************************************************************************REMARKS:Lets the library know when fullscreen graphics mode has been initialized sothat we can properly scale the mouse driver coordinates.****************************************************************************/void _WDAPI WD_inFullScreen(void){    /* Nothing to do in here */}/****************************************************************************REMARKS:Suspends all of our event handling operations. This is also used tode-install the event handling code.****************************************************************************/void _WDAPI WD_restoreGDI(void){    restore_term();}/****************************************************************************PARAMETERS:ticks   - Number of ticks between timer tick messagesRETURNS:Previous value for the timer tick event spacing.REMARKS:The event module will automatically generate periodic timer tick events foryou, with 'ticks' between each event posting. If you set the value of'ticks' to 0, the timer tick events are turned off.****************************************************************************/int _WDAPI WD_setTimerTick(    int ticks){    int                 old;    struct itimerval    tim;    long                ms = TICKS_TO_USEC(ticks);    getitimer(ITIMER_REAL, &tim);    old = USEC_TO_TICKS(tim.it_value.tv_sec*1000000.0 + tim.it_value.tv_usec);    tim.it_interval.tv_sec  = ms / 1000000;    tim.it_interval.tv_usec = ms % 1000000;    setitimer(ITIMER_REAL, &tim, NULL);    return old;}/****************************************************************************PARAMETERS:saveState   - Address of suspend app callback to registerREMARKS:Registers a user application supplied suspend application callback so thatwe can properly handle virtual terminal switching.****************************************************************************/void _WDAPI WD_setSuspendAppCallback(    int (_ASMAPI *saveState)(int flags)){  suspendAppCallback = saveState;}/****************************************************************************PARAMETERS:x   - New X coordinate to move the mouse cursor toy   - New Y coordinate to move the mouse cursor toREMARKS:Moves to mouse cursor to the specified coordinate.****************************************************************************/void _WDAPI WD_setMousePos(    int x,    int y){    mx = x;    my = y;}/****************************************************************************PARAMETERS:x   - Place to store X coordinate of mouse cursory   - Place to store Y coordinate of mouse cursorREMARKS:Reads the current mouse cursor location int *screen* coordinates.****************************************************************************/void _WDAPI WD_getMousePos(    int *x,    int *y){    *x = mx;    *y = my;}/****************************************************************************PARAMETERS:mcb - Address of mouse callback functionREMARKS:Registers an application supplied mouse callback function that is calledwhenever the mouse cursor moves.****************************************************************************/void _WDAPI WD_setMouseCallback(    void (_ASMAPI *mcb)(int x,int y)){    moveCursor = mcb;}/****************************************************************************PARAMETERS:xRes    - New X resolution of graphics modeyRes    - New Y resolution of graphics modeREMARKS:This is called to inform the event handling code that the screen resolutionhas changed so that the mouse coordinates can be scaled appropriately.****************************************************************************/void _WDAPI WD_changeResolution(    int xRes,    int yRes){    //  Gpm_FitValues(xRes, yRes);  // ??}/****************************************************************************PARAMETERS:scancode    - Scan code to check if a key is downREMARKS:Determines if a particular key is down based on the scan code for the key.****************************************************************************/ibool _WDAPI WD_isKeyDown(    uchar scancode){       return key_down[scancode];}/****************************************************************************REMARKS:Determines if the application needs to run in safe mode. Not necessary foranything but broken Windows 95 display drivers so we return false forLinux.****************************************************************************/int _WDAPI WD_isSafeMode(void){    return false;}

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲成人av一区二区三区| 成人免费福利片| 亚洲国产一区二区三区青草影视| 国产精品乱人伦中文| www一区二区| 久久精品人人爽人人爽| 国产亚洲成年网址在线观看| 久久久777精品电影网影网| 久久久五月婷婷| 久久天堂av综合合色蜜桃网| 国产亚洲精品超碰| 国产精品麻豆视频| 亚洲天堂福利av| 亚洲激情自拍偷拍| 亚洲午夜电影在线| 青娱乐精品视频| 麻豆传媒一区二区三区| 国产综合色产在线精品 | 色综合色狠狠天天综合色| 成人sese在线| 在线免费不卡视频| 欧美一级国产精品| 久久久久久久久伊人| 国产精品久久久久久久久图文区 | 亚洲电影第三页| 免费一级欧美片在线观看| 国产一区二区三区精品视频| 成人午夜av在线| 在线一区二区观看| 日韩精品资源二区在线| 国产日产亚洲精品系列| 亚洲欧美另类在线| 人人精品人人爱| 国产成人高清在线| 欧美性大战久久久| 欧美一区二区三区影视| 国产丝袜欧美中文另类| 亚洲综合在线免费观看| 免费看精品久久片| 成人福利视频网站| 777色狠狠一区二区三区| 久久先锋影音av鲁色资源网| 亚洲人成网站影音先锋播放| 男人的天堂久久精品| 成人精品视频一区| 欧美福利电影网| 国产精品免费久久久久| 亚洲午夜免费视频| 国产盗摄一区二区| 欧美视频在线观看一区| 久久亚洲二区三区| 亚洲国产毛片aaaaa无费看| 精品无人码麻豆乱码1区2区| 色天使色偷偷av一区二区| 日韩欧美色综合网站| 亚洲欧洲日韩在线| 极品少妇xxxx精品少妇偷拍| 在线观看亚洲一区| 久久午夜羞羞影院免费观看| 亚洲国产精品一区二区www| 国产成人av福利| 欧美群妇大交群的观看方式| 亚洲国产精品精华液ab| 性做久久久久久久久| 国产精品影视天天线| 欧美日韩精品欧美日韩精品| 国产精品灌醉下药二区| 美女在线观看视频一区二区| 在线日韩一区二区| 国产精品美女www爽爽爽| 精品夜夜嗨av一区二区三区| 欧美撒尿777hd撒尿| 日本一区二区成人| 蜜乳av一区二区| 欧美日韩精品一区二区三区 | 香蕉久久一区二区不卡无毒影院| 国内精品国产成人国产三级粉色| 欧美日韩电影在线| 亚洲精品美国一| 国产福利91精品| 欧美精品一区二区三区四区| 天堂av在线一区| 欧美在线你懂的| 亚洲图片激情小说| 国产大陆a不卡| 久久亚洲精品国产精品紫薇| 青青青爽久久午夜综合久久午夜| 欧美亚洲综合在线| 亚洲精品国产a| 色香色香欲天天天影视综合网| 国产精品美女久久久久aⅴ | 国产成人午夜电影网| 日韩精品一区二区三区三区免费| 偷拍亚洲欧洲综合| 欧美日韩高清影院| 天堂va蜜桃一区二区三区漫画版| 欧美日韩一区二区三区四区五区| 亚洲日本电影在线| 97久久超碰精品国产| 亚洲欧美综合网| 91美女视频网站| 亚洲蜜桃精久久久久久久| 99久久精品国产一区| 国产精品久久久久一区二区三区| 国产成人丝袜美腿| 欧美韩国一区二区| av一区二区不卡| 亚洲婷婷综合色高清在线| 色综合一区二区三区| 亚洲欧美日韩国产一区二区三区 | 最新国产の精品合集bt伙计| www.日本不卡| 亚洲精品亚洲人成人网在线播放| 色综合天天综合网天天看片| 亚洲欧美视频一区| 欧美日韩在线三区| 午夜电影一区二区三区| 日韩一级欧美一级| 激情另类小说区图片区视频区| 精品国产1区二区| 国产精品66部| 亚洲特级片在线| 欧美丝袜丝nylons| 蜜臀精品一区二区三区在线观看| 精品国产伦一区二区三区观看方式 | 国产精品久久久久aaaa| 91欧美一区二区| 婷婷综合五月天| 26uuu亚洲综合色欧美 | 久久嫩草精品久久久久| 成年人网站91| 亚洲黄色小视频| 日韩一级二级三级| 国产高清在线精品| 一区二区三区欧美久久| 这里只有精品99re| 国产成人免费9x9x人网站视频| **欧美大码日韩| 在线播放中文字幕一区| 国产老肥熟一区二区三区| 亚洲欧洲精品一区二区三区不卡| 在线观看日韩精品| 极品尤物av久久免费看| 国产精品久久777777| 欧美老女人在线| 国产成人亚洲精品青草天美| 亚洲伦理在线免费看| 欧美一区二区三区日韩视频| 成人精品视频一区二区三区尤物| 亚洲大片一区二区三区| 久久精品一二三| 一本色道**综合亚洲精品蜜桃冫| 蜜桃在线一区二区三区| 中文字幕一区二区三区在线播放| 欧美精品久久久久久久久老牛影院| 国产精品99久久久久久宅男| 亚洲国产一区二区视频| 国产日韩三级在线| 555www色欧美视频| 成人免费视频播放| 亚洲r级在线视频| 国产精品毛片无遮挡高清| 日韩一本二本av| 91看片淫黄大片一级在线观看| 麻豆国产91在线播放| 亚洲乱码中文字幕| 国产欧美一二三区| 日韩一区二区三区四区| 色哟哟一区二区| 国产精品一二三四五| 欧美a级理论片| 一区二区三区资源| 国产精品欧美一区二区三区| 日韩一区二区免费在线观看| 欧美亚洲综合在线| 99精品欧美一区二区三区小说 | 激情综合一区二区三区| 亚洲成人免费在线| 亚洲男人电影天堂| 国产精品女主播在线观看| 欧美一级日韩一级| 欧美日韩亚洲丝袜制服| aaa国产一区| 丁香婷婷综合网| 国模冰冰炮一区二区| 日韩vs国产vs欧美| 一区2区3区在线看| 亚洲欧美一区二区在线观看| 久久只精品国产| 精品欧美黑人一区二区三区| 欧美性猛交一区二区三区精品| 97久久超碰国产精品| 不卡一区二区三区四区| 国产盗摄视频一区二区三区| 国内精品视频一区二区三区八戒| 美女视频第一区二区三区免费观看网站| 一级中文字幕一区二区| 伊人色综合久久天天人手人婷| 日韩毛片一二三区| 亚洲欧洲日韩女同|