Commit Graph

18 Commits

Author SHA1 Message Date
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