mirror of https://github.com/nirenjan/libx52.git
The configuration processing works as follows - the configuration parameters are set in memory, and an apply function applies all the changes directly to the device. While this works during startup and reload, it adds a needless overhead when processing config set commands from the command socket. This change makes it such that a `config set` command would update the configuration for that particular key, and then immediately call the callback function for that key. This has the effect that individual configuration changes are visible immediately, without having to reapply every other configuration that hasn't changed. This commit also removes the `config apply` command, since it is no longer needed. The `config load` and `config reload` already handle applying the configuration after reading it. |
||
---|---|---|
.. | ||
Makefile.am | ||
daemon.dox | ||
protocol.dox | ||
x52ctl.c | ||
x52d.conf | ||
x52d.service.in | ||
x52d_clock.c | ||
x52d_clock.h | ||
x52d_comm_client.c | ||
x52d_comm_internal.c | ||
x52d_command.c | ||
x52d_command.h | ||
x52d_config.c | ||
x52d_config.def | ||
x52d_config.h | ||
x52d_config_dump.c | ||
x52d_config_parser.c | ||
x52d_const.h | ||
x52d_device.c | ||
x52d_device.h | ||
x52d_io.c | ||
x52d_io.h | ||
x52d_led.c | ||
x52d_main.c | ||
x52d_mouse.c | ||
x52d_mouse.h | ||
x52d_mouse_evdev.c | ||
x52dcomm-internal.h | ||
x52dcomm.h |