久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

<tfoot id='DC7sa'></tfoot>
          <bdo id='DC7sa'></bdo><ul id='DC7sa'></ul>
      1. <legend id='DC7sa'><style id='DC7sa'><dir id='DC7sa'><q id='DC7sa'></q></dir></style></legend>
        <i id='DC7sa'><tr id='DC7sa'><dt id='DC7sa'><q id='DC7sa'><span id='DC7sa'><b id='DC7sa'><form id='DC7sa'><ins id='DC7sa'></ins><ul id='DC7sa'></ul><sub id='DC7sa'></sub></form><legend id='DC7sa'></legend><bdo id='DC7sa'><pre id='DC7sa'><center id='DC7sa'></center></pre></bdo></b><th id='DC7sa'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='DC7sa'><tfoot id='DC7sa'></tfoot><dl id='DC7sa'><fieldset id='DC7sa'></fieldset></dl></div>

        <small id='DC7sa'></small><noframes id='DC7sa'>

      2. 檢測(cè)模擬鍵盤/鼠標(biāo)輸入

        Detecting simulated keyboard/mouse input(檢測(cè)模擬鍵盤/鼠標(biāo)輸入)

            <tbody id='YQecQ'></tbody>

              <bdo id='YQecQ'></bdo><ul id='YQecQ'></ul>
              <tfoot id='YQecQ'></tfoot>

                <i id='YQecQ'><tr id='YQecQ'><dt id='YQecQ'><q id='YQecQ'><span id='YQecQ'><b id='YQecQ'><form id='YQecQ'><ins id='YQecQ'></ins><ul id='YQecQ'></ul><sub id='YQecQ'></sub></form><legend id='YQecQ'></legend><bdo id='YQecQ'><pre id='YQecQ'><center id='YQecQ'></center></pre></bdo></b><th id='YQecQ'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='YQecQ'><tfoot id='YQecQ'></tfoot><dl id='YQecQ'><fieldset id='YQecQ'></fieldset></dl></div>
                  <legend id='YQecQ'><style id='YQecQ'><dir id='YQecQ'><q id='YQecQ'></q></dir></style></legend>

                  <small id='YQecQ'></small><noframes id='YQecQ'>

                1. 本文介紹了檢測(cè)模擬鍵盤/鼠標(biāo)輸入的處理方法,對(duì)大家解決問(wèn)題具有一定的參考價(jià)值,需要的朋友們下面隨著小編來(lái)一起學(xué)習(xí)吧!

                  問(wèn)題描述

                  有沒(méi)有辦法檢測(cè) Windows 上的模擬鍵盤/鼠標(biāo)輸入.例如,用戶在他的鍵盤上輸入一些東西,而不是 sendKeys/PostMessage/屏幕鍵盤.有沒(méi)有辦法區(qū)分這兩者?

                  Is there a way to detect simulated keyboard/mouse input on Windows. For example, a user types something on his keyboard vs sendKeys/PostMessage/On-screen keyboard. Is there a way that I can distinguish between the two?

                  也許一個(gè)例子會(huì)有所幫助.我正在制作游戲并想?yún)^(qū)分真實(shí)輸入與 WinAPI 合成鍵盤/鼠標(biāo)消息.

                  Perhaps an example would help. I am making a game and want to distinguish between real input vs WinAPI synthesizing keyboard/mouse messages.

                  推薦答案

                  我可能錯(cuò)了,但屏幕鍵盤(和其他模擬用戶輸入的應(yīng)用程序)很可能使用 SendInput API:

                  I might be wrong, but the on-screen keyboard (and other applications that simulate user input) most probably uses the SendInput API:

                  SendInput 在輸入堆棧的底層運(yùn)行.它只是鍵盤和鼠標(biāo)驅(qū)動(dòng)程序用來(lái)告訴窗口管理器用戶生成輸入的相同輸入機(jī)制的后門.來(lái)源:http://blogs.msdn.com/b/oldnewthing/archive/2010/12/21/10107494.aspx

                  SendInput operates at the bottom level of the input stack. It is just a backdoor into the same input mechanism that the keyboard and mouse drivers use to tell the window manager that the user has generated input. Source: http://blogs.msdn.com/b/oldnewthing/archive/2010/12/21/10107494.aspx

                  因此可能無(wú)法判斷輸入是否來(lái)自真實(shí)"鍵盤.

                  So there is probably no way to tell whether the input is coming from a "real" keyboard or not.

                  這篇關(guān)于檢測(cè)模擬鍵盤/鼠標(biāo)輸入的文章就介紹到這了,希望我們推薦的答案對(duì)大家有所幫助,也希望大家多多支持html5模板網(wǎng)!

                  【網(wǎng)站聲明】本站部分內(nèi)容來(lái)源于互聯(lián)網(wǎng),旨在幫助大家更快的解決問(wèn)題,如果有圖片或者內(nèi)容侵犯了您的權(quán)益,請(qǐng)聯(lián)系我們刪除處理,感謝您的支持!

                  相關(guān)文檔推薦

                  In what ways do C++ exceptions slow down code when there are no exceptions thown?(當(dāng)沒(méi)有異常時(shí),C++ 異常會(huì)以何種方式減慢代碼速度?)
                  Why catch an exception as reference-to-const?(為什么要捕獲異常作為對(duì) const 的引用?)
                  When and how should I use exception handling?(我應(yīng)該何時(shí)以及如何使用異常處理?)
                  Scope of exception object in C++(C++中異常對(duì)象的范圍)
                  Catching exceptions from a constructor#39;s initializer list(從構(gòu)造函數(shù)的初始化列表中捕獲異常)
                  Difference between C++03 throw() specifier C++11 noexcept(C++03 throw() 說(shuō)明符 C++11 noexcept 之間的區(qū)別)
                    <bdo id='pnAwN'></bdo><ul id='pnAwN'></ul>

                      1. <i id='pnAwN'><tr id='pnAwN'><dt id='pnAwN'><q id='pnAwN'><span id='pnAwN'><b id='pnAwN'><form id='pnAwN'><ins id='pnAwN'></ins><ul id='pnAwN'></ul><sub id='pnAwN'></sub></form><legend id='pnAwN'></legend><bdo id='pnAwN'><pre id='pnAwN'><center id='pnAwN'></center></pre></bdo></b><th id='pnAwN'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='pnAwN'><tfoot id='pnAwN'></tfoot><dl id='pnAwN'><fieldset id='pnAwN'></fieldset></dl></div>
                        <legend id='pnAwN'><style id='pnAwN'><dir id='pnAwN'><q id='pnAwN'></q></dir></style></legend>
                        • <small id='pnAwN'></small><noframes id='pnAwN'>

                          <tfoot id='pnAwN'></tfoot>
                              <tbody id='pnAwN'></tbody>

                            主站蜘蛛池模板: 国产99久久精品 | 一级看片免费视频囗交动图 | 日本一区二区高清视频 | 亚州精品天堂中文字幕 | 成人免费视频网站在线看 | 一级黄色夫妻生活 | 91视频网址| 毛片区| 久久国产精品视频观看 | 欧美成年网站 | 国产91在线播放 | 国产日韩精品在线 | 欧美一区二区三区的 | 亚洲精品乱码久久久久久蜜桃 | 一区二区三区四区视频 | 午夜精品一区二区三区免费视频 | 亚洲国产成人av好男人在线观看 | 超碰精品在线观看 | 欧美久久一区二区三区 | 亚洲成人av | 亚洲欧美一区二区三区在线 | 色综合色综合色综合 | 啪视频在线| 成人免费视频网站在线看 | 户外露出一区二区三区 | 久久精品一 | 国产一区二区三区视频免费观看 | 久久久国产视频 | 一区二区三区四区在线视频 | 黑人成人网 | 国产高清不卡 | 丝袜 亚洲 另类 欧美 综合 | 九九九精品视频 | 久久精品久久久久久 | 国产精品a久久久久 | 天天干天天色 | 一区二区三区免费网站 | 北条麻妃一区二区三区在线观看 | 一区二区三区在线播放视频 | 久草网站 | 99久久精品免费看国产四区 |