[ohm] monitoring INPUT state

Richard Hughes hughsient at gmail.com
Fri Jun 29 08:31:12 PDT 2007


On Fri, 2007-06-29 at 17:20 +0200, Nils Faerber wrote:
> Question that comes to my mind here is would we end up with two idle
> modules or one generic idle module with additional "idle source"
> plugins?
> I would actually prefer the first in order not to duplicate code.

TBH, the xorg idle plugin doesn't share hardly any code with the INPUT
plugin, apart from the standard boilerplate stuff. You can just choose
one in /etc/ohm/modules.ini and then that will be used everytime.

I don't think having lots of plugins is a problem, indeed, I think it's
quite a good thing being able to pick and choose for a specific device.

Richard.

p.s. all the general code is in git. review welcomed. :-)



More information about the Ohm-devel mailing list