caue
6c9e89be03
fixed segfault when starting and stoping the event hook too quickly, it was a data race
2020-03-30 02:24:38 -03:00
htmk
a466e0bad6
WIP adding better support for conversion between Scancodes and Keychars
...
added table, will add rest of support soon(tm)
2019-02-10 16:24:05 -02:00
htmk
7412190046
Changed constants, keychar type and test function
...
now Keychar is a rune, so it can be used as a regular character.
2019-02-10 11:58:48 -02:00
htmk
e52a5e1e9e
Probably final touches
...
i swear this time
2019-02-09 01:37:04 -02:00
htmk
cf7d9111a1
General cleanup
2019-02-08 20:33:05 -02:00
htmk
11eee3201f
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
2019-02-08 20:26:02 -02:00
htmk
e5d15765a1
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?
2019-02-08 14:39:24 -02:00