Commit Graph

13 Commits

Author SHA1 Message Date
vcaesar
a945300efa Update README.md 2020-05-29 10:24:17 -04:00
vcaesar
0fa5a96dfe Update README.md 2020-05-28 10:31:52 -04:00
vcaesar
d7a0e66e8b Update README.md, Add more CI badge 2019-12-07 14:27:27 -04:00
vcaesar
ec680ecf20 update example and readme code 2019-07-28 14:12:01 -04:00
vcaesar
9fa8b6c408 add example and update code style 2019-02-19 11:32:48 -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
da6e29a777 Update README.md 2018-09-17 14:15:40 -04:00
vcaesar
863b0f27c4 Update README.md and add head hint 2018-09-17 14:09:59 -04:00
vcaesar
3dccbf0083 Update README.md and fixed clink 2018-09-16 19:43:30 -04:00
vcaesar
2cc3a5d7ce Update README.md and move code 2018-09-04 15:25:08 -04:00
vCaesar
16089b2aa9 Initial commit 2017-02-06 16:55:01 +08:00
vz
1f132399dd Initial commit 2017-01-21 16:52:05 +08:00