Commit Graph

16 Commits

Author SHA1 Message Date
vcaesar
e6086cbf68 update code style 2020-06-29 11:50:14 -04:00
vcaesar
ac6a9e969d update code style 2020-06-29 11:37:12 -04:00
vcaesar
ef93345f66 update code style 2020-06-29 00:09:10 -04:00
vcaesar
80d080b140 update code style 2020-06-28 23:53:06 -04:00
vcaesar
caaa106d80 add capslock key support when darwin 2020-02-24 11:49:40 -04:00
vcaesar
031ea6b811 fixed event windows timestamp error 2020-02-23 11:10:55 -04:00
vcaesar
98eb507a75 Update some logger code, use warn not error 2019-12-08 15:57:06 -04:00
vcaesar
783846adc9 Fixed #3 mouse is_drag error on x11 2019-04-13 13:25:26 -04:00
vcaesar
4e658a4406 update rotation to int32 Fixed sometimes json.Unmarshal break 2019-02-27 09:59:41 -04:00
vcaesar
a2f711c144 update code style 2019-02-21 08:57:48 -04:00
vcaesar
3f023c292f optimize darwin check accessibility not loop 2019-02-19 11:47:56 -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
602a6294ff update code style 2018-11-12 16:39:16 -04:00
vcaesar
863b0f27c4 Update README.md and add head hint 2018-09-17 14:09:59 -04:00
vcaesar
b0df75125b add hook go support 2018-09-16 19:29:13 -04:00
vcaesar
2cc3a5d7ce Update README.md and move code 2018-09-04 15:25:08 -04:00