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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? event.svga

?? gumstiz u-boot loader in linux
?? SVGA
?? 第 1 頁 / 共 3 頁
字號:
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;}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日韩1区2区日韩1区2区| 洋洋成人永久网站入口| 在线日韩av片| 成人一区二区三区在线观看| 亚洲不卡av一区二区三区| 久久久91精品国产一区二区精品| 欧美怡红院视频| www.性欧美| jizzjizzjizz欧美| 国产成人综合自拍| 国产伦理精品不卡| 美腿丝袜一区二区三区| 日韩精品三区四区| 日韩精品1区2区3区| 蜜臀久久99精品久久久久久9| 亚洲高清免费视频| 天堂成人国产精品一区| 亚洲国产欧美另类丝袜| 亚洲欧美日韩久久| 一区二区三区在线视频播放| 亚洲日本va午夜在线影院| 日韩毛片高清在线播放| 亚洲视频一区二区在线| 一区二区三区在线免费视频| 一区二区三区四区在线免费观看| 欧美激情一区二区| 亚洲最大的成人av| 婷婷久久综合九色综合绿巨人| 日韩精品一二三四| 国产毛片一区二区| 成a人片国产精品| 欧洲生活片亚洲生活在线观看| 欧美性videosxxxxx| 日韩一区二区在线看| 久久综合九色综合欧美98| 久久久99久久| 亚洲一区二区三区在线看| 婷婷久久综合九色综合绿巨人| 美女视频一区在线观看| 波波电影院一区二区三区| 欧美亚洲综合在线| 久久综合色鬼综合色| 亚洲精品中文在线观看| 开心九九激情九九欧美日韩精美视频电影| 国产高清成人在线| 欧美日韩成人综合| 中文字幕色av一区二区三区| 日韩av在线播放中文字幕| www.性欧美| 精品人伦一区二区色婷婷| 亚洲欧美一区二区三区国产精品| 日韩国产欧美在线观看| 91亚洲国产成人精品一区二区三| 日韩欧美国产电影| 亚洲国产精品久久不卡毛片 | 成人午夜精品一区二区三区| 欧美在线影院一区二区| 国产精品久久久久久户外露出 | 色美美综合视频| 国产清纯白嫩初高生在线观看91| 午夜精品成人在线视频| 91一区二区三区在线观看| 国产区在线观看成人精品| 精品亚洲aⅴ乱码一区二区三区| 色欲综合视频天天天| 亚洲欧洲成人自拍| 成人精品小蝌蚪| 中文字幕精品综合| 成人免费高清在线| 中文字幕乱码久久午夜不卡| 国产成人亚洲综合a∨猫咪| 欧美大尺度电影在线| 另类专区欧美蜜桃臀第一页| 4438x成人网最大色成网站| 亚洲二区在线观看| 欧美日韩成人综合在线一区二区| 悠悠色在线精品| 欧美一区二区三区男人的天堂| 亚洲午夜久久久久久久久电影网| 欧美系列一区二区| 蜜桃精品视频在线| 国产欧美日韩不卡| 色吊一区二区三区| 日本成人在线不卡视频| 久久毛片高清国产| 国产69精品久久久久毛片| 中文字幕一区二区三区乱码在线| 色婷婷久久99综合精品jk白丝 | 欧美一区二区私人影院日本| 美女在线视频一区| 久久综合视频网| 欧美日韩在线综合| 国产麻豆精品视频| 亚洲成va人在线观看| 国产欧美中文在线| 91精品婷婷国产综合久久竹菊| 国产盗摄女厕一区二区三区 | 亚洲电影欧美电影有声小说| 欧美成人免费网站| 在线精品视频小说1| 国产一区二区免费在线| 亚洲午夜免费电影| 亚洲欧美自拍偷拍色图| 久久精品一区二区| 91精品在线麻豆| 欧美日韩专区在线| 一本一道综合狠狠老| 成人美女在线观看| 国产精品一区二区在线播放 | 国产精品白丝jk黑袜喷水| 亚洲午夜三级在线| 亚洲一区二区综合| 亚洲五码中文字幕| 一区二区日韩av| 亚洲一区二区三区四区在线免费观看 | 日本高清不卡一区| 99精品久久99久久久久| 成人午夜激情在线| 成人久久18免费网站麻豆| 国产精品一级片在线观看| 国产一区二区女| 国产传媒欧美日韩成人| 国产成人欧美日韩在线电影| 国产在线不卡一卡二卡三卡四卡| 久久福利资源站| 高清免费成人av| 色av综合在线| 69堂精品视频| 国产亚洲一二三区| 国产精品久久看| 亚洲成人在线免费| 久久精品国产亚洲5555| 成人爱爱电影网址| 欧美日韩专区在线| 精品国免费一区二区三区| 国产精品视频在线看| 亚洲精品视频在线观看免费| 亚洲色图制服丝袜| 六月婷婷色综合| 91在线高清观看| 26uuu久久综合| 亚洲最大的成人av| 国产一区二区三区观看| 色诱亚洲精品久久久久久| 日韩美一区二区三区| 日韩伦理av电影| 玖玖九九国产精品| 欧美午夜一区二区| 国产亚洲一本大道中文在线| 亚洲免费毛片网站| 国产成人免费高清| 日韩一区二区三区精品视频| 亚洲视频免费在线观看| 国产最新精品精品你懂的| 欧美日韩精品电影| 亚洲免费成人av| 成人av电影在线网| 2020国产精品久久精品美国| 三级久久三级久久久| 色菇凉天天综合网| 亚洲女人的天堂| 99久久久精品| 18成人在线观看| 国产精品亚洲午夜一区二区三区 | 一区二区免费在线| 99re热这里只有精品视频| 久久九九久久九九| 国产精品1区2区3区| 欧美精品一区二| 国产精品一区二区三区四区| 欧美三日本三级三级在线播放| 欧美日韩精品二区第二页| 亚洲综合清纯丝袜自拍| 99久久精品免费| 国产精品欧美一级免费| 国产成人免费在线| 亚洲国产岛国毛片在线| 国产精品911| 最新日韩在线视频| 91亚洲资源网| 午夜婷婷国产麻豆精品| 这里是久久伊人| 韩国毛片一区二区三区| 久久一夜天堂av一区二区三区| 国产一区二区三区最好精华液 | 欧美一区二区三级| 国产美女久久久久| 亚洲免费观看在线视频| 欧美亚洲国产一区二区三区| 日韩中文字幕一区二区三区| 欧美一级久久久久久久大片| 久久99久久久久| 国产日韩欧美高清| 欧美日韩国产综合一区二区三区| 首页欧美精品中文字幕| 欧美激情一二三区| 欧美日本在线一区| av在线不卡免费看| 免费欧美在线视频| 18成人在线观看|