e7d69154e0
template it keymap
2020-05-02 21:58:41 +02:00
cdfed84d5e
redundant message on no devices
2020-05-02 16:04:02 +02:00
3c9bbe4140
execvp
2020-04-26 17:31:06 +02:00
1fb0a4c6fa
testing parsing a simple conf file
2020-04-26 01:04:55 +02:00
038e312941
explicit pointer conversion
...
god I hate linter warnings
2020-04-25 23:14:15 +02:00
e9f80e8200
first readme
2020-04-25 23:10:47 +02:00
d71e2c98e1
use execv()
...
using execv() instead of execl() allows to more simply run a command
with arguments
2020-04-25 23:03:02 +02:00
8292e4df75
rename project
2020-04-25 18:16:52 +02:00
6bd7d36bfc
renamed project to hkd
2020-04-25 18:15:37 +02:00
7abb0a3c23
added as reference
2020-04-25 11:24:34 +02:00
296bd3fb79
indented cases and others
2020-04-25 11:24:18 +02:00
8d890b9e9e
coloured output
2020-04-24 16:53:34 +02:00
88308249bf
clarified const string
...
cahnged const char *ev_root to const char *evdev_root_dir
to clarufy the role of the variable
2020-04-24 16:40:22 +02:00
c0400929e4
moved dir scan logic to function
...
moved the logic behind choosing the right file desciptors into a
function allowing for later dynamic update
2020-04-23 23:14:41 +02:00
76dd08c465
added debug compilations
2020-04-23 23:13:17 +02:00
636bfe7a5e
reformat and better naming
2020-04-23 22:17:38 +02:00
58c01fb9d1
generalized die()
...
using fprintf() instead of fputs() to allow string concatenation, die()
now requires a error message which can be NULL and a error message which
will be passed to strerror(), this ensures that errno is fresh when we
use it
2020-04-23 19:25:16 +02:00
58aceac802
justified exit condition
2020-04-23 18:59:14 +02:00
922090060f
use switch for fork()
...
save two local variables and improve readability by a bit
2020-04-23 18:56:54 +02:00
45c52ecf20
removed trailing spaces
2020-04-23 17:01:28 +02:00
80bacaf775
wait before exit
2020-04-22 17:09:10 +02:00
678fef9358
fixed various bugs
2020-04-20 15:43:19 +02:00
e0a64d75c7
added test folder
2020-04-20 15:42:32 +02:00
f8b8f423f9
filter devices
...
only use devices that can give key events, this should lead to fewer
devices in the poll list and therefore boost performance a bit
2020-04-20 13:25:00 +02:00
9df5f5f8de
created makefile
2020-04-18 14:01:53 +02:00
352bd1f838
ignoring make products
2020-04-18 14:01:26 +02:00
b9bc3138d0
testing command execution
2020-04-18 13:54:20 +02:00
56024c6a4e
use epoll instead of poll on linux
2020-04-15 02:14:51 +02:00
1b017733cb
comments
2020-04-15 01:27:16 +02:00
1f007ab92e
implemented polling for multiple events
...
changelog:
* fixed small (1B) memory leak in pressBufferAdd
* fixed bug where SIGINT would not cause shut down
* implemented polling for every event inside /dev/input
* added more TODOs
2020-04-14 22:04:48 +02:00
59f8dd9842
before push
2020-04-14 19:32:36 +02:00
558d0360f9
removed gitignore trash
2020-04-14 01:32:59 +02:00
cca522c197
multi event handling prototype
2020-04-14 01:31:00 +02:00
4f3a2daddf
changed fopen to open
2020-04-13 23:53:19 +02:00
9ee3410975
first working prototype
2020-04-13 23:29:21 +02:00