Commit Graph

11 Commits

Author SHA1 Message Date
vcaesar
36f129375f Update: update gomod and bump CI 2023-08-18 10:31:18 -07:00
vcaesar
3e0ac28943 Update keycode.go use the newest code 2021-11-23 16:19:46 -04:00
vcaesar
384f5adf97 Update go mod and version 2021-09-26 15:09:05 -04:00
vcaesar
05ca764c42 update go mod and appveyor.yml 2020-11-16 11:27:15 -04:00
vcaesar
f76284ab75 update go mod and CI 2020-10-06 11:23:16 -04:00
vcaesar
419a0340b3 update version and gomod pkg 2020-05-20 10:55:32 -04:00
vcaesar
b931a62015 add hook test code support 2020-02-22 12:09:45 -04:00
vcaesar
9a38284fc4 update go mod file 2019-10-26 13:05:46 -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
f842bde289 add go mod support 2018-11-29 11:59:32 -04:00