Commit Graph

69 Commits

Author SHA1 Message Date
vcaesar
edd69ace64 update appveyor.yml fixed test 2020-02-22 12:14:30 -04:00
vcaesar
e15669d530 update circle.yml 2020-02-22 12:11:56 -04:00
vcaesar
b931a62015 add hook test code support 2020-02-22 12:09:45 -04:00
vcaesar
6c89eeae62 update appveyor to go1.13.8 2020-02-21 10:54:59 -04:00
vcaesar
aea663e2b5 update appveyor to go1.13.7 2020-02-05 10:39:57 -04:00
vcaesar
5bfaedadd9 update appveyor to go1.13.6 2020-01-11 11:26:47 -04:00
vcaesar
172f0885e3 update and fmt circle.yml 2019-12-12 13:23:25 -04:00
vcaesar
ad571b9a4f update and fmt appveyor.yml 2019-12-12 13:22:24 -04:00
vcaesar
98eb507a75 Update some logger code, use warn not error 2019-12-08 15:57:06 -04:00
vcaesar
d7a0e66e8b Update README.md, Add more CI badge 2019-12-07 14:27:27 -04:00
vcaesar
2c5f9b09f6 Update go.yml 2019-12-06 13:10:05 -04:00
vcaesar
123f5daf1c Update appveyor to go1.13.5 2019-12-06 13:09:43 -04:00
vz
59172123c9
Create go.yml 2019-11-28 12:38:02 -04:00
vcaesar
aaa2000ed9 update cgo code and version 2019-11-13 12:37:29 -04:00
vcaesar
6d41a8bfec update appveyor to go1.13.4 2019-11-01 13:42:55 -04:00
vcaesar
5ca3c35c1c update hook example 2019-10-31 11:08:50 -04:00
vcaesar
99f27f122a update godoc 2019-10-29 12:45:28 -04:00
vcaesar
9a38284fc4 update go mod file 2019-10-26 13:05:46 -04:00
vcaesar
a745895ba8 update appveyor to go1.13.3 2019-10-18 10:10:01 -04:00
vcaesar
4f5b3ead12 update go hook example docs 2019-10-10 13:11:32 -04:00
vcaesar
221bcb3991 update appveyor go version 2019-09-27 13:09:41 -04:00
vcaesar
5bea7a10cc update appveyor to go1.13 2019-09-05 13:43:53 -04:00
vcaesar
d3470a865a add get gohook version code 2019-08-27 12:51:46 -04:00
vcaesar
24fd05492e update appveyor to go1.12.9 2019-08-16 10:13:36 -04:00
vcaesar
ec680ecf20 update example and readme code 2019-07-28 14:12:01 -04:00
vcaesar
97c6ba2890 update appveyor to go1.12.7 2019-07-10 12:07:08 -04:00
vcaesar
33863b3401 update go send json.Unmarshal error log 2019-06-22 12:58:07 -04:00
vcaesar
ac371ff7cb update appveyor to go1.12.6 2019-06-12 12:50:48 -04:00
vcaesar
c6f3965b54 update appveyor to go1.12.5 2019-05-21 11:34:43 -04:00
vcaesar
39135b21e4 update appveyor to go1.12.4 2019-04-14 13:10:59 -04:00
vcaesar
5b9ae1915c update .gitignore 2019-04-13 13:26:57 -04:00
vcaesar
783846adc9 Fixed #3 mouse is_drag error on x11 2019-04-13 13:25:26 -04:00
vcaesar
a7a3894671 update code and CI 2019-03-18 13:26:28 -04:00
vcaesar
bc414970f3 Add lock, Fixed fatal error: concurrent map writes 2019-03-15 13:45:47 -04:00
vcaesar
bbbbefb5ff add center mouse and update code style 2019-03-05 15:29:54 -04:00
vcaesar
9bf349ed0b update appveyor to go1.12 2019-02-27 10:34:24 -04:00
vcaesar
4e658a4406 update rotation to int32 Fixed sometimes json.Unmarshal break 2019-02-27 09:59:41 -04:00
vcaesar
ab3379003d Fixed run code in mac warning 2019-02-24 09:19:44 -04:00
vcaesar
8d5c932532 fixed c99 func and update code style 2019-02-21 09:10:31 -04:00
vcaesar
a2f711c144 update code style 2019-02-21 08:57:48 -04:00
vcaesar
2a4d6bbf54 rename add() func to add_hook() 2019-02-21 08:29:22 -04:00
vcaesar
b5ca357c14 refactor code, fixed bug and api 2019-02-20 11:07:25 -04:00
vcaesar
3f023c292f optimize darwin check accessibility not loop 2019-02-19 11:47:56 -04:00
vcaesar
9fa8b6c408 add example and update code style 2019-02-19 11:32:48 -04:00
vcaesar
1da30b1d41 update code use c99 and update code style 2019-02-19 11:03:09 -04:00
vcaesar
fe1bbb57e6 update godoc and code style 2019-02-19 10:47:03 -04:00
vcaesar
43543e0cff replace all import and gofmt code 2019-02-19 10:34:55 -04:00
Cauê Felchar
f0ddfd620c Made the library Asyncronous (#2)
* Part 1 of supporting async events

made the dispatch process send events via json through a channel (the c kind), made another function that receives it and sends it trough another channel (the go kind)

todo: remove usage of function-local data trough channel
todo:find error that is causing the c channel to fill up?

* Part 2 of making the lib async

 - New event struct mimiking C structs
 - changed c channel library to eb_chan
 - changed API to something more palatable

* General cleanup

* updated go.mod

oopsie

* Probably final touches

i swear this time

* Changed constants, keychar type and test function

now Keychar is a rune, so it can be used as a regular character.

* WIP adding better support for conversion between Scancodes and Keychars

added table, will add rest of support soon(tm)

* finished conversion table

* Satisfied stringer interface for easier debug and logging, returned old function

what the title says

* Satisfied stringer interface for easier debug and logging, returned old function

what the title says

* forgot to import unsafe
2019-02-19 10:31:25 -04:00
vcaesar
e36d1aac6c update appveyor to go1.11.4 2018-12-15 13:33:18 -04:00
vcaesar
f842bde289 add go mod support 2018-11-29 11:59:32 -04:00