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

Method SetKeypadDelay

src/pkgDm/Dm2Java.java:903–905  ·  view source on GitHub ↗

设置按键时,键盘按下和弹起的时间间隔。高级用户使用。某些窗口可能需要调整这个参数才可以正常按键。 注 : 此函数影响的接口有KeyPress @param type 键盘类型,取值有以下 "normal" : 对应normal键盘 默认内部延时为30ms "windows": 对应windows 键盘 默认内部延时为10ms "dx" : 对应dx 键盘 默认内部延时为50ms @param delay 延时,单位是毫秒 @return 0: 失败 1:成功

(String type,int delay)

Source from the content-addressed store, hash-verified

901 * @return 0: 失败 1:成功
902 */
903 public int SetKeypadDelay(String type,int delay){
904 return Dispatch.call(dm,"SetKeypadDelay",type,delay).getInt();
905 }
906
907 /**
908 * 设置鼠标单击或者双击时,鼠标按下和弹起的时间间隔。高级用户使用。某些窗口可能需要调整这个参数才可以正常点击。<br/>

Callers

nothing calls this directly

Calls 2

callMethod · 0.95
getIntMethod · 0.45

Tested by

no test coverage detected