Commit Graph

28 Commits

Author SHA1 Message Date
vcaesar
4f8581a884 update godoc and example 2020-12-02 13:01:20 -04:00
vcaesar
b3a746d8c4 update parameter name and version 2020-10-08 11:09:37 -04:00
vcaesar
d6d3b4663e Fixed all pressed return bug 2020-10-06 11:24:07 -04:00
vcaesar
80a5bf3c7e update and optimize hook code 2020-08-09 08:38:35 -04:00
vcaesar
e29fdb45c2 Update End() function, Fixed close chan too fast 2020-05-31 10:11:43 -04:00
vcaesar
419a0340b3 update version and gomod pkg 2020-05-20 10:55:32 -04:00
vcaesar
185bc1badc update version and godoc 2020-05-19 11:28:03 -04:00
vcaesar
d6bffe47f1 add modern and concurrent API, merged #10 2020-05-19 11:11:40 -04:00
vcaesar
aaa2000ed9 update cgo code and version 2019-11-13 12:37:29 -04:00
vcaesar
99f27f122a update godoc 2019-10-29 12:45:28 -04:00
vcaesar
d3470a865a add get gohook version code 2019-08-27 12:51:46 -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
4e658a4406 update rotation to int32 Fixed sometimes json.Unmarshal break 2019-02-27 09:59:41 -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
b5ca357c14 refactor code, fixed bug and api 2019-02-20 11:07:25 -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
40c3386427 gofmt code 2018-09-17 14:17:14 -04:00
vcaesar
863b0f27c4 Update README.md and add head hint 2018-09-17 14:09:59 -04:00
vcaesar
76d1c8b4cd remove windows clink 2018-09-17 13:30:41 -04:00
vcaesar
7e281e833f add ci support 2018-09-16 20:17:40 -04:00
vcaesar
3dccbf0083 Update README.md and fixed clink 2018-09-16 19:43:30 -04:00
vcaesar
b0df75125b add hook go support 2018-09-16 19:29:13 -04:00
vCaesar
16089b2aa9 Initial commit 2017-02-06 16:55:01 +08:00