Skip to content

Commit

Permalink
Updated todo
Browse files Browse the repository at this point in the history
  • Loading branch information
FedeDP committed May 18, 2017
1 parent 6415628 commit 7018ef7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TODO.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## 0.13
## 0.14
- [ ] add a backlight dimmer module (http://stackoverflow.com/questions/15472585/track-keyboard-and-mouse-events-in-c-on-linux); i'd use inotify on /dev/input/*; at every notification from it, it means user has moved mouse/used keyboard. In conjunction with a timerfd of conf.dimmer_timeout. When conf.dimmer_timeout is reached, dim screen and at next inotify notification leave dimmed state.
sudo inotifywait -t 5 -e access -m /dev/input/* . It seems inotify requires root access. Put this code in clightd: clightd will send a signal when conf.dimmer_timeout is reached.
-> clight client calls a method like "setdimmer_timeout" passing a timeout, on clightd.
Expand Down

0 comments on commit 7018ef7

Please sign in to comment.