MCPcopy Create free account
hub / github.com/HelloBush/Java_MHXYdemo / WaitKey

Method WaitKey

src/pkgDm/Dm2Java.java:927–929  ·  view source on GitHub ↗

等待指定的按键按下 (前台,不是后台) @param vk_code 虚拟按键码 @param time_out 等待多久,单位毫秒. 如果是0,表示一直等待 @return 0:超时 1:指定的按键按下

(int vk_code,int time_out)

Source from the content-addressed store, hash-verified

925 * @return 0:超时 1:指定的按键按下
926 */
927 public int WaitKey(int vk_code,int time_out){
928 return Dispatch.call(dm,"WaitKey",vk_code,time_out).getInt();
929 }
930
931 /**
932 * 滚轮向下滚

Callers

nothing calls this directly

Calls 2

callMethod · 0.95
getIntMethod · 0.45

Tested by

no test coverage detected