Robotgo v0.80.0 发布, 增加异步事件和多组合键监听 hook 支持

栏目: 软件资讯 · 发布时间: 5年前

内容简介:Robotgo v0.80.0 发布了,Golang 跨平台控制鼠标、键盘、位图、屏幕、窗口句柄以及全局事件监听。 项目地址: https://github.com/go-vgo/robotgo 示例: fmt.Println("--- Please press ctrl + shift + q ---") ...

Robotgo v0.80.0 发布了,Golang 跨平台控制鼠标、键盘、位图、屏幕、窗口句柄以及全局事件监听。

项目地址: https://github.com/go-vgo/robotgo

示例:

fmt.Println("--- Please press ctrl + shift + q ---")
ok := robotgo.AddEvents("q", "ctrl", "shift")
if ok {
    fmt.Println("add events...")
}

Sierra Nevada

Add

  • [NEW] Add asynchronous event support
  • [NEW] Add multiple keypress event listener support
  • [NEW] Add hook start and end func
  • [NEW] Add AddEvents, AddMouse, AddMousePos hook function
  • [NEW] Add mul() scale func and optimize code
  • [NEW] Refactor AddEvent() func and add keycode.go, update example
  • [NEW] Add mouse map keycode
  • [NEW] Add android null file
  • [NEW] Add AddEvent "center" support
  • [NEW] Update README.md, Add binding link

<br/>

  • [NEW] Format README.md and docs markdown
  • [NEW] Update bitmap_save return code
  • [NEW] Optimize code not defer and remove useless code
  • [NEW] Update code style and godoc
  • [NEW] Update go mod vendor
  • [NEW] Add more event examples
  • [NEW] add AddEvents ,AddMouse, AddMousePos examples code

Update

  • [NEW] Update event example code add print hint
  • [NEW] Update godoc
  • [NEW] Update CHANGELOG.md
  • [NEW] Update .gitignore
  • [NEW] Update code style and examples
  • [NEW] Update pkg to newest
  • [NEW] Update CI add go1.12.x support
  • [NEW] Move GetText() func code

Fix

  • [FIX] Add AddEvents func, Fixed #98, #61, #69...
  • [FIX] Add asynchronous event support, Fixed #196, #89...
  • [FIX] add AddMouse func, Fixed #138
  • [FIX] Update _Ctype_char to C.char, Fixed go1.12 build error #191
  • [FIX] Update hook, Fixed #195 warning and json break bug
  • [FIX] Fixed color picker, Update README.md and docs

See Commits for more details, after Jan 7.


以上就是本文的全部内容,希望本文的内容对大家的学习或者工作能带来一定的帮助,也希望大家多多支持 码农网

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

网页设计创意书(卷2)

网页设计创意书(卷2)

麦克尼尔 / 图灵编辑部 / 人民邮电 / 2012-1 / 49.00元

《网页设计创意书(卷2)》是《网页设计创意书》的卷2,但并非其简单补充,而是作者基于近几年网站发展新趋势的再创作。《网页设计创意书(卷2)》先讲解了如何从他人的优秀设计中寻找灵感,接着阐述了重点、对比、平衡、对齐等网站设计的基本原则,然后将网站按类型、设计元素、风格和主题、结构样式和结构元素分类,并分章介绍了每一类的设计技巧。《网页设计创意书(卷2)》语言简练,结合作者精挑细选的网站实例,通俗易懂......一起来看看 《网页设计创意书(卷2)》 这本书的介绍吧!

RGB转16进制工具
RGB转16进制工具

RGB HEX 互转工具

HTML 编码/解码
HTML 编码/解码

HTML 编码/解码

HSV CMYK 转换工具
HSV CMYK 转换工具

HSV CMYK互换工具