LOG_INPUT
if (input->flags & LOG_INPUT)
params[i].value = !!(input->flags & LOG_INPUT);
input->flags |= LOG_INPUT;
input->flags &= ~LOG_INPUT;