久久久久久久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. 檢測模擬鍵盤/鼠標輸入

        Detecting simulated keyboard/mouse input(檢測模擬鍵盤/鼠標輸入)

            <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. 本文介紹了檢測模擬鍵盤/鼠標輸入的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                  問題描述

                  有沒有辦法檢測 Windows 上的模擬鍵盤/鼠標輸入.例如,用戶在他的鍵盤上輸入一些東西,而不是 sendKeys/PostMessage/屏幕鍵盤.有沒有辦法區分這兩者?

                  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?

                  也許一個例子會有所幫助.我正在制作游戲并想區分真實輸入與 WinAPI 合成鍵盤/鼠標消息.

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

                  推薦答案

                  我可能錯了,但屏幕鍵盤(和其他模擬用戶輸入的應用程序)很可能使用 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 在輸入堆棧的底層運行.它只是鍵盤和鼠標驅動程序用來告訴窗口管理器用戶生成輸入的相同輸入機制的后門.來源: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

                  因此可能無法判斷輸入是否來自真實"鍵盤.

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

                  這篇關于檢測模擬鍵盤/鼠標輸入的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

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

                  相關文檔推薦

                  In what ways do C++ exceptions slow down code when there are no exceptions thown?(當沒有異常時,C++ 異常會以何種方式減慢代碼速度?)
                  Why catch an exception as reference-to-const?(為什么要捕獲異常作為對 const 的引用?)
                  When and how should I use exception handling?(我應該何時以及如何使用異常處理?)
                  Scope of exception object in C++(C++中異常對象的范圍)
                  Catching exceptions from a constructor#39;s initializer list(從構造函數的初始化列表中捕獲異常)
                  Difference between C++03 throw() specifier C++11 noexcept(C++03 throw() 說明符 C++11 noexcept 之間的區別)
                    <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>

                            主站蜘蛛池模板: 国产精品五区 | 97在线超碰 | 成人三级视频在线观看 | 性爱视频日本 | 日韩黄色片 | 天天视频黄 | 色婷婷中文字幕 | 中文字幕欧美激情 | 国产一区免费 | 成人羞羞国产免费动态 | 国产综合亚洲精品一区二 | 国内精品一区二区三区 | 黄色网址在线视频 | 91看片在线观看 | 精品欧美黑人一区二区三区 | 中文字幕日韩一区 | 欧美日韩亚洲一区二区 | 精品国产乱码久久久久久蜜柚 | 深夜免费福利 | 亚洲一区视频 | 黄色成人小视频 | 三级黄色在线观看 | 亚洲精品不卡 | 精品国产一区二区三 | 99国产精品99久久久久久粉嫩 | 国产一区精品视频 | 97人人看| 高清视频一区二区 | 日韩av免费看 | 亚洲黄色三级 | www欧美| 深夜福利网站 | 国产精品一区二区三区免费 | 黄色av观看 | 五月婷婷六月天 | 在线观看免费黄色 | 黄色片aaa| 国产精品无遮挡 | 黄色大片av| 亚洲视频精品 | 日本精品视频在线观看 |